diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 16bc31e02a..515a5d0954 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -13373,93 +13373,6 @@ } } }, - "/orgs/{org}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for organization members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nOrganization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -22308,96 +22221,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for a team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -39333,7 +39156,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], @@ -78526,6 +78349,99 @@ } } }, + "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.\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 type was added to an issue.", + "operationId": "issues/typed", + "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-typed" + } + } + } + }, + "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-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.\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.", @@ -78898,6 +78814,99 @@ } } }, + "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.\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 type was removed from an issue.", + "operationId": "issues/untyped", + "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-untyped" + } + } + } + }, + "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" + ] + } + } + }, "label-created": { "post": { "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", @@ -104334,95 +104343,6 @@ ], "additionalProperties": true }, - "copilot-usage-metrics": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -176301,6 +176221,46 @@ "sender" ] }, + "webhook-issues-typed": { + "title": "issues typed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "typed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "type": { + "$ref": "#/components/schemas/issue-type" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "type", + "repository", + "sender" + ] + }, "webhook-issues-unassigned": { "title": "issues unassigned event", "type": "object", @@ -177664,6 +177624,46 @@ "sender" ] }, + "webhook-issues-untyped": { + "title": "issues untyped event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "untyped" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "type": { + "$ref": "#/components/schemas/issue-type" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "type", + "repository", + "sender" + ] + }, "webhook-label-created": { "title": "label created event", "type": "object", @@ -274702,90 +274702,6 @@ } ] }, - "copilot-usage-metrics-org": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 0bfd4bb04e..2bd322dd43 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -9791,81 +9791,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/copilot/usage": - get: - summary: Get a summary of Copilot usage for organization members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members - parameters: - - "$ref": "#/components/parameters/org" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -16205,85 +16130,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for a team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -28698,7 +28544,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: @@ -56978,6 +56824,72 @@ x-webhooks: - repository - organization - app + 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. + + 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 + 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-typed" + 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-unassigned: post: summary: |- @@ -57244,6 +57156,72 @@ x-webhooks: - 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: + - 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-untyped" + 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 label-created: post: summary: |- @@ -76331,89 +76309,6 @@ components: required: - date additionalProperties: true - copilot-usage-metrics: - title: Copilot Usage Metrics - description: Summary of Copilot usage. - type: object - properties: - day: - type: string - format: date - description: The date for which the usage metrics are reported, in `YYYY-MM-DD` - format. - total_suggestions_count: - type: integer - description: The total number of Copilot code completion suggestions shown - to users. - total_acceptances_count: - type: integer - description: The total number of Copilot code completion suggestions accepted - by users. - total_lines_suggested: - type: integer - description: The total number of lines of code completions suggested by - Copilot. - total_lines_accepted: - type: integer - description: The total number of lines of code completions accepted by users. - total_active_users: - type: integer - description: The total number of users who were shown Copilot code completion - suggestions during the day specified. - total_chat_acceptances: - type: integer - description: The total instances of users who accepted code suggested by - Copilot Chat in the IDE (panel and inline). - total_chat_turns: - type: integer - description: The total number of chat turns (prompt and response pairs) - sent between users and Copilot Chat in the IDE. - total_active_chat_users: - type: integer - description: The total number of users who interacted with Copilot Chat - in the IDE during the day specified. - breakdown: - type: array - description: Breakdown of Copilot code completions usage by language and - editor - nullable: true - items: - type: object - description: Breakdown of Copilot usage by editor for this language - additionalProperties: true - properties: - language: - type: string - description: The language in which Copilot suggestions were shown - to users in the specified editor. - editor: - type: string - description: The editor in which Copilot suggestions were shown to - users for the specified language. - suggestions_count: - type: integer - description: The number of Copilot suggestions shown to users in the - editor specified during the day specified. - acceptances_count: - type: integer - description: The number of Copilot suggestions accepted by users in - the editor specified during the day specified. - lines_suggested: - type: integer - description: The number of lines of code suggested by Copilot in the - editor specified during the day specified. - lines_accepted: - type: integer - description: The number of lines of code accepted by users in the - editor specified during the day specified. - active_users: - type: integer - description: The number of users who were shown Copilot completion - suggestions in the editor specified during the day specified. - required: - - day - - breakdown - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -130690,6 +130585,34 @@ components: - issue - repository - sender + webhook-issues-typed: + title: issues typed event + type: object + properties: + action: + type: string + enum: + - typed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + type: + "$ref": "#/components/schemas/issue-type" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - type + - repository + - sender webhook-issues-unassigned: title: issues unassigned event type: object @@ -131709,6 +131632,34 @@ components: - issue - repository - sender + webhook-issues-untyped: + title: issues untyped event + type: object + properties: + action: + type: string + enum: + - untyped + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + type: + "$ref": "#/components/schemas/issue-type" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - type + - repository + - sender webhook-label-created: title: label created event type: object @@ -206270,70 +206221,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - copilot-usage-metrics-org: - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 16bc31e02a..515a5d0954 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -13373,93 +13373,6 @@ } } }, - "/orgs/{org}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for organization members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nOrganization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -22308,96 +22221,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for a team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -39333,7 +39156,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], @@ -78526,6 +78349,99 @@ } } }, + "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.\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 type was added to an issue.", + "operationId": "issues/typed", + "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-typed" + } + } + } + }, + "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-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.\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.", @@ -78898,6 +78814,99 @@ } } }, + "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.\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 type was removed from an issue.", + "operationId": "issues/untyped", + "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-untyped" + } + } + } + }, + "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" + ] + } + } + }, "label-created": { "post": { "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", @@ -104334,95 +104343,6 @@ ], "additionalProperties": true }, - "copilot-usage-metrics": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -176301,6 +176221,46 @@ "sender" ] }, + "webhook-issues-typed": { + "title": "issues typed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "typed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "type": { + "$ref": "#/components/schemas/issue-type" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "type", + "repository", + "sender" + ] + }, "webhook-issues-unassigned": { "title": "issues unassigned event", "type": "object", @@ -177664,6 +177624,46 @@ "sender" ] }, + "webhook-issues-untyped": { + "title": "issues untyped event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "untyped" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "type": { + "$ref": "#/components/schemas/issue-type" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "type", + "repository", + "sender" + ] + }, "webhook-label-created": { "title": "label created event", "type": "object", @@ -274702,90 +274702,6 @@ } ] }, - "copilot-usage-metrics-org": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 0bfd4bb04e..2bd322dd43 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -9791,81 +9791,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/copilot/usage": - get: - summary: Get a summary of Copilot usage for organization members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members - parameters: - - "$ref": "#/components/parameters/org" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -16205,85 +16130,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for a team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -28698,7 +28544,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: @@ -56978,6 +56824,72 @@ x-webhooks: - repository - organization - app + 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. + + 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 + 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-typed" + 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-unassigned: post: summary: |- @@ -57244,6 +57156,72 @@ x-webhooks: - 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: + - 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-untyped" + 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 label-created: post: summary: |- @@ -76331,89 +76309,6 @@ components: required: - date additionalProperties: true - copilot-usage-metrics: - title: Copilot Usage Metrics - description: Summary of Copilot usage. - type: object - properties: - day: - type: string - format: date - description: The date for which the usage metrics are reported, in `YYYY-MM-DD` - format. - total_suggestions_count: - type: integer - description: The total number of Copilot code completion suggestions shown - to users. - total_acceptances_count: - type: integer - description: The total number of Copilot code completion suggestions accepted - by users. - total_lines_suggested: - type: integer - description: The total number of lines of code completions suggested by - Copilot. - total_lines_accepted: - type: integer - description: The total number of lines of code completions accepted by users. - total_active_users: - type: integer - description: The total number of users who were shown Copilot code completion - suggestions during the day specified. - total_chat_acceptances: - type: integer - description: The total instances of users who accepted code suggested by - Copilot Chat in the IDE (panel and inline). - total_chat_turns: - type: integer - description: The total number of chat turns (prompt and response pairs) - sent between users and Copilot Chat in the IDE. - total_active_chat_users: - type: integer - description: The total number of users who interacted with Copilot Chat - in the IDE during the day specified. - breakdown: - type: array - description: Breakdown of Copilot code completions usage by language and - editor - nullable: true - items: - type: object - description: Breakdown of Copilot usage by editor for this language - additionalProperties: true - properties: - language: - type: string - description: The language in which Copilot suggestions were shown - to users in the specified editor. - editor: - type: string - description: The editor in which Copilot suggestions were shown to - users for the specified language. - suggestions_count: - type: integer - description: The number of Copilot suggestions shown to users in the - editor specified during the day specified. - acceptances_count: - type: integer - description: The number of Copilot suggestions accepted by users in - the editor specified during the day specified. - lines_suggested: - type: integer - description: The number of lines of code suggested by Copilot in the - editor specified during the day specified. - lines_accepted: - type: integer - description: The number of lines of code accepted by users in the - editor specified during the day specified. - active_users: - type: integer - description: The number of users who were shown Copilot completion - suggestions in the editor specified during the day specified. - required: - - day - - breakdown - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -130690,6 +130585,34 @@ components: - issue - repository - sender + webhook-issues-typed: + title: issues typed event + type: object + properties: + action: + type: string + enum: + - typed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + type: + "$ref": "#/components/schemas/issue-type" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - type + - repository + - sender webhook-issues-unassigned: title: issues unassigned event type: object @@ -131709,6 +131632,34 @@ components: - issue - repository - sender + webhook-issues-untyped: + title: issues untyped event + type: object + properties: + action: + type: string + enum: + - untyped + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + type: + "$ref": "#/components/schemas/issue-type" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - type + - repository + - sender webhook-label-created: title: label created event type: object @@ -206270,70 +206221,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - copilot-usage-metrics-org: - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 42eadb685c..773b18bc1d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -77241,364 +77241,6 @@ } } }, - "/orgs/{org}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for organization members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nOrganization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -138331,373 +137973,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for a team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -243286,7 +242561,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], @@ -748825,11 +748100,11 @@ } } }, - "issues-unassigned": { + "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.\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 user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -748896,110 +748171,13 @@ "content": { "application/json": { "schema": { - "title": "issues unassigned event", + "title": "issues typed event", "type": "object", "properties": { "action": { - "description": "The action that was performed.", "type": "string", "enum": [ - "unassigned" - ] - }, - "assignee": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "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" + "typed" ] }, "enterprise": { @@ -750365,6 +749543,66 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, "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.", @@ -751783,6 +751021,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] @@ -751807,11 +751046,11 @@ } } }, - "issues-unlabeled": { + "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.\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 removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -751878,13 +751117,110 @@ "content": { "application/json": { "schema": { - "title": "issues unlabeled event", + "title": "issues unassigned event", "type": "object", "properties": { "action": { + "description": "The action that was performed.", "type": "string", "enum": [ - "unlabeled" + "unassigned" + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" ] }, "enterprise": { @@ -752270,16 +751606,5850 @@ "type": "string", "format": "uri" } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "team_discussions": { + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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-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.\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 removed from an issue.", + "operationId": "issues/unlabeled", + "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 unlabeled event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "unlabeled" + ] + }, + "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "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", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "team_discussions": { + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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-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.\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/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": { + "title": "issues unlocked event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "unlocked" + ] + }, + "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "required": [ + "active_lock_reason", + "assignees", + "author_association", + "body", + "closed_at", + "comments", + "comments_url", + "created_at", + "events_url", + "html_url", + "id", + "labels_url", + "locked", + "milestone", + "node_id", + "number", + "reactions", + "repository_url", + "title", + "updated_at", + "url", + "user" + ], + "properties": { + "active_lock_reason": { + "type": "string", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + } + } + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + } + } + } + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "nullable": true, + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string", + "nullable": true + }, + "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": { @@ -752287,13 +757457,34 @@ "format": "uri-template" }, "locked": { - "type": "boolean" + "type": "boolean", + "enum": [ + false + ] }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, + "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", @@ -752311,6 +757502,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -752386,8 +757581,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -752397,11 +757591,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "description": { "type": "string", @@ -752453,25 +757643,7 @@ "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" @@ -752484,6 +757656,17 @@ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", "type": "object", "nullable": true, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], "properties": { "created_at": { "type": "string", @@ -752544,9 +757727,7 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" + "workflow_run" ] } }, @@ -752575,6 +757756,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -752660,11 +757845,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -752793,8 +757974,7 @@ "type": "string", "enum": [ "read", - "write", - "admin" + "write" ] }, "organization_secrets": { @@ -752927,18 +758107,7 @@ "nullable": true, "format": "date-time" } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] + } }, "pull_request": { "type": "object", @@ -752969,6 +758138,18 @@ "reactions": { "title": "Reactions", "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], "properties": { "+1": { "type": "integer" @@ -753001,19 +758182,7 @@ "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + } }, "repository_url": { "type": "string", @@ -753132,6 +758301,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -753208,8 +758381,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -753219,77 +758391,9 @@ "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", - "nullable": true - }, - "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", @@ -754733,11 +759837,11 @@ } } }, - "issues-unlocked": { + "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.\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/unlocked", + "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" }, @@ -754804,13 +759908,13 @@ "content": { "application/json": { "schema": { - "title": "issues unlocked event", + "title": "issues unpinned event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unlocked" + "unpinned" ] }, "enterprise": { @@ -754906,30 +760010,6 @@ "title": "Issue", "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "locked", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], "properties": { "active_lock_reason": { "type": "string", @@ -754946,10 +760026,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -755035,7 +760111,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -755043,10 +760123,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -755132,7 +760208,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -755191,16 +760271,6 @@ "items": { "title": "Label", "type": "object", - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "nullable": true, "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -755228,7 +760298,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -755236,34 +760315,13 @@ "format": "uri-template" }, "locked": { - "type": "boolean", - "enum": [ - false - ] + "type": "boolean" }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, - "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", @@ -755281,10 +760339,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -755370,7 +760424,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -755422,7 +760480,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" @@ -755435,17 +760511,6 @@ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", "type": "object", "nullable": true, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": "string", @@ -755535,10 +760600,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -755624,7 +760685,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -755886,7 +760951,18 @@ "nullable": true, "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -755917,18 +760993,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -755961,7 +761025,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -756080,10 +761156,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -756170,9 +761242,36 @@ "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" + ] }, "organization": { "title": "Organization Simple", @@ -757616,11 +762715,11 @@ } } }, - "issues-unpinned": { + "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.\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 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": "An issue type was removed from an issue.", + "operationId": "issues/untyped", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -757687,13 +762786,13 @@ "content": { "application/json": { "schema": { - "title": "issues unpinned event", + "title": "issues untyped event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unpinned" + "untyped" ] }, "enterprise": { @@ -757880,7 +762979,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -757977,7 +763077,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -758193,7 +763294,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -758350,7 +763452,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -758597,7 +763701,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -759011,7 +764116,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -759052,6 +764158,66 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, "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.", @@ -760470,6 +765636,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 9d4af1a757..7e58d1997a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1013,7 +1013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &583 + - &581 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8578,7 +8578,7 @@ paths: - unknown - direct - transitive - security_advisory: &428 + security_advisory: &426 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8840,7 +8840,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &429 + auto_dismissed_at: &427 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9312,14 +9312,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &575 + state: &573 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: &576 + resolution: &574 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9757,7 +9757,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &477 + properties: &475 id: type: integer format: int64 @@ -9868,7 +9868,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &413 + properties: &411 url: type: string format: uri @@ -9938,7 +9938,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &414 + required: &412 - closed_issues - creator - description @@ -10142,7 +10142,7 @@ paths: - total - completed - percent_completed - required: &478 + required: &476 - assignee - closed_at - comments @@ -10164,7 +10164,7 @@ paths: - author_association - created_at - updated_at - comment: &475 + comment: &473 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10731,7 +10731,7 @@ paths: url: type: string format: uri - user: &606 + user: &604 title: Public User description: Public User type: object @@ -14036,14 +14036,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &278 + - &276 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &279 + - &277 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14114,7 +14114,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &290 + '301': &288 description: Moved permanently content: application/json: @@ -14136,7 +14136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &507 + - &505 name: all description: If `true`, show notifications marked as read. in: query @@ -14144,7 +14144,7 @@ paths: schema: type: boolean default: false - - &508 + - &506 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14154,7 +14154,7 @@ paths: type: boolean default: false - *67 - - &509 + - &507 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: @@ -14610,7 +14610,7 @@ paths: - url - subscription_url examples: - default: &510 + default: &508 value: - id: '1' repository: @@ -15211,7 +15211,7 @@ paths: - avatar_url - description examples: - default: &624 + default: &622 value: - login: github id: 1 @@ -16120,7 +16120,7 @@ paths: type: integer repository_cache_usages: type: array - items: &295 + items: &293 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16988,7 +16988,7 @@ paths: - all - local_only - selected - selected_actions_url: &301 + selected_actions_url: &299 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` @@ -17078,7 +17078,7 @@ paths: type: array items: *60 examples: - default: &618 + default: &616 value: total_count: 1 repositories: @@ -17406,7 +17406,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &303 type: object properties: default_workflow_permissions: &112 @@ -17457,7 +17457,7 @@ paths: required: false content: application/json: - schema: &306 + schema: &304 type: object properties: default_workflow_permissions: *112 @@ -17946,7 +17946,7 @@ paths: type: array items: *119 examples: - default: &609 + default: &607 value: total_count: 1 repositories: @@ -18588,7 +18588,7 @@ paths: application/json: schema: type: array - items: &307 + items: &305 title: Runner Application description: Runner Application type: object @@ -18613,7 +18613,7 @@ paths: - download_url - filename examples: - default: &308 + default: &306 value: - os: osx architecture: x64 @@ -18699,7 +18699,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &309 + '201': &307 description: Response content: application/json: @@ -18810,7 +18810,7 @@ paths: - token - expires_at examples: - default: &310 + default: &308 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18849,7 +18849,7 @@ paths: application/json: schema: *123 examples: - default: &311 + default: &309 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18883,7 +18883,7 @@ paths: application/json: schema: *121 examples: - default: &312 + default: &310 value: id: 23 name: MBP @@ -19108,7 +19108,7 @@ paths: - *94 - *120 responses: - '200': &313 + '200': &311 description: Response content: application/json: @@ -19165,7 +19165,7 @@ paths: parameters: - *94 - *120 - - &314 + - &312 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19295,7 +19295,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &324 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19324,7 +19324,7 @@ paths: - key_id - key examples: - default: &327 + default: &325 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19737,7 +19737,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &300 + - &298 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)." @@ -20272,7 +20272,7 @@ paths: bundle_url: type: string examples: - default: &340 + default: &338 value: attestations: - bundle: @@ -20509,7 +20509,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &366 + - &364 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`, @@ -20519,7 +20519,7 @@ paths: schema: &136 type: string description: The name of the tool used to generate the code scanning analysis. - - &367 + - &365 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 @@ -20542,7 +20542,7 @@ paths: be returned. in: query required: false - schema: &369 + schema: &367 type: string description: State of a code scanning alert. enum: @@ -20565,7 +20565,7 @@ paths: be returned. in: query required: false - schema: &370 + schema: &368 type: string description: Severity of a code scanning alert. enum: @@ -20591,7 +20591,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: &371 + instances_url: &369 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20614,7 +20614,7 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: &372 + dismissed_reason: &370 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -20623,13 +20623,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &373 + dismissed_comment: &371 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &374 + rule: &372 type: object properties: id: @@ -20682,7 +20682,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &375 + tool: &373 type: object properties: name: *136 @@ -20692,15 +20692,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *137 - most_recent_instance: &376 + most_recent_instance: &374 type: object properties: - ref: &368 + ref: &366 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &386 + analysis_key: &384 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20711,7 +20711,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &387 + category: &385 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21986,7 +21986,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &399 + properties: &397 name: type: string description: The name of the machine. @@ -22028,7 +22028,7 @@ paths: - ready - in_progress nullable: true - required: &400 + required: &398 - name - display_name - operating_system @@ -22896,7 +22896,7 @@ paths: - updated_at - visibility examples: - default: &401 + default: &399 value: total_count: 2 secrets: @@ -22934,7 +22934,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &400 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22963,7 +22963,7 @@ paths: - key_id - key examples: - default: &403 + default: &401 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22995,7 +22995,7 @@ paths: application/json: schema: *146 examples: - default: &405 + default: &403 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24584,223 +24584,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/copilot/usage": - get: - summary: Get a summary of Copilot usage for organization members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members - parameters: - - *94 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &261 - title: Copilot Usage Metrics - description: Summary of Copilot usage. - type: object - properties: - day: - type: string - format: date - description: The date for which the usage metrics are reported, - in `YYYY-MM-DD` format. - total_suggestions_count: - type: integer - description: The total number of Copilot code completion suggestions - shown to users. - total_acceptances_count: - type: integer - description: The total number of Copilot code completion suggestions - accepted by users. - total_lines_suggested: - type: integer - description: The total number of lines of code completions suggested - by Copilot. - total_lines_accepted: - type: integer - description: The total number of lines of code completions accepted - by users. - total_active_users: - type: integer - description: The total number of users who were shown Copilot - code completion suggestions during the day specified. - total_chat_acceptances: - type: integer - description: The total instances of users who accepted code - suggested by Copilot Chat in the IDE (panel and inline). - total_chat_turns: - type: integer - description: The total number of chat turns (prompt and response - pairs) sent between users and Copilot Chat in the IDE. - total_active_chat_users: - type: integer - description: The total number of users who interacted with Copilot - Chat in the IDE during the day specified. - breakdown: - type: array - description: Breakdown of Copilot code completions usage by - language and editor - nullable: true - items: - type: object - description: Breakdown of Copilot usage by editor for this - language - additionalProperties: true - properties: - language: - type: string - description: The language in which Copilot suggestions - were shown to users in the specified editor. - editor: - type: string - description: The editor in which Copilot suggestions were - shown to users for the specified language. - suggestions_count: - type: integer - description: The number of Copilot suggestions shown to - users in the editor specified during the day specified. - acceptances_count: - type: integer - description: The number of Copilot suggestions accepted - by users in the editor specified during the day specified. - lines_suggested: - type: integer - description: The number of lines of code suggested by - Copilot in the editor specified during the day specified. - lines_accepted: - type: integer - description: The number of lines of code accepted by users - in the editor specified during the day specified. - active_users: - type: integer - description: The number of users who were shown Copilot - completion suggestions in the editor specified during - the day specified. - required: - - day - - breakdown - additionalProperties: false - examples: - default: &262 - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 - '500': *145 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -24961,7 +24744,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &430 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24978,7 +24761,7 @@ paths: - key_id - key examples: - default: &433 + default: &431 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26771,7 +26554,7 @@ paths: application/json: schema: *22 examples: - default: &471 + default: &469 value: id: 1 account: @@ -26996,7 +26779,7 @@ paths: required: true content: application/json: - schema: &472 + schema: &470 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -27852,7 +27635,7 @@ paths: application/json: schema: *195 examples: - default: &398 + default: &396 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -29078,7 +28861,7 @@ paths: parameters: - *94 - *203 - - &623 + - &621 name: repo_name description: repo_name parameter in: path @@ -30103,7 +29886,7 @@ paths: - nuget - container - *94 - - &625 + - &623 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30144,7 +29927,7 @@ paths: default: *211 '403': *29 '401': *25 - '400': &627 + '400': &625 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -31982,7 +31765,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &287 + '410': &285 description: Gone content: application/json: @@ -32882,7 +32665,7 @@ paths: description: Response content: application/json: - schema: &289 + schema: &287 title: Full Repository description: Full Repository type: object @@ -33275,7 +33058,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &420 + properties: &418 url: type: string format: uri @@ -33291,7 +33074,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &421 + required: &419 - url - key - name @@ -33380,7 +33163,7 @@ paths: - network_count - subscribers_count examples: - default: &291 + default: &289 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33901,7 +33684,7 @@ paths: - *94 - *17 - *19 - - &560 + - &558 name: targets description: | A comma-separated list of rule targets to filter by. @@ -34182,7 +33965,7 @@ paths: type: object description: A repository rule. oneOf: - - &538 + - &536 title: creation description: Only allow users with bypass permission to create matching refs. @@ -34194,7 +33977,7 @@ paths: type: string enum: - creation - - &539 + - &537 title: update description: Only allow users with bypass permission to update matching refs. @@ -34215,7 +33998,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &541 + - &539 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -34227,7 +34010,7 @@ paths: type: string enum: - deletion - - &542 + - &540 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -34239,7 +34022,7 @@ paths: type: string enum: - required_linear_history - - &543 + - &541 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -34317,7 +34100,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &544 + - &542 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -34341,7 +34124,7 @@ paths: type: string required: - required_deployment_environments - - &545 + - &543 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -34353,7 +34136,7 @@ paths: type: string enum: - required_signatures - - &546 + - &544 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -34417,7 +34200,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &547 + - &545 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -34465,7 +34248,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &548 + - &546 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -34477,7 +34260,7 @@ paths: type: string enum: - non_fast_forward - - &549 + - &547 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -34513,7 +34296,7 @@ paths: required: - operator - pattern - - &550 + - &548 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -34549,7 +34332,7 @@ paths: required: - operator - pattern - - &551 + - &549 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -34585,7 +34368,7 @@ paths: required: - operator - pattern - - &552 + - &550 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -34621,7 +34404,7 @@ paths: required: - operator - pattern - - &553 + - &551 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -34657,7 +34440,7 @@ paths: required: - operator - pattern - - &554 + - &552 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -34682,7 +34465,7 @@ paths: type: string required: - restricted_file_paths - - &555 + - &553 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -34706,7 +34489,7 @@ paths: maximum: 256 required: - max_file_path_length - - &556 + - &554 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -34729,7 +34512,7 @@ paths: type: string required: - restricted_file_extensions - - &557 + - &555 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -34754,7 +34537,7 @@ paths: maximum: 100 required: - max_file_size - - &558 + - &556 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -34804,7 +34587,7 @@ paths: - repository_id required: - workflows - - &559 + - &557 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -35042,7 +34825,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &561 + - &559 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 @@ -35057,7 +34840,7 @@ paths: in: query schema: type: string - - &562 + - &560 name: time_period description: |- The time period to filter by. @@ -35073,14 +34856,14 @@ paths: - week - month default: day - - &563 + - &561 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 - - &564 + - &562 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -35100,7 +34883,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &563 title: Rule Suites description: Response type: array @@ -35155,7 +34938,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &566 + default: &564 value: - id: 21 actor_id: 12 @@ -35199,7 +34982,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &567 + - &565 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -35215,7 +34998,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &566 title: Rule Suite description: Response type: object @@ -35314,7 +35097,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &569 + default: &567 value: id: 21 actor_id: 12 @@ -35560,7 +35343,7 @@ paths: type: string format: date-time examples: - default: &571 + default: &569 value: - version_id: 3 actor: @@ -35613,7 +35396,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &570 allOf: - *243 - type: object @@ -35692,7 +35475,7 @@ paths: - *48 - *19 - *17 - - &573 + - &571 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 @@ -35702,7 +35485,7 @@ paths: required: false schema: type: string - - &574 + - &572 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 @@ -35794,7 +35577,7 @@ paths: application/json: schema: type: array - items: &581 + items: &579 description: A repository security advisory. type: object properties: @@ -36085,7 +35868,7 @@ paths: - private_fork additionalProperties: false examples: - default: &582 + default: &580 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -36559,7 +36342,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &639 type: object properties: total_minutes_used: @@ -36629,7 +36412,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &642 + default: &640 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -36665,7 +36448,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &641 type: object properties: total_gigabytes_bandwidth_used: @@ -36683,7 +36466,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &644 + default: &642 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -36715,7 +36498,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &643 type: object properties: days_left_in_billing_cycle: @@ -36733,7 +36516,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &646 + default: &644 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -37175,79 +36958,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for a team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team - parameters: - - *94 - - *204 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *261 - examples: - default: *262 - '500': *145 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -37366,7 +37076,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &261 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -37676,7 +37386,7 @@ paths: - repos_count - organization examples: - default: &264 + default: &262 value: id: 1 node_id: MDQ6VGVhbTE= @@ -37753,9 +37463,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -37839,16 +37549,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '201': description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '404': *6 '422': *15 '403': *29 @@ -37918,7 +37628,7 @@ paths: application/json: schema: type: array - items: &265 + items: &263 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38017,7 +37727,7 @@ paths: - updated_at - url examples: - default: &596 + default: &594 value: - author: login: octocat @@ -38126,9 +37836,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: &266 + default: &264 value: author: login: octocat @@ -38202,7 +37912,7 @@ paths: parameters: - *94 - *204 - - &267 + - &265 name: discussion_number description: The number that identifies the discussion. in: path @@ -38214,9 +37924,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: *266 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38240,7 +37950,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 requestBody: required: false content: @@ -38263,9 +37973,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: &597 + default: &595 value: author: login: octocat @@ -38337,7 +38047,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 responses: '204': description: Response @@ -38365,7 +38075,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 - *48 - *17 - *19 @@ -38376,7 +38086,7 @@ paths: application/json: schema: type: array - items: &268 + items: &266 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -38448,7 +38158,7 @@ paths: - updated_at - url examples: - default: &598 + default: &596 value: - author: login: octocat @@ -38518,7 +38228,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 requestBody: required: true content: @@ -38540,9 +38250,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: &269 + default: &267 value: author: login: octocat @@ -38610,8 +38320,8 @@ paths: parameters: - *94 - *204 - - *267 - - &270 + - *265 + - &268 name: comment_number description: The number that identifies the comment. in: path @@ -38623,9 +38333,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38649,8 +38359,8 @@ paths: parameters: - *94 - *204 - - *267 - - *270 + - *265 + - *268 requestBody: required: true content: @@ -38672,9 +38382,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: &599 + default: &597 value: author: login: octocat @@ -38740,8 +38450,8 @@ paths: parameters: - *94 - *204 - - *267 - - *270 + - *265 + - *268 responses: '204': description: Response @@ -38769,8 +38479,8 @@ paths: parameters: - *94 - *204 - - *267 - - *270 + - *265 + - *268 - 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 team discussion comment. @@ -38796,7 +38506,7 @@ paths: application/json: schema: type: array - items: &271 + items: &269 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -38839,7 +38549,7 @@ paths: - content - created_at examples: - default: &273 + default: &271 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38891,8 +38601,8 @@ paths: parameters: - *94 - *204 - - *267 - - *270 + - *265 + - *268 requestBody: required: true content: @@ -38925,9 +38635,9 @@ paths: team discussion comment content: application/json: - schema: *271 + schema: *269 examples: - default: &272 + default: &270 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38956,9 +38666,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38983,9 +38693,9 @@ paths: parameters: - *94 - *204 - - *267 - - *270 - - &274 + - *265 + - *268 + - &272 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39019,7 +38729,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 - 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 team discussion. @@ -39045,9 +38755,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 x-github: @@ -39075,7 +38785,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 requestBody: required: true content: @@ -39107,16 +38817,16 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39141,8 +38851,8 @@ paths: parameters: - *94 - *204 - - *267 - - *274 + - *265 + - *272 responses: '204': description: Response @@ -39263,7 +38973,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &273 title: Team Membership description: Team Membership type: object @@ -39290,7 +39000,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &600 + response-if-user-is-a-team-maintainer: &598 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39353,9 +39063,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *273 examples: - response-if-users-membership-with-team-is-now-pending: &601 + response-if-users-membership-with-team-is-now-pending: &599 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39428,7 +39138,7 @@ paths: application/json: schema: type: array - items: &276 + items: &274 title: Team Project description: A team's access to a project. type: object @@ -39496,7 +39206,7 @@ paths: - updated_at - permissions examples: - default: &602 + default: &600 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39561,7 +39271,7 @@ paths: parameters: - *94 - *204 - - &277 + - &275 name: project_id description: The unique identifier of the project. in: path @@ -39573,9 +39283,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: &603 + default: &601 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39639,7 +39349,7 @@ paths: parameters: - *94 - *204 - - *277 + - *275 requestBody: required: false content: @@ -39707,7 +39417,7 @@ paths: parameters: - *94 - *204 - - *277 + - *275 responses: '204': description: Response @@ -39778,14 +39488,14 @@ paths: parameters: - *94 - *204 - - *278 - - *279 + - *276 + - *277 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &604 + schema: &602 title: Team Repository description: A team's access to a repository. type: object @@ -40356,8 +40066,8 @@ paths: parameters: - *94 - *204 - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -40404,8 +40114,8 @@ paths: parameters: - *94 - *204 - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -40442,7 +40152,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: &605 + response-if-child-teams-exist: &603 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -40569,7 +40279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &280 + - &278 name: card_id description: The unique identifier of the card. in: path @@ -40581,7 +40291,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &279 title: Project Card description: Project cards represent a scope of work. type: object @@ -40648,7 +40358,7 @@ paths: - created_at - updated_at examples: - default: &282 + default: &280 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -40704,7 +40414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *280 + - *278 requestBody: required: false content: @@ -40731,9 +40441,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: - default: *282 + default: *280 '304': *37 '403': *29 '401': *25 @@ -40760,7 +40470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *280 + - *278 responses: '204': description: Response @@ -40804,7 +40514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *280 + - *278 requestBody: required: true content: @@ -40915,7 +40625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &283 + - &281 name: column_id description: The unique identifier of the column. in: path @@ -40927,7 +40637,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &282 title: Project Column description: Project columns contain cards of work. type: object @@ -40973,7 +40683,7 @@ paths: - created_at - updated_at examples: - default: &285 + default: &283 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41008,7 +40718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *283 + - *281 requestBody: required: true content: @@ -41032,9 +40742,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *285 + default: *283 '304': *37 '403': *29 '401': *25 @@ -41059,7 +40769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *283 + - *281 responses: '204': description: Response @@ -41088,7 +40798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *283 + - *281 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -41109,7 +40819,7 @@ paths: application/json: schema: type: array - items: *281 + items: *279 examples: default: value: @@ -41168,7 +40878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *283 + - *281 requestBody: required: true content: @@ -41208,9 +40918,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: - default: *282 + default: *280 '304': *37 '403': *29 '401': *25 @@ -41266,7 +40976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *283 + - *281 requestBody: required: true content: @@ -41326,7 +41036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *277 + - *275 responses: '200': description: Response @@ -41334,7 +41044,7 @@ paths: application/json: schema: *226 examples: - default: &286 + default: &284 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -41391,7 +41101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *277 + - *275 requestBody: required: false content: @@ -41439,7 +41149,7 @@ paths: application/json: schema: *226 examples: - default: *286 + default: *284 '404': description: Not Found if the authenticated user does not have access to the project @@ -41460,7 +41170,7 @@ paths: items: type: string '401': *25 - '410': *287 + '410': *285 '422': *7 x-github: githubCloudOnly: false @@ -41483,7 +41193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *277 + - *275 responses: '204': description: Delete Success @@ -41504,7 +41214,7 @@ paths: items: type: string '401': *25 - '410': *287 + '410': *285 '404': *6 x-github: githubCloudOnly: false @@ -41528,7 +41238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *277 + - *275 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -41585,7 +41295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *277 + - *275 - *132 requestBody: required: false @@ -41638,7 +41348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *277 + - *275 - *132 responses: '204': @@ -41670,7 +41380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *277 + - *275 - *132 responses: '200': @@ -41744,7 +41454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *277 + - *275 - *17 - *19 responses: @@ -41754,7 +41464,7 @@ paths: application/json: schema: type: array - items: *284 + items: *282 examples: default: value: @@ -41792,7 +41502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *277 + - *275 requestBody: required: true content: @@ -41815,7 +41525,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *282 examples: default: value: @@ -41879,7 +41589,7 @@ paths: resources: type: object properties: - core: &288 + core: &286 title: Rate Limit type: object properties: @@ -41896,20 +41606,20 @@ paths: - remaining - reset - used - graphql: *288 - search: *288 - code_search: *288 - source_import: *288 - integration_manifest: *288 - code_scanning_upload: *288 - actions_runner_registration: *288 - scim: *288 - dependency_snapshots: *288 - code_scanning_autofix: *288 + graphql: *286 + search: *286 + code_search: *286 + source_import: *286 + integration_manifest: *286 + code_scanning_upload: *286 + actions_runner_registration: *286 + scim: *286 + dependency_snapshots: *286 + code_scanning_autofix: *286 required: - core - search - rate: *288 + rate: *286 required: - rate - resources @@ -42013,14 +41723,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *289 + schema: *287 examples: default-response: summary: Default response @@ -42521,7 +42231,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *290 + '301': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42539,8 +42249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -42776,10 +42486,10 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 - '307': &292 + default: *289 + '307': &290 description: Temporary Redirect content: application/json: @@ -42808,8 +42518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -42831,7 +42541,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *292 + '307': *290 '404': *6 x-github: githubCloudOnly: false @@ -42854,11 +42564,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 - - &318 + - &316 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -42881,7 +42591,7 @@ paths: type: integer artifacts: type: array - items: &293 + items: &291 title: Artifact description: An artifact type: object @@ -42959,7 +42669,7 @@ paths: - expires_at - updated_at examples: - default: &319 + default: &317 value: total_count: 2 artifacts: @@ -43020,9 +42730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *278 - - *279 - - &294 + - *276 + - *277 + - &292 name: artifact_id description: The unique identifier of the artifact. in: path @@ -43034,7 +42744,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *291 examples: default: value: @@ -43072,9 +42782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *278 - - *279 - - *294 + - *276 + - *277 + - *292 responses: '204': description: Response @@ -43098,9 +42808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *278 - - *279 - - *294 + - *276 + - *277 + - *292 - name: archive_format in: path required: true @@ -43114,7 +42824,7 @@ paths: 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': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43137,14 +42847,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *295 + schema: *293 examples: default: value: @@ -43170,11 +42880,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 - - &296 + - &294 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 @@ -43208,7 +42918,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &295 title: Repository actions caches description: Repository actions caches type: object @@ -43250,7 +42960,7 @@ paths: - total_count - actions_caches examples: - default: &298 + default: &296 value: total_count: 1 actions_caches: @@ -43282,23 +42992,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: - - *278 - - *279 + - *276 + - *277 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *296 + - *294 responses: '200': description: Response content: application/json: - schema: *297 + schema: *295 examples: - default: *298 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43318,8 +43028,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: - - *278 - - *279 + - *276 + - *277 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -43350,9 +43060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *278 - - *279 - - &299 + - *276 + - *277 + - &297 name: job_id description: The unique identifier of the job. in: path @@ -43364,7 +43074,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &320 title: Job description: Information of a job execution in a workflow run type: object @@ -43671,9 +43381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *278 - - *279 - - *299 + - *276 + - *277 + - *297 responses: '302': description: Response @@ -43701,9 +43411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *278 - - *279 - - *299 + - *276 + - *277 + - *297 requestBody: required: false content: @@ -43748,8 +43458,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Status response @@ -43799,8 +43509,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -43863,8 +43573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -43882,7 +43592,7 @@ paths: type: integer secrets: type: array - items: &324 + items: &322 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -43902,7 +43612,7 @@ paths: - created_at - updated_at examples: - default: &325 + default: &323 value: total_count: 2 secrets: @@ -43935,9 +43645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *278 - - *279 - - *300 + - *276 + - *277 + - *298 - *19 responses: '200': @@ -43954,7 +43664,7 @@ paths: type: integer variables: type: array - items: &328 + items: &326 title: Actions Variable type: object properties: @@ -43984,7 +43694,7 @@ paths: - created_at - updated_at examples: - default: &329 + default: &327 value: total_count: 2 variables: @@ -44017,8 +43727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -44027,11 +43737,11 @@ paths: schema: type: object properties: - enabled: &302 + enabled: &300 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *108 - selected_actions_url: *301 + selected_actions_url: *299 required: - enabled examples: @@ -44058,8 +43768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -44070,7 +43780,7 @@ paths: schema: type: object properties: - enabled: *302 + enabled: *300 allowed_actions: *108 required: - enabled @@ -44100,14 +43810,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: &303 + schema: &301 type: object properties: access_level: @@ -44124,7 +43834,7 @@ paths: required: - access_level examples: - default: &304 + default: &302 value: access_level: organization x-github: @@ -44148,15 +43858,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: application/json: - schema: *303 + schema: *301 examples: - default: *304 + default: *302 responses: '204': description: Response @@ -44180,8 +43890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -44208,8 +43918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -44241,14 +43951,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *305 + schema: *303 examples: default: *114 x-github: @@ -44271,8 +43981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Success response @@ -44283,7 +43993,7 @@ paths: required: true content: application/json: - schema: *306 + schema: *304 examples: default: *114 x-github: @@ -44312,8 +44022,8 @@ paths: in: query schema: type: string - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -44357,8 +44067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -44366,9 +44076,9 @@ paths: application/json: schema: type: array - items: *307 + items: *305 examples: - default: *308 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44390,8 +44100,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -44434,7 +44144,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *309 + '201': *307 '404': *6 '422': *7 '409': *46 @@ -44465,8 +44175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '201': description: Response @@ -44474,7 +44184,7 @@ paths: application/json: schema: *123 examples: - default: *310 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44502,8 +44212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '201': description: Response @@ -44511,7 +44221,7 @@ paths: application/json: schema: *123 examples: - default: *311 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44533,8 +44243,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: - - *278 - - *279 + - *276 + - *277 - *120 responses: '200': @@ -44543,7 +44253,7 @@ paths: application/json: schema: *121 examples: - default: *312 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44564,8 +44274,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: - - *278 - - *279 + - *276 + - *277 - *120 responses: '204': @@ -44591,8 +44301,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: - - *278 - - *279 + - *276 + - *277 - *120 responses: '200': *125 @@ -44617,8 +44327,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: - - *278 - - *279 + - *276 + - *277 - *120 requestBody: required: true @@ -44667,8 +44377,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: - - *278 - - *279 + - *276 + - *277 - *120 requestBody: required: true @@ -44718,11 +44428,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: - - *278 - - *279 + - *276 + - *277 - *120 responses: - '200': *313 + '200': *311 '404': *6 x-github: githubCloudOnly: false @@ -44749,10 +44459,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: - - *278 - - *279 + - *276 + - *277 - *120 - - *314 + - *312 responses: '200': *125 '404': *6 @@ -44780,9 +44490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *278 - - *279 - - &332 + - *276 + - *277 + - &330 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. @@ -44790,7 +44500,7 @@ paths: required: false schema: type: string - - &333 + - &331 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -44798,7 +44508,7 @@ paths: required: false schema: type: string - - &334 + - &332 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -44807,7 +44517,7 @@ paths: required: false schema: type: string - - &335 + - &333 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 @@ -44834,7 +44544,7 @@ paths: - pending - *17 - *19 - - &336 + - &334 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)." @@ -44843,7 +44553,7 @@ paths: schema: type: string format: date-time - - &315 + - &313 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -44852,13 +44562,13 @@ paths: schema: type: boolean default: false - - &337 + - &335 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &338 + - &336 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -44881,7 +44591,7 @@ paths: type: integer workflow_runs: type: array - items: &316 + items: &314 title: Workflow Run description: An invocation of a workflow type: object @@ -44976,7 +44686,7 @@ paths: that triggered the run. type: array nullable: true - items: &357 + items: &355 title: Pull Request Minimal type: object properties: @@ -45095,7 +44805,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &361 + properties: &359 id: type: string description: SHA for the commit @@ -45146,7 +44856,7 @@ paths: - name - email nullable: true - required: &362 + required: &360 - id - tree_id - message @@ -45193,7 +44903,7 @@ paths: - workflow_url - pull_requests examples: - default: &339 + default: &337 value: total_count: 1 workflow_runs: @@ -45429,24 +45139,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *278 - - *279 - - &317 + - *276 + - *277 + - &315 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *315 + - *313 responses: '200': description: Response content: application/json: - schema: *316 + schema: *314 examples: - default: &320 + default: &318 value: id: 30433642 name: Build @@ -45687,9 +45397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '204': description: Response @@ -45712,9 +45422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '200': description: Response @@ -45833,9 +45543,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: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '201': description: Response @@ -45868,12 +45578,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 - *17 - *19 - - *318 + - *316 responses: '200': description: Response @@ -45889,9 +45599,9 @@ paths: type: integer artifacts: type: array - items: *293 + items: *291 examples: - default: *319 + default: *317 headers: Link: *58 x-github: @@ -45915,25 +45625,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *278 - - *279 - - *317 - - &321 + - *276 + - *277 + - *315 + - &319 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *315 + - *313 responses: '200': description: Response content: application/json: - schema: *316 + schema: *314 examples: - default: *320 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45956,10 +45666,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *278 - - *279 - - *317 - - *321 + - *276 + - *277 + - *315 + - *319 - *17 - *19 responses: @@ -45977,9 +45687,9 @@ paths: type: integer jobs: type: array - items: *322 + items: *320 examples: - default: &323 + default: &321 value: total_count: 1 jobs: @@ -46092,10 +45802,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *278 - - *279 - - *317 - - *321 + - *276 + - *277 + - *315 + - *319 responses: '302': description: Response @@ -46123,9 +45833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '202': description: Response @@ -46158,9 +45868,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: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 requestBody: required: true content: @@ -46227,9 +45937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '202': description: Response @@ -46262,9 +45972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 - 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 @@ -46294,9 +46004,9 @@ paths: type: integer jobs: type: array - items: *322 + items: *320 examples: - default: *323 + default: *321 headers: Link: *58 x-github: @@ -46321,9 +46031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '302': description: Response @@ -46350,9 +46060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '204': description: Response @@ -46379,9 +46089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '200': description: Response @@ -46441,7 +46151,7 @@ paths: items: type: object properties: - type: &441 + type: &439 type: string description: The type of reviewer. enum: @@ -46526,9 +46236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 requestBody: required: true content: @@ -46575,7 +46285,7 @@ paths: application/json: schema: type: array - items: &436 + items: &434 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -46681,7 +46391,7 @@ paths: - created_at - updated_at examples: - default: &437 + default: &435 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -46737,9 +46447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 requestBody: required: false content: @@ -46783,9 +46493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 requestBody: required: false content: @@ -46838,9 +46548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '200': description: Response @@ -46977,8 +46687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -46996,9 +46706,9 @@ paths: type: integer secrets: type: array - items: *324 + items: *322 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -47023,16 +46733,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *326 + schema: *324 examples: - default: *327 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47054,17 +46764,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '200': description: Response content: application/json: - schema: *324 + schema: *322 examples: - default: &454 + default: &452 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47090,8 +46800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 requestBody: required: true @@ -47149,8 +46859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '204': @@ -47176,9 +46886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *278 - - *279 - - *300 + - *276 + - *277 + - *298 - *19 responses: '200': @@ -47195,9 +46905,9 @@ paths: type: integer variables: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *58 x-github: @@ -47220,8 +46930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -47273,17 +46983,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 responses: '200': description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: &455 + default: &453 value: name: USERNAME value: octocat @@ -47309,8 +47019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 requestBody: required: true @@ -47353,8 +47063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 responses: '204': @@ -47380,8 +47090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -47399,7 +47109,7 @@ paths: type: integer workflows: type: array - items: &330 + items: &328 title: Workflow description: A GitHub Actions workflow type: object @@ -47506,9 +47216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *278 - - *279 - - &331 + - *276 + - *277 + - &329 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -47523,7 +47233,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *328 examples: default: value: @@ -47556,9 +47266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *278 - - *279 - - *331 + - *276 + - *277 + - *329 responses: '204': description: Response @@ -47583,9 +47293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *278 - - *279 - - *331 + - *276 + - *277 + - *329 responses: '204': description: Response @@ -47636,9 +47346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *278 - - *279 - - *331 + - *276 + - *277 + - *329 responses: '204': description: Response @@ -47665,19 +47375,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *278 - - *279 + - *276 + - *277 + - *329 + - *330 - *331 - *332 - *333 - - *334 - - *335 - *17 - *19 + - *334 + - *313 + - *335 - *336 - - *315 - - *337 - - *338 responses: '200': description: Response @@ -47693,9 +47403,9 @@ paths: type: integer workflow_runs: type: array - items: *316 + items: *314 examples: - default: *339 + default: *337 headers: Link: *58 x-github: @@ -47727,9 +47437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *278 - - *279 - - *331 + - *276 + - *277 + - *329 responses: '200': description: Response @@ -47790,8 +47500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *278 - - *279 + - *276 + - *277 - *48 - *17 - *39 @@ -47955,8 +47665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -47993,8 +47703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *278 - - *279 + - *276 + - *277 - name: assignee in: path required: true @@ -48030,8 +47740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -48143,8 +47853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *39 - *40 @@ -48198,7 +47908,7 @@ paths: bundle_url: type: string examples: - default: *340 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48218,8 +47928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -48227,7 +47937,7 @@ paths: application/json: schema: type: array - items: &341 + items: &339 title: Autolink reference description: An autolink reference. type: object @@ -48277,8 +47987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -48317,9 +48027,9 @@ paths: description: response content: application/json: - schema: *341 + schema: *339 examples: - default: &342 + default: &340 value: id: 1 key_prefix: TICKET- @@ -48350,9 +48060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *278 - - *279 - - &343 + - *276 + - *277 + - &341 name: autolink_id description: The unique identifier of the autolink. in: path @@ -48364,9 +48074,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *339 examples: - default: *342 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -48386,9 +48096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *278 - - *279 - - *343 + - *276 + - *277 + - *341 responses: '204': description: Response @@ -48412,8 +48122,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response if Dependabot is enabled @@ -48461,8 +48171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -48483,8 +48193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -48504,8 +48214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *278 - - *279 + - *276 + - *277 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -48543,7 +48253,7 @@ paths: - url protected: type: boolean - protection: &345 + protection: &343 title: Branch Protection description: Branch Protection type: object @@ -48585,7 +48295,7 @@ paths: required: - contexts - checks - enforce_admins: &348 + enforce_admins: &346 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -48600,7 +48310,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &350 + required_pull_request_reviews: &348 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -48676,7 +48386,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &347 + restrictions: &345 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -48983,9 +48693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *278 - - *279 - - &346 + - *276 + - *277 + - &344 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). @@ -48999,14 +48709,14 @@ paths: description: Response content: application/json: - schema: &356 + schema: &354 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &409 + commit: &407 title: Commit description: Commit type: object @@ -49040,7 +48750,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &344 + properties: &342 name: type: string example: '"Chris Wanstrath"' @@ -49055,7 +48765,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *344 + properties: *342 nullable: true message: type: string @@ -49076,7 +48786,7 @@ paths: required: - sha - url - verification: &461 + verification: &459 title: Verification type: object properties: @@ -49146,7 +48856,7 @@ paths: type: integer files: type: array - items: &424 + items: &422 title: Diff Entry description: Diff Entry type: object @@ -49229,7 +48939,7 @@ paths: - self protected: type: boolean - protection: *345 + protection: *343 protection_url: type: string format: uri @@ -49336,7 +49046,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *290 + '301': *288 '404': *6 x-github: githubCloudOnly: false @@ -49358,15 +49068,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *345 + schema: *343 examples: default: value: @@ -49560,9 +49270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -49817,7 +49527,7 @@ paths: url: type: string format: uri - required_status_checks: &353 + required_status_checks: &351 title: Status Check Policy description: Status Check Policy type: object @@ -49969,7 +49679,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *347 + restrictions: *345 required_conversation_resolution: type: object properties: @@ -50081,9 +49791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50108,17 +49818,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: &349 + default: &347 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50140,17 +49850,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50169,9 +49879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50196,17 +49906,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *350 + schema: *348 examples: - default: &351 + default: &349 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -50302,9 +50012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -50402,9 +50112,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *348 examples: - default: *351 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -50425,9 +50135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50454,17 +50164,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: &352 + default: &350 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -50487,17 +50197,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *352 + default: *350 '404': *6 x-github: githubCloudOnly: false @@ -50517,9 +50227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50544,17 +50254,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *353 + schema: *351 examples: - default: &354 + default: &352 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -50580,9 +50290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -50634,9 +50344,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *351 examples: - default: *354 + default: *352 '404': *6 '422': *15 x-github: @@ -50658,9 +50368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50684,9 +50394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response @@ -50720,9 +50430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -50789,9 +50499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -50855,9 +50565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: content: application/json: @@ -50923,15 +50633,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *347 + schema: *345 examples: default: value: @@ -51022,9 +50732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -51047,9 +50757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response @@ -51059,7 +50769,7 @@ paths: type: array items: *5 examples: - default: &355 + default: &353 value: - id: 1 slug: octoapp @@ -51116,9 +50826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51152,7 +50862,7 @@ paths: type: array items: *5 examples: - default: *355 + default: *353 '422': *15 x-github: githubCloudOnly: false @@ -51173,9 +50883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51209,7 +50919,7 @@ paths: type: array items: *5 examples: - default: *355 + default: *353 '422': *15 x-github: githubCloudOnly: false @@ -51230,9 +50940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51266,7 +50976,7 @@ paths: type: array items: *5 examples: - default: *355 + default: *353 '422': *15 x-github: githubCloudOnly: false @@ -51288,9 +50998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response @@ -51320,9 +51030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -51381,9 +51091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -51442,9 +51152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: content: application/json: @@ -51503,9 +51213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response @@ -51539,9 +51249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51599,9 +51309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51659,9 +51369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51721,9 +51431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51745,7 +51455,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *354 examples: default: value: @@ -51861,8 +51571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -52141,7 +51851,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &356 title: CheckRun description: A check performed on the code of a given code change type: object @@ -52260,8 +51970,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *357 - deployment: &655 + items: *355 + deployment: &653 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -52541,9 +52251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *278 - - *279 - - &359 + - *276 + - *277 + - &357 name: check_run_id description: The unique identifier of the check run. in: path @@ -52555,9 +52265,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: &360 + default: &358 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -52657,9 +52367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *278 - - *279 - - *359 + - *276 + - *277 + - *357 requestBody: required: true content: @@ -52899,9 +52609,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *360 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52921,9 +52631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *278 - - *279 - - *359 + - *276 + - *277 + - *357 - *17 - *19 responses: @@ -53020,9 +52730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *278 - - *279 - - *359 + - *276 + - *277 + - *357 responses: '201': description: Response @@ -53066,8 +52776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -53089,7 +52799,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &363 + schema: &361 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53153,7 +52863,7 @@ paths: nullable: true pull_requests: type: array - items: *357 + items: *355 nullable: true app: title: GitHub app @@ -53175,12 +52885,12 @@ paths: type: string format: date-time nullable: true - head_commit: &681 + head_commit: &679 title: Simple Commit description: A commit. type: object - properties: *361 - required: *362 + properties: *359 + required: *360 latest_check_runs_count: type: integer check_runs_url: @@ -53208,7 +52918,7 @@ paths: - check_runs_url - pull_requests examples: - default: &364 + default: &362 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -53499,9 +53209,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *363 + schema: *361 examples: - default: *364 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53520,8 +53230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -53830,9 +53540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *278 - - *279 - - &365 + - *276 + - *277 + - &363 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -53844,9 +53554,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *361 examples: - default: *364 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53869,17 +53579,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *278 - - *279 - - *365 - - &417 + - *276 + - *277 + - *363 + - &415 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &418 + - &416 name: status description: Returns check runs with the specified `status`. in: query @@ -53918,9 +53628,9 @@ paths: type: integer check_runs: type: array - items: *358 + items: *356 examples: - default: &419 + default: &417 value: total_count: 1 check_runs: @@ -54022,9 +53732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *278 - - *279 - - *365 + - *276 + - *277 + - *363 responses: '201': description: Response @@ -54057,21 +53767,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *278 - - *279 - - *366 - - *367 + - *276 + - *277 + - *364 + - *365 - *19 - *17 - - &384 + - &382 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: *368 - - &385 + schema: *366 + - &383 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54096,13 +53806,13 @@ paths: be returned. in: query required: false - schema: *369 + schema: *367 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *370 + schema: *368 responses: '200': description: Response @@ -54118,7 +53828,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: *371 + instances_url: *369 state: *138 fixed_at: *134 dismissed_by: @@ -54129,11 +53839,11 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: *372 - dismissed_comment: *373 - rule: *374 - tool: *375 - most_recent_instance: *376 + dismissed_reason: *370 + dismissed_comment: *371 + rule: *372 + tool: *373 + most_recent_instance: *374 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -54256,7 +53966,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &377 + '403': &375 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -54283,9 +53993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *278 - - *279 - - &378 + - *276 + - *277 + - &376 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -54299,7 +54009,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &377 type: object properties: number: *54 @@ -54307,7 +54017,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: *371 + instances_url: *369 state: *138 fixed_at: *134 dismissed_by: @@ -54318,8 +54028,8 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: *372 - dismissed_comment: *373 + dismissed_reason: *370 + dismissed_comment: *371 rule: type: object properties: @@ -54373,8 +54083,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *375 - most_recent_instance: *376 + tool: *373 + most_recent_instance: *374 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -54470,7 +54180,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -54490,9 +54200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 requestBody: required: true content: @@ -54507,8 +54217,8 @@ paths: enum: - open - dismissed - dismissed_reason: *372 - dismissed_comment: *373 + dismissed_reason: *370 + dismissed_comment: *371 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -54527,7 +54237,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *377 examples: default: value: @@ -54603,7 +54313,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &383 + '403': &381 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -54630,15 +54340,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: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 responses: '200': description: Response content: application/json: - schema: &380 + schema: &378 type: object properties: status: @@ -54664,13 +54374,13 @@ paths: - description - started_at examples: - default: &381 + default: &379 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &382 + '400': &380 description: Bad Request content: application/json: @@ -54681,7 +54391,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': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -54706,29 +54416,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: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 responses: '200': description: OK content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 '202': description: Accepted content: application/json: - schema: *380 + schema: *378 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *382 + '400': *380 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -54760,9 +54470,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: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 requestBody: required: false content: @@ -54807,8 +54517,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *382 - '403': *383 + '400': *380 + '403': *381 '404': *6 '422': description: Unprocessable Entity @@ -54832,13 +54542,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 - *19 - *17 - - *384 - - *385 + - *382 + - *383 responses: '200': description: Response @@ -54846,7 +54556,7 @@ paths: application/json: schema: type: array - items: *376 + items: *374 examples: default: value: @@ -54885,7 +54595,7 @@ paths: end_column: 50 classifications: - source - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -54919,25 +54629,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *278 - - *279 - - *366 - - *367 + - *276 + - *277 + - *364 + - *365 - *19 - *17 - - *385 + - *383 - 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: *368 + schema: *366 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &388 + schema: &386 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -54958,23 +54668,23 @@ paths: application/json: schema: type: array - items: &389 + items: &387 type: object properties: - ref: *368 - commit_sha: &397 + ref: *366 + commit_sha: &395 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: *386 + analysis_key: *384 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *387 + category: *385 error: type: string example: error reading field xyz @@ -54998,8 +54708,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *388 - tool: *375 + sarif_id: *386 + tool: *373 deletable: type: boolean warning: @@ -55060,7 +54770,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -55096,8 +54806,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: - - *278 - - *279 + - *276 + - *277 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55110,7 +54820,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *387 examples: response: summary: application/json response @@ -55164,7 +54874,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -55246,8 +54956,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: - - *278 - - *279 + - *276 + - *277 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55300,7 +55010,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': *383 + '403': *381 '404': *6 '503': *65 x-github: @@ -55322,8 +55032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -55331,7 +55041,7 @@ paths: application/json: schema: type: array - items: &390 + items: &388 title: CodeQL Database description: A CodeQL database. type: object @@ -55442,7 +55152,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': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -55471,8 +55181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - name: language in: path description: The language of the CodeQL database. @@ -55484,7 +55194,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *388 examples: default: value: @@ -55516,9 +55226,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': &426 + '302': &424 description: Found - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -55540,8 +55250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *278 - - *279 + - *276 + - *277 - name: language in: path description: The language of the CodeQL database. @@ -55551,7 +55261,7 @@ paths: responses: '204': description: Response - '403': *383 + '403': *381 '404': *6 '503': *65 x-github: @@ -55579,8 +55289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -55589,7 +55299,7 @@ paths: type: object additionalProperties: false properties: - language: &391 + language: &389 type: string description: The language targeted by the CodeQL query enum: @@ -55667,7 +55377,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &395 + schema: &393 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -55677,7 +55387,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *391 + query_language: *389 query_pack_url: type: string description: The download url for the query pack. @@ -55724,7 +55434,7 @@ paths: items: type: object properties: - repository: &392 + repository: &390 title: Repository Identifier description: Repository Identifier type: object @@ -55760,7 +55470,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &396 + analysis_status: &394 type: string description: The new status of the CodeQL variant analysis repository task. @@ -55792,7 +55502,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &393 + access_mismatch_repos: &391 type: object properties: repository_count: @@ -55806,7 +55516,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: *392 + items: *390 required: - repository_count - repositories @@ -55828,8 +55538,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *393 - over_limit_repos: *393 + no_codeql_db_repos: *391 + over_limit_repos: *391 required: - access_mismatch_repos - not_found_repos @@ -55845,7 +55555,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &394 + value: &392 summary: Default response value: id: 1 @@ -55997,10 +55707,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *394 + value: *392 repository_lists: summary: Response for a successful variant analysis submission - value: *394 + value: *392 '404': *6 '422': description: Unable to process variant analysis submission @@ -56028,8 +55738,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: - - *278 - - *279 + - *276 + - *277 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -56041,9 +55751,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *393 examples: - default: *394 + default: *392 '404': *6 '503': *65 x-github: @@ -56066,7 +55776,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: - - *278 + - *276 - name: repo in: path description: The name of the controller repository. @@ -56101,7 +55811,7 @@ paths: type: object properties: repository: *53 - analysis_status: *396 + analysis_status: *394 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -56226,8 +55936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -56301,7 +56011,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -56322,8 +56032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -56405,7 +56115,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *383 + '403': *381 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -56470,8 +56180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -56479,7 +56189,7 @@ paths: schema: type: object properties: - commit_sha: *397 + commit_sha: *395 ref: type: string description: |- @@ -56537,7 +56247,7 @@ paths: schema: type: object properties: - id: *388 + id: *386 url: type: string description: The REST API URL for checking the status of the upload. @@ -56551,7 +56261,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': *383 + '403': *381 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -56574,8 +56284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *278 - - *279 + - *276 + - *277 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -56621,7 +56331,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': *377 + '403': *375 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -56646,8 +56356,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -56728,8 +56438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *278 - - *279 + - *276 + - *277 - 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 @@ -56849,8 +56559,8 @@ paths: parameters: - *17 - *19 - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -57164,8 +56874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -57230,7 +56940,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -57238,7 +56948,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '400': *14 '401': *25 '403': *29 @@ -57267,8 +56977,8 @@ paths: parameters: - *17 - *19 - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -57332,8 +57042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -57368,14 +57078,14 @@ paths: type: integer machines: type: array - items: &612 + items: &610 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *399 - required: *400 + properties: *397 + required: *398 examples: - default: &613 + default: &611 value: total_count: 2 machines: @@ -57415,8 +57125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *278 - - *279 + - *276 + - *277 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -57500,8 +57210,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: - - *278 - - *279 + - *276 + - *277 - 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 @@ -57567,8 +57277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -57586,7 +57296,7 @@ paths: type: integer secrets: type: array - items: &404 + items: &402 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -57606,7 +57316,7 @@ paths: - created_at - updated_at examples: - default: *401 + default: *399 headers: Link: *58 x-github: @@ -57629,16 +57339,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: *403 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57658,17 +57368,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '200': description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: *405 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57688,8 +57398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 requestBody: required: true @@ -57742,8 +57452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '204': @@ -57772,8 +57482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *278 - - *279 + - *276 + - *277 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -57815,7 +57525,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &406 + properties: &404 login: type: string example: octocat @@ -57908,7 +57618,7 @@ paths: user_view_type: type: string example: public - required: &407 + required: &405 - avatar_url - events_url - followers_url @@ -57982,8 +57692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *278 - - *279 + - *276 + - *277 - *132 responses: '204': @@ -58026,8 +57736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *278 - - *279 + - *276 + - *277 - *132 requestBody: required: false @@ -58054,7 +57764,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &474 + schema: &472 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -58276,8 +57986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *278 - - *279 + - *276 + - *277 - *132 responses: '204': @@ -58307,8 +58017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *278 - - *279 + - *276 + - *277 - *132 responses: '200': @@ -58329,8 +58039,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *406 - required: *407 + properties: *404 + required: *405 nullable: true required: - permission @@ -58385,8 +58095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -58396,7 +58106,7 @@ paths: application/json: schema: type: array - items: &408 + items: &406 title: Commit Comment description: Commit Comment type: object @@ -58454,7 +58164,7 @@ paths: - created_at - updated_at examples: - default: &411 + default: &409 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58513,17 +58223,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '200': description: Response content: application/json: - schema: *408 + schema: *406 examples: - default: &412 + default: &410 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58580,8 +58290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -58604,7 +58314,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *406 examples: default: value: @@ -58655,8 +58365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '204': @@ -58678,8 +58388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -58706,9 +58416,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 @@ -58729,8 +58439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -58763,16 +58473,16 @@ paths: description: Reaction exists content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Reaction created content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -58794,10 +58504,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *278 - - *279 + - *276 + - *277 - *76 - - *274 + - *272 responses: '204': description: Response @@ -58846,8 +58556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *278 - - *279 + - *276 + - *277 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -58903,9 +58613,9 @@ paths: application/json: schema: type: array - items: *409 + items: *407 examples: - default: &525 + default: &523 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58999,9 +58709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *278 - - *279 - - &410 + - *276 + - *277 + - &408 name: commit_sha description: The SHA of the commit. in: path @@ -59073,9 +58783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *278 - - *279 - - *410 + - *276 + - *277 + - *408 - *17 - *19 responses: @@ -59085,9 +58795,9 @@ paths: application/json: schema: type: array - items: *408 + items: *406 examples: - default: *411 + default: *409 headers: Link: *58 x-github: @@ -59115,9 +58825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *278 - - *279 - - *410 + - *276 + - *277 + - *408 requestBody: required: true content: @@ -59152,9 +58862,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *406 examples: - default: *412 + default: *410 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59172,7 +58882,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: @@ -59182,9 +58892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *278 - - *279 - - *410 + - *276 + - *277 + - *408 - *17 - *19 responses: @@ -59194,7 +58904,7 @@ paths: application/json: schema: type: array - items: &516 + items: &514 title: Pull Request Simple description: Pull Request Simple type: object @@ -59300,8 +59010,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *413 - required: *414 + properties: *411 + required: *412 nullable: true active_lock_reason: type: string @@ -59397,7 +59107,7 @@ paths: _links: type: object properties: - comments: &415 + comments: &413 title: Link description: Hypermedia Link type: object @@ -59406,13 +59116,13 @@ paths: type: string required: - href - commits: *415 - statuses: *415 - html: *415 - issue: *415 - review_comments: *415 - review_comment: *415 - self: *415 + commits: *413 + statuses: *413 + html: *413 + issue: *413 + review_comments: *413 + review_comment: *413 + self: *413 required: - comments - commits @@ -59423,7 +59133,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &518 + auto_merge: &516 title: Auto merge description: The status of auto merging a pull request. type: object @@ -59486,7 +59196,7 @@ paths: - author_association - auto_merge examples: - default: &517 + default: &515 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -60023,11 +59733,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *278 - - *279 + - *276 + - *277 - *19 - *17 - - &416 + - &414 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)" @@ -60042,9 +59752,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *407 examples: - default: &503 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60157,11 +59867,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *278 - - *279 + - *276 + - *277 + - *414 + - *415 - *416 - - *417 - - *418 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -60195,9 +59905,9 @@ paths: type: integer check_runs: type: array - items: *358 + items: *356 examples: - default: *419 + default: *417 headers: Link: *58 x-github: @@ -60222,9 +59932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *278 - - *279 - - *416 + - *276 + - *277 + - *414 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -60232,7 +59942,7 @@ paths: schema: type: integer example: 1 - - *417 + - *415 - *17 - *19 responses: @@ -60250,7 +59960,7 @@ paths: type: integer check_suites: type: array - items: *363 + items: *361 examples: default: value: @@ -60450,9 +60160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *278 - - *279 - - *416 + - *276 + - *277 + - *414 - *17 - *19 responses: @@ -60650,9 +60360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *278 - - *279 - - *416 + - *276 + - *277 + - *414 - *17 - *19 responses: @@ -60662,7 +60372,7 @@ paths: application/json: schema: type: array - items: &586 + items: &584 title: Status description: The status of a commit. type: object @@ -60743,7 +60453,7 @@ paths: site_admin: false headers: Link: *58 - '301': *290 + '301': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60771,8 +60481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -60801,20 +60511,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *420 - required: *421 + properties: *418 + required: *419 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &422 + properties: &420 url: type: string format: uri html_url: type: string format: uri - required: &423 + required: &421 - url - html_url nullable: true @@ -60828,26 +60538,26 @@ paths: contributing: title: Community Health File type: object - properties: *422 - required: *423 + properties: *420 + required: *421 nullable: true readme: title: Community Health File type: object - properties: *422 - required: *423 + properties: *420 + required: *421 nullable: true issue_template: title: Community Health File type: object - properties: *422 - required: *423 + properties: *420 + required: *421 nullable: true pull_request_template: title: Community Health File type: object - properties: *422 - required: *423 + properties: *420 + required: *421 nullable: true required: - code_of_conduct @@ -60974,8 +60684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *278 - - *279 + - *276 + - *277 - *19 - *17 - name: basehead @@ -61018,8 +60728,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *409 - merge_base_commit: *409 + base_commit: *407 + merge_base_commit: *407 status: type: string enum: @@ -61039,10 +60749,10 @@ paths: example: 6 commits: type: array - items: *409 + items: *407 files: type: array - items: *424 + items: *422 required: - url - html_url @@ -61328,8 +61038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *278 - - *279 + - *276 + - *277 - name: path description: path parameter in: path @@ -61470,7 +61180,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &425 + response-if-content-is-a-file: &423 summary: Response if content is a file value: type: file @@ -61602,7 +61312,7 @@ paths: - size - type - url - - &530 + - &528 title: Content File description: Content File type: object @@ -61803,7 +61513,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *425 + response-if-content-is-a-file: *423 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -61872,7 +61582,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *426 + '302': *424 '304': *37 x-github: githubCloudOnly: false @@ -61895,8 +61605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *278 - - *279 + - *276 + - *277 - name: path description: path parameter in: path @@ -61989,7 +61699,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &425 title: File Commit description: File Commit type: object @@ -62141,7 +61851,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *425 examples: example-for-creating-a-file: value: @@ -62195,7 +61905,7 @@ paths: schema: oneOf: - *3 - - &456 + - &454 description: Repository rule violation was detected type: object properties: @@ -62216,7 +61926,7 @@ paths: items: type: object properties: - placeholder_id: &578 + placeholder_id: &576 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -62248,8 +61958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *278 - - *279 + - *276 + - *277 - name: path description: path parameter in: path @@ -62310,7 +62020,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *425 examples: default: value: @@ -62365,8 +62075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *278 - - *279 + - *276 + - *277 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -62489,8 +62199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *149 - *150 - *151 @@ -62532,7 +62242,7 @@ paths: application/json: schema: type: array - items: &430 + items: &428 type: object description: A Dependabot alert. properties: @@ -62578,7 +62288,7 @@ paths: - unknown - direct - transitive - security_advisory: *428 + security_advisory: *426 security_vulnerability: *52 url: *56 html_url: *57 @@ -62609,7 +62319,7 @@ paths: nullable: true maxLength: 280 fixed_at: *134 - auto_dismissed_at: *429 + auto_dismissed_at: *427 required: - number - state @@ -62839,9 +62549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *278 - - *279 - - &431 + - *276 + - *277 + - &429 name: alert_number in: path description: |- @@ -62856,7 +62566,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *428 examples: default: value: @@ -62969,9 +62679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *278 - - *279 - - *431 + - *276 + - *277 + - *429 requestBody: required: true content: @@ -63016,7 +62726,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *428 examples: default: value: @@ -63145,8 +62855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -63164,7 +62874,7 @@ paths: type: integer secrets: type: array - items: &434 + items: &432 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -63217,16 +62927,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: *433 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63246,15 +62956,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '200': description: Response content: application/json: - schema: *434 + schema: *432 examples: default: value: @@ -63280,8 +62990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 requestBody: required: true @@ -63334,8 +63044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '204': @@ -63358,8 +63068,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: - - *278 - - *279 + - *276 + - *277 - 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 @@ -63519,8 +63229,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -63759,8 +63469,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -63835,7 +63545,7 @@ paths: - version - url additionalProperties: false - metadata: &435 + metadata: &433 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -63868,7 +63578,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *435 + metadata: *433 resolved: type: object description: A collection of resolved package dependencies. @@ -63881,7 +63591,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *435 + metadata: *433 relationship: type: string description: A notation of whether a dependency is requested @@ -64010,8 +63720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *278 - - *279 + - *276 + - *277 - name: sha description: The SHA recorded at creation time. in: query @@ -64051,9 +63761,9 @@ paths: application/json: schema: type: array - items: *436 + items: *434 examples: - default: *437 + default: *435 headers: Link: *58 x-github: @@ -64119,8 +63829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -64201,7 +63911,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *434 examples: simple-example: summary: Simple example @@ -64274,9 +63984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *278 - - *279 - - &438 + - *276 + - *277 + - &436 name: deployment_id description: deployment_id parameter in: path @@ -64288,7 +63998,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *434 examples: default: value: @@ -64353,9 +64063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *278 - - *279 - - *438 + - *276 + - *277 + - *436 responses: '204': description: Response @@ -64377,9 +64087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *278 - - *279 - - *438 + - *276 + - *277 + - *436 - *17 - *19 responses: @@ -64389,7 +64099,7 @@ paths: application/json: schema: type: array - items: &439 + items: &437 title: Deployment Status description: The status of a deployment. type: object @@ -64550,9 +64260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *278 - - *279 - - *438 + - *276 + - *277 + - *436 requestBody: required: true content: @@ -64627,9 +64337,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *437 examples: - default: &440 + default: &438 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -64685,9 +64395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *278 - - *279 - - *438 + - *276 + - *277 + - *436 - name: status_id in: path required: true @@ -64698,9 +64408,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *437 examples: - default: *440 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -64725,8 +64435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -64783,8 +64493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -64801,7 +64511,7 @@ paths: type: integer environments: type: array - items: &442 + items: &440 title: Environment description: Details of a deployment environment type: object @@ -64853,7 +64563,7 @@ paths: type: type: string example: wait_timer - wait_timer: &444 + wait_timer: &442 type: integer example: 30 description: The amount of time to delay a job after @@ -64890,7 +64600,7 @@ paths: items: type: object properties: - type: *441 + type: *439 reviewer: anyOf: - *4 @@ -64914,7 +64624,7 @@ paths: - id - node_id - type - deployment_branch_policy: &445 + deployment_branch_policy: &443 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -65030,9 +64740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *278 - - *279 - - &443 + - *276 + - *277 + - &441 name: environment_name in: path required: true @@ -65045,9 +64755,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *440 examples: - default: &446 + default: &444 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -65131,9 +64841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 requestBody: required: false content: @@ -65142,7 +64852,7 @@ paths: type: object nullable: true properties: - wait_timer: *444 + wait_timer: *442 prevent_self_review: type: boolean example: false @@ -65159,13 +64869,13 @@ paths: items: type: object properties: - type: *441 + type: *439 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *445 + deployment_branch_policy: *443 additionalProperties: false examples: default: @@ -65185,9 +64895,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *440 examples: - default: *446 + default: *444 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -65211,9 +64921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 responses: '204': description: Default response @@ -65238,9 +64948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *17 - *19 responses: @@ -65258,7 +64968,7 @@ paths: example: 2 branch_policies: type: array - items: &447 + items: &445 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -65315,9 +65025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 requestBody: required: true content: @@ -65363,9 +65073,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: - example-wildcard: &448 + example-wildcard: &446 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -65407,10 +65117,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *278 - - *279 - - *443 - - &449 + - *276 + - *277 + - *441 + - &447 name: branch_policy_id in: path required: true @@ -65422,9 +65132,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: - default: *448 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65443,10 +65153,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *278 - - *279 - - *443 - - *449 + - *276 + - *277 + - *441 + - *447 requestBody: required: true content: @@ -65474,9 +65184,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: - default: *448 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65495,10 +65205,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *278 - - *279 - - *443 - - *449 + - *276 + - *277 + - *441 + - *447 responses: '204': description: Response @@ -65523,9 +65233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *443 - - *279 - - *278 + - *441 + - *277 + - *276 responses: '200': description: List of deployment protection rules @@ -65541,7 +65251,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &450 + items: &448 title: Deployment protection rule description: Deployment protection rule type: object @@ -65560,7 +65270,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &451 + app: &449 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -65659,9 +65369,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: - - *443 - - *279 - - *278 + - *441 + - *277 + - *276 requestBody: content: application/json: @@ -65682,9 +65392,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *450 + schema: *448 examples: - default: &452 + default: &450 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -65719,9 +65429,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: - - *443 - - *279 - - *278 + - *441 + - *277 + - *276 - *19 - *17 responses: @@ -65740,7 +65450,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *451 + items: *449 examples: default: value: @@ -65775,10 +65485,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *278 - - *279 - - *443 - - &453 + - *276 + - *277 + - *441 + - &451 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -65790,9 +65500,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *448 examples: - default: *452 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65813,10 +65523,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *443 - - *279 - - *278 - - *453 + - *441 + - *277 + - *276 + - *451 responses: '204': description: Response @@ -65842,9 +65552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *17 - *19 responses: @@ -65862,9 +65572,9 @@ paths: type: integer secrets: type: array - items: *324 + items: *322 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -65889,17 +65599,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 responses: '200': description: Response content: application/json: - schema: *326 + schema: *324 examples: - default: *327 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65921,18 +65631,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *127 responses: '200': description: Response content: application/json: - schema: *324 + schema: *322 examples: - default: *454 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65954,9 +65664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *127 requestBody: required: true @@ -66014,9 +65724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *127 responses: '204': @@ -66042,10 +65752,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *278 - - *279 - - *443 - - *300 + - *276 + - *277 + - *441 + - *298 - *19 responses: '200': @@ -66062,9 +65772,9 @@ paths: type: integer variables: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *58 x-github: @@ -66087,9 +65797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 requestBody: required: true content: @@ -66141,18 +65851,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *130 responses: '200': description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: *455 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66173,10 +65883,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 - - *443 + - *441 requestBody: required: true content: @@ -66218,10 +65928,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 - - *443 + - *441 responses: '204': description: Response @@ -66243,8 +65953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -66321,8 +66031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *278 - - *279 + - *276 + - *277 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -66481,8 +66191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -66514,9 +66224,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 + default: *289 '400': *14 '422': *15 '403': *29 @@ -66537,8 +66247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -66598,7 +66308,7 @@ paths: schema: oneOf: - *97 - - *456 + - *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66623,8 +66333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *278 - - *279 + - *276 + - *277 - name: file_sha in: path required: true @@ -66723,8 +66433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -66833,7 +66543,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &455 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -67047,15 +66757,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *278 - - *279 - - *410 + - *276 + - *277 + - *408 responses: '200': description: Response content: application/json: - schema: *457 + schema: *455 examples: default: value: @@ -67111,9 +66821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *278 - - *279 - - &458 + - *276 + - *277 + - &456 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. @@ -67130,7 +66840,7 @@ paths: application/json: schema: type: array - items: &459 + items: &457 title: Git Reference description: Git references within a repository type: object @@ -67205,17 +66915,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *278 - - *279 - - *458 + - *276 + - *277 + - *456 responses: '200': description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: &460 + default: &458 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -67244,8 +66954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -67274,9 +66984,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *460 + default: *458 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -67302,9 +67012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *278 - - *279 - - *458 + - *276 + - *277 + - *456 requestBody: required: true content: @@ -67333,9 +67043,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *460 + default: *458 '422': *15 '409': *46 x-github: @@ -67353,9 +67063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *278 - - *279 - - *458 + - *276 + - *277 + - *456 responses: '204': description: Response @@ -67408,8 +67118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -67476,7 +67186,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &460 title: Git Tag description: Metadata for a Git tag type: object @@ -67527,7 +67237,7 @@ paths: - sha - type - url - verification: *461 + verification: *459 required: - sha - url @@ -67537,7 +67247,7 @@ paths: - tag - message examples: - default: &463 + default: &461 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -67610,8 +67320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *278 - - *279 + - *276 + - *277 - name: tag_sha in: path required: true @@ -67622,9 +67332,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: - default: *463 + default: *461 '404': *6 '409': *46 x-github: @@ -67648,8 +67358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -67722,7 +67432,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &462 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -67834,8 +67544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *278 - - *279 + - *276 + - *277 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -67858,7 +67568,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *462 examples: default-response: summary: Default response @@ -67917,8 +67627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -67928,7 +67638,7 @@ paths: application/json: schema: type: array - items: &465 + items: &463 title: Webhook description: Webhooks for repositories. type: object @@ -67982,7 +67692,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &689 + last_response: &687 title: Hook Response type: object properties: @@ -68056,8 +67766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -68109,9 +67819,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *463 examples: - default: &466 + default: &464 value: type: Repository id: 12345678 @@ -68159,17 +67869,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '200': description: Response content: application/json: - schema: *465 + schema: *463 examples: - default: *466 + default: *464 '404': *6 x-github: githubCloudOnly: false @@ -68189,8 +67899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 requestBody: required: true @@ -68236,9 +67946,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *463 examples: - default: *466 + default: *464 '422': *15 '404': *6 x-github: @@ -68259,8 +67969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '204': @@ -68285,8 +67995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '200': @@ -68314,8 +68024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *165 requestBody: required: false @@ -68360,8 +68070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 - *17 - *166 @@ -68393,8 +68103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 - *16 responses: @@ -68423,8 +68133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 - *16 responses: @@ -68448,8 +68158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '204': @@ -68475,8 +68185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '204': @@ -68535,14 +68245,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: &467 + schema: &465 title: Import description: A repository import from an external source. type: object @@ -68641,7 +68351,7 @@ paths: - html_url - authors_url examples: - default: &470 + default: &468 value: vcs: subversion use_lfs: true @@ -68657,7 +68367,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': &468 + '503': &466 description: Unavailable due to service under maintenance. content: application/json: @@ -68686,8 +68396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -68735,7 +68445,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *465 examples: default: value: @@ -68760,7 +68470,7 @@ paths: type: string '422': *15 '404': *6 - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68788,8 +68498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -68838,7 +68548,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *465 examples: example-1: summary: Example 1 @@ -68886,7 +68596,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': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68909,12 +68619,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68940,9 +68650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *278 - - *279 - - &636 + - *276 + - *277 + - &634 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -68956,7 +68666,7 @@ paths: application/json: schema: type: array - items: &469 + items: &467 title: Porter Author description: Porter Author type: object @@ -69010,7 +68720,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': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69035,8 +68745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *278 - - *279 + - *276 + - *277 - name: author_id in: path required: true @@ -69066,7 +68776,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *467 examples: default: value: @@ -69079,7 +68789,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69103,8 +68813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -69145,7 +68855,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69173,8 +68883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -69201,11 +68911,11 @@ paths: description: Response content: application/json: - schema: *467 + schema: *465 examples: - default: *470 + default: *468 '422': *15 - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69228,8 +68938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -69237,8 +68947,8 @@ paths: application/json: schema: *22 examples: - default: *471 - '301': *290 + default: *469 + '301': *288 '404': *6 x-github: githubCloudOnly: false @@ -69258,8 +68968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -69272,7 +68982,7 @@ paths: properties: {} additionalProperties: false examples: - default: &473 + default: &471 value: limit: collaborators_only origin: repository @@ -69297,13 +69007,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: application/json: - schema: *472 + schema: *470 examples: default: summary: Example request body @@ -69317,7 +69027,7 @@ paths: application/json: schema: *183 examples: - default: *473 + default: *471 '409': description: Response x-github: @@ -69339,8 +69049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -69363,8 +69073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -69374,9 +69084,9 @@ paths: application/json: schema: type: array - items: *474 + items: *472 examples: - default: &629 + default: &627 value: - id: 1 repository: @@ -69507,8 +69217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *278 - - *279 + - *276 + - *277 - *187 requestBody: required: false @@ -69538,7 +69248,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *472 examples: default: value: @@ -69669,8 +69379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *278 - - *279 + - *276 + - *277 - *187 responses: '204': @@ -69702,8 +69412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *278 - - *279 + - *276 + - *277 - 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 @@ -69776,7 +69486,7 @@ paths: type: array items: *77 examples: - default: &485 + default: &483 value: - id: 1 node_id: MDU6SXNzdWUx @@ -69924,7 +69634,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *290 + '301': *288 '422': *15 '404': *6 x-github: @@ -69953,8 +69663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -70038,7 +69748,7 @@ paths: application/json: schema: *77 examples: - default: &480 + default: &478 value: id: 1 node_id: MDU6SXNzdWUx @@ -70194,7 +69904,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *287 + '410': *285 x-github: triggersNotification: true githubCloudOnly: false @@ -70222,8 +69932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -70244,9 +69954,9 @@ paths: application/json: schema: type: array - items: *475 + items: *473 examples: - default: &482 + default: &480 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70304,17 +70014,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '200': description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: &476 + default: &474 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70368,8 +70078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -70392,9 +70102,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: *476 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -70412,8 +70122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '204': @@ -70434,8 +70144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -70462,9 +70172,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 @@ -70485,8 +70195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -70519,16 +70229,16 @@ paths: description: Reaction exists content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Reaction created content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -70550,10 +70260,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *278 - - *279 + - *276 + - *277 - *76 - - *274 + - *272 responses: '204': description: Response @@ -70573,8 +70283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -70584,7 +70294,7 @@ paths: application/json: schema: type: array - items: &479 + items: &477 title: Issue Event description: Issue Event type: object @@ -70627,8 +70337,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *477 - required: *478 + properties: *475 + required: *476 nullable: true label: title: Issue Event Label @@ -70935,8 +70645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *278 - - *279 + - *276 + - *277 - name: event_id in: path required: true @@ -70947,7 +70657,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *477 examples: default: value: @@ -71140,7 +70850,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *287 + '410': *285 '403': *29 x-github: githubCloudOnly: false @@ -71174,9 +70884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *278 - - *279 - - &481 + - *276 + - *277 + - &479 name: issue_number description: The number that identifies the issue. in: path @@ -71190,10 +70900,10 @@ paths: application/json: schema: *77 examples: - default: *480 - '301': *290 + default: *478 + '301': *288 '404': *6 - '410': *287 + '410': *285 '304': *37 x-github: githubCloudOnly: false @@ -71218,9 +70928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -71325,13 +71035,13 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 '422': *15 '503': *65 '403': *29 - '301': *290 + '301': *288 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71349,9 +71059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -71379,7 +71089,7 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71395,9 +71105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: content: application/json: @@ -71424,7 +71134,7 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71446,9 +71156,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: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - name: assignee in: path required: true @@ -71488,9 +71198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *67 - *17 - *19 @@ -71501,13 +71211,13 @@ paths: application/json: schema: type: array - items: *475 + items: *473 examples: - default: *482 + default: *480 headers: Link: *58 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71536,9 +71246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -71560,16 +71270,16 @@ paths: description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: *476 + default: *474 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *287 + '410': *285 '422': *15 '404': *6 x-github: @@ -71589,9 +71299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *17 - *19 responses: @@ -71605,7 +71315,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &486 + - &484 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -71659,7 +71369,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &485 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -71795,7 +71505,7 @@ paths: - performed_via_github_app - assignee - assigner - - &488 + - &486 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -71846,7 +71556,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &487 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -71897,7 +71607,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &488 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -71951,7 +71661,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &489 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -71998,7 +71708,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &490 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -72045,7 +71755,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &491 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -72105,7 +71815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &492 title: Locked Issue Event description: Locked Issue Event type: object @@ -72153,7 +71863,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &493 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -72219,7 +71929,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &494 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -72285,7 +71995,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &495 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -72351,7 +72061,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &496 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -72442,7 +72152,7 @@ paths: color: red headers: Link: *58 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72459,9 +72169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *17 - *19 responses: @@ -72471,7 +72181,7 @@ paths: application/json: schema: type: array - items: &483 + items: &481 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -72518,7 +72228,7 @@ paths: - color - default examples: - default: &484 + default: &482 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72536,9 +72246,9 @@ paths: default: false headers: Link: *58 - '301': *290 + '301': *288 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72555,9 +72265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -72616,12 +72326,12 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: - default: *484 - '301': *290 + default: *482 + '301': *288 '404': *6 - '410': *287 + '410': *285 '422': *15 x-github: githubCloudOnly: false @@ -72638,9 +72348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -72700,12 +72410,12 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: - default: *484 - '301': *290 + default: *482 + '301': *288 '404': *6 - '410': *287 + '410': *285 '422': *15 x-github: githubCloudOnly: false @@ -72722,15 +72432,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 responses: '204': description: Response - '301': *290 + '301': *288 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72749,9 +72459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - name: name in: path required: true @@ -72764,7 +72474,7 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: default: value: @@ -72775,9 +72485,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *290 + '301': *288 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72797,9 +72507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -72827,7 +72537,7 @@ paths: '204': description: Response '403': *29 - '410': *287 + '410': *285 '404': *6 '422': *15 x-github: @@ -72845,9 +72555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 responses: '204': description: Response @@ -72869,9 +72579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - 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. @@ -72897,13 +72607,13 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72921,9 +72631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -72955,16 +72665,16 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -72986,10 +72696,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *278 - - *279 - - *481 - - *274 + - *276 + - *277 + - *479 + - *272 responses: '204': description: Response @@ -73018,9 +72728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -73044,7 +72754,7 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -73077,9 +72787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *17 - *19 responses: @@ -73091,11 +72801,11 @@ paths: type: array items: *77 examples: - default: *485 + default: *483 headers: Link: *58 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73123,9 +72833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -73154,14 +72864,14 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *287 + '410': *285 '422': *15 '404': *6 x-github: @@ -73181,9 +72891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -73216,7 +72926,7 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 '403': *29 '404': *6 '422': *7 @@ -73238,9 +72948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *17 - *19 responses: @@ -73255,6 +72965,8 @@ paths: description: Timeline Event type: object anyOf: + - *484 + - *485 - *486 - *487 - *488 @@ -73266,8 +72978,6 @@ paths: - *494 - *495 - *496 - - *497 - - *498 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -73572,7 +73282,7 @@ paths: type: string comments: type: array - items: &519 + items: &517 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73781,7 +73491,7 @@ paths: type: string comments: type: array - items: *408 + items: *406 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -74070,7 +73780,7 @@ paths: headers: Link: *58 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74087,8 +73797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -74098,7 +73808,7 @@ paths: application/json: schema: type: array - items: &499 + items: &497 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -74163,8 +73873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74200,9 +73910,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: &500 + default: &498 value: id: 1 key: ssh-rsa AAA... @@ -74236,9 +73946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *278 - - *279 - - &501 + - *276 + - *277 + - &499 name: key_id description: The unique identifier of the key. in: path @@ -74250,9 +73960,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 '404': *6 x-github: githubCloudOnly: false @@ -74270,9 +73980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *278 - - *279 - - *501 + - *276 + - *277 + - *499 responses: '204': description: Response @@ -74292,8 +74002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -74303,9 +74013,9 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: - default: *484 + default: *482 headers: Link: *58 '404': *6 @@ -74326,8 +74036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74363,9 +74073,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: &502 + default: &500 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74397,8 +74107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *278 - - *279 + - *276 + - *277 - name: name in: path required: true @@ -74409,9 +74119,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: *502 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -74428,8 +74138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *278 - - *279 + - *276 + - *277 - name: name in: path required: true @@ -74468,7 +74178,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: default: value: @@ -74494,8 +74204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *278 - - *279 + - *276 + - *277 - name: name in: path required: true @@ -74521,8 +74231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -74561,9 +74271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *278 - - *279 - - *384 + - *276 + - *277 + - *382 responses: '200': description: Response @@ -74708,8 +74418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74774,8 +74484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74809,9 +74519,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *409 + schema: *407 examples: - default: *503 + default: *501 '204': description: Response when already merged '404': @@ -74836,8 +74546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *278 - - *279 + - *276 + - *277 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74878,12 +74588,12 @@ paths: application/json: schema: type: array - items: &504 + items: &502 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *413 - required: *414 + properties: *411 + required: *412 examples: default: value: @@ -74939,8 +74649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74980,9 +74690,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: &505 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -75041,9 +74751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *278 - - *279 - - &506 + - *276 + - *277 + - &504 name: milestone_number description: The number that identifies the milestone. in: path @@ -75055,9 +74765,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *505 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -75074,9 +74784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *278 - - *279 - - *506 + - *276 + - *277 + - *504 requestBody: required: false content: @@ -75114,9 +74824,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *505 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75132,9 +74842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *278 - - *279 - - *506 + - *276 + - *277 + - *504 responses: '204': description: Response @@ -75155,9 +74865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *278 - - *279 - - *506 + - *276 + - *277 + - *504 - *17 - *19 responses: @@ -75167,9 +74877,9 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: - default: *484 + default: *482 headers: Link: *58 x-github: @@ -75188,12 +74898,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *278 - - *279 - - *507 - - *508 + - *276 + - *277 + - *505 + - *506 - *67 - - *509 + - *507 - *17 - *19 responses: @@ -75205,7 +74915,7 @@ paths: type: array items: *90 examples: - default: *510 + default: *508 headers: Link: *58 x-github: @@ -75229,8 +74939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -75288,14 +74998,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: &511 + schema: &509 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -75420,7 +75130,7 @@ paths: - custom_404 - public examples: - default: &512 + default: &510 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -75461,8 +75171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -75516,9 +75226,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: *512 + default: *510 '422': *15 '409': *46 x-github: @@ -75541,8 +75251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -75641,8 +75351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -75668,8 +75378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -75679,7 +75389,7 @@ paths: application/json: schema: type: array - items: &513 + items: &511 title: Page Build description: Page Build type: object @@ -75773,8 +75483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *278 - - *279 + - *276 + - *277 responses: '201': description: Response @@ -75819,16 +75529,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *513 + schema: *511 examples: - default: &514 + default: &512 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75876,8 +75586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *278 - - *279 + - *276 + - *277 - name: build_id in: path required: true @@ -75888,9 +75598,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *511 examples: - default: *514 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75910,8 +75620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -76016,9 +75726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *278 - - *279 - - &515 + - *276 + - *277 + - &513 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -76076,9 +75786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *278 - - *279 - - *515 + - *276 + - *277 + - *513 responses: '204': *142 '404': *6 @@ -76105,8 +75815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -76364,8 +76074,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Private vulnerability reporting status @@ -76402,8 +76112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': *142 '422': *14 @@ -76424,8 +76134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': *142 '422': *14 @@ -76448,8 +76158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *278 - - *279 + - *276 + - *277 - name: state description: Indicates the state of the projects to return. in: query @@ -76510,7 +76220,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *287 + '410': *285 '422': *7 x-github: githubCloudOnly: false @@ -76533,8 +76243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -76562,11 +76272,11 @@ paths: application/json: schema: *226 examples: - default: *286 + default: *284 '401': *25 '403': *29 '404': *6 - '410': *287 + '410': *285 '422': *7 x-github: githubCloudOnly: false @@ -76589,8 +76299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -76629,8 +76339,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -76692,8 +76402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *278 - - *279 + - *276 + - *277 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76753,9 +76463,9 @@ paths: application/json: schema: type: array - items: *516 + items: *514 examples: - default: *517 + default: *515 headers: Link: *58 '304': *37 @@ -76787,8 +76497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -76853,7 +76563,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &519 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -76964,8 +76674,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *413 - required: *414 + properties: *411 + required: *412 nullable: true active_lock_reason: type: string @@ -77049,14 +76759,14 @@ paths: _links: type: object properties: - comments: *415 - commits: *415 - statuses: *415 - html: *415 - issue: *415 - review_comments: *415 - review_comment: *415 - self: *415 + comments: *413 + commits: *413 + statuses: *413 + html: *413 + issue: *413 + review_comments: *413 + review_comment: *413 + self: *413 required: - comments - commits @@ -77067,7 +76777,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *518 + auto_merge: *516 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -77159,7 +76869,7 @@ paths: - merged_by - review_comments examples: - default: &522 + default: &520 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77686,8 +77396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - name: sort in: query required: false @@ -77716,9 +77426,9 @@ paths: application/json: schema: type: array - items: *519 + items: *517 examples: - default: &524 + default: &522 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77795,17 +77505,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '200': description: Response content: application/json: - schema: *519 + schema: *517 examples: - default: &520 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77880,8 +77590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -77904,9 +77614,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: - default: *520 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77922,8 +77632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '204': @@ -77945,8 +77655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77973,9 +77683,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 @@ -77996,8 +77706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -78030,16 +77740,16 @@ paths: description: Reaction exists content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Reaction created content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -78061,10 +77771,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *278 - - *279 + - *276 + - *277 - *76 - - *274 + - *272 responses: '204': description: Response @@ -78107,9 +77817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *278 - - *279 - - &523 + - *276 + - *277 + - &521 name: pull_number description: The number that identifies the pull request. in: path @@ -78122,9 +77832,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *521 + schema: *519 examples: - default: *522 + default: *520 '304': *37 '404': *6 '406': @@ -78159,9 +77869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -78203,9 +77913,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *519 examples: - default: *522 + default: *520 '422': *15 '403': *29 x-github: @@ -78227,9 +77937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: true content: @@ -78291,7 +78001,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -78299,7 +78009,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '401': *25 '403': *29 '404': *6 @@ -78329,9 +78039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -78352,9 +78062,9 @@ paths: application/json: schema: type: array - items: *519 + items: *517 examples: - default: *524 + default: *522 headers: Link: *58 x-github: @@ -78387,9 +78097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: true content: @@ -78494,7 +78204,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: example-for-a-multi-line-comment: value: @@ -78582,9 +78292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *76 requestBody: required: true @@ -78607,7 +78317,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: default: value: @@ -78693,9 +78403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *17 - *19 responses: @@ -78705,9 +78415,9 @@ paths: application/json: schema: type: array - items: *409 + items: *407 examples: - default: *525 + default: *523 headers: Link: *58 x-github: @@ -78737,9 +78447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *17 - *19 responses: @@ -78749,7 +78459,7 @@ paths: application/json: schema: type: array - items: *424 + items: *422 examples: default: value: @@ -78787,9 +78497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 responses: '204': description: Response if pull request has been merged @@ -78812,9 +78522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -78925,9 +78635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 responses: '200': description: Response @@ -79002,9 +78712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -79041,7 +78751,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *514 examples: default: value: @@ -79577,9 +79287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: true content: @@ -79613,7 +79323,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *514 examples: default: value: @@ -80118,9 +79828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *17 - *19 responses: @@ -80130,7 +79840,7 @@ paths: application/json: schema: type: array - items: &526 + items: &524 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -80281,9 +79991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -80369,9 +80079,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: &528 + default: &526 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -80434,10 +80144,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - &527 + - *276 + - *277 + - *521 + - &525 name: review_id description: The unique identifier of the review. in: path @@ -80449,9 +80159,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: &529 + default: &527 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -80510,10 +80220,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 requestBody: required: true content: @@ -80536,7 +80246,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: default: value: @@ -80598,18 +80308,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: *528 + default: *526 '422': *7 '404': *6 x-github: @@ -80636,10 +80346,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 - *17 - *19 responses: @@ -80722,9 +80432,9 @@ paths: _links: type: object properties: - self: *415 - html: *415 - pull_request: *415 + self: *413 + html: *413 + pull_request: *413 required: - self - html @@ -80867,10 +80577,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 requestBody: required: true content: @@ -80898,7 +80608,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: default: value: @@ -80961,10 +80671,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 requestBody: required: true content: @@ -80999,9 +80709,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: *529 + default: *527 '404': *6 '422': *7 '403': *29 @@ -81023,9 +80733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -81088,8 +80798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *278 - - *279 + - *276 + - *277 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -81102,9 +80812,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *528 examples: - default: &531 + default: &529 value: type: file encoding: base64 @@ -81146,8 +80856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *278 - - *279 + - *276 + - *277 - name: dir description: The alternate path to look for a README file in: path @@ -81167,9 +80877,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *528 examples: - default: *531 + default: *529 '404': *6 '422': *15 x-github: @@ -81191,8 +80901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -81202,7 +80912,7 @@ paths: application/json: schema: type: array - items: &532 + items: &530 title: Release description: A release. type: object @@ -81265,7 +80975,7 @@ paths: author: *4 assets: type: array - items: &533 + items: &531 title: Release Asset description: Data related to a release. type: object @@ -81446,8 +81156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -81523,9 +81233,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *530 examples: - default: &536 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -81628,9 +81338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *278 - - *279 - - &534 + - *276 + - *277 + - &532 name: asset_id description: The unique identifier of the asset. in: path @@ -81642,9 +81352,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: &535 + default: &533 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 @@ -81678,7 +81388,7 @@ paths: type: User site_admin: false '404': *6 - '302': *426 + '302': *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81694,9 +81404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *278 - - *279 - - *534 + - *276 + - *277 + - *532 requestBody: required: false content: @@ -81724,9 +81434,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: *535 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81742,9 +81452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *278 - - *279 - - *534 + - *276 + - *277 + - *532 responses: '204': description: Response @@ -81768,8 +81478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -81854,16 +81564,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *532 + schema: *530 examples: - default: *536 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81880,8 +81590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *278 - - *279 + - *276 + - *277 - name: tag description: tag parameter in: path @@ -81894,9 +81604,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *530 examples: - default: *536 + default: *534 '404': *6 x-github: githubCloudOnly: false @@ -81918,9 +81628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *278 - - *279 - - &537 + - *276 + - *277 + - &535 name: release_id description: The unique identifier of the release. in: path @@ -81934,9 +81644,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: *532 + schema: *530 examples: - default: *536 + default: *534 '401': description: Unauthorized x-github: @@ -81954,9 +81664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 requestBody: required: false content: @@ -82020,9 +81730,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *530 examples: - default: *536 + default: *534 '404': description: Not Found if the discussion category name is invalid content: @@ -82043,9 +81753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 responses: '204': description: Response @@ -82065,9 +81775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 - *17 - *19 responses: @@ -82077,7 +81787,7 @@ paths: application/json: schema: type: array - items: *533 + items: *531 examples: default: value: @@ -82157,9 +81867,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: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 - name: name in: query required: true @@ -82185,7 +81895,7 @@ paths: description: Response for successful upload content: application/json: - schema: *533 + schema: *531 examples: response-for-successful-upload: value: @@ -82239,9 +81949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 - 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. @@ -82265,9 +81975,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 @@ -82288,9 +81998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 requestBody: required: true content: @@ -82320,16 +82030,16 @@ paths: description: Reaction exists content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Reaction created content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -82351,10 +82061,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *278 - - *279 - - *537 - - *274 + - *276 + - *277 + - *535 + - *272 responses: '204': description: Response @@ -82378,9 +82088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 - *17 - *19 responses: @@ -82396,8 +82106,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *538 - - &540 + - *536 + - &538 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82416,66 +82126,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *537 + - *538 - allOf: - *539 + - *538 + - allOf: - *540 + - *538 - allOf: - *541 - - *540 + - *538 - allOf: - *542 - - *540 + - *538 - allOf: - *543 - - *540 + - *538 - allOf: - *544 - - *540 + - *538 - allOf: - *545 - - *540 + - *538 - allOf: - *546 - - *540 + - *538 - allOf: - *547 - - *540 + - *538 - allOf: - *548 - - *540 + - *538 - allOf: - *549 - - *540 + - *538 - allOf: - *550 - - *540 + - *538 - allOf: - *551 - - *540 + - *538 - allOf: - *552 - - *540 + - *538 - allOf: - *553 - - *540 + - *538 - allOf: - *554 - - *540 + - *538 - allOf: - *555 - - *540 + - *538 - allOf: - *556 - - *540 + - *538 - allOf: - *557 - - *540 - - allOf: - - *558 - - *540 - - allOf: - - *559 - - *540 + - *538 examples: default: value: @@ -82514,8 +82224,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 - name: includes_parents @@ -82526,7 +82236,7 @@ paths: schema: type: boolean default: true - - *560 + - *558 responses: '200': description: Response @@ -82581,8 +82291,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 requestBody: description: Request body required: true @@ -82644,7 +82354,7 @@ paths: application/json: schema: *241 examples: - default: &570 + default: &568 value: id: 42 name: super cool ruleset @@ -82691,12 +82401,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *278 - - *279 + - *276 + - *277 + - *559 + - *560 - *561 - *562 - - *563 - - *564 - *17 - *19 responses: @@ -82704,9 +82414,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: - default: *566 + default: *564 '404': *6 '500': *145 x-github: @@ -82727,17 +82437,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *278 - - *279 - - *567 + - *276 + - *277 + - *565 responses: '200': description: Response content: application/json: - schema: *568 + schema: *566 examples: - default: *569 + default: *567 '404': *6 '500': *145 x-github: @@ -82765,8 +82475,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82788,7 +82498,7 @@ paths: application/json: schema: *241 examples: - default: *570 + default: *568 '404': *6 '500': *145 put: @@ -82806,8 +82516,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82871,7 +82581,7 @@ paths: application/json: schema: *241 examples: - default: *570 + default: *568 '404': *6 '500': *145 delete: @@ -82889,8 +82599,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82913,8 +82623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 - name: ruleset_id @@ -82932,7 +82642,7 @@ paths: type: array items: *243 examples: - default: *571 + default: *569 '404': *6 '500': *145 x-github: @@ -82951,8 +82661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *278 - - *279 + - *276 + - *277 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82970,7 +82680,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *570 examples: default: value: @@ -83025,8 +82735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *244 - *245 - *246 @@ -83034,8 +82744,8 @@ paths: - *48 - *19 - *17 - - *573 - - *574 + - *571 + - *572 - *248 - *249 - *250 @@ -83046,7 +82756,7 @@ paths: application/json: schema: type: array - items: &577 + items: &575 type: object properties: number: *54 @@ -83065,8 +82775,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *575 - resolution: *576 + state: *573 + resolution: *574 resolved_at: type: string format: date-time @@ -83284,15 +82994,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 responses: '200': description: Response content: application/json: - schema: *577 + schema: *575 examples: default: value: @@ -83344,9 +83054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 requestBody: required: true content: @@ -83354,8 +83064,8 @@ paths: schema: type: object properties: - state: *575 - resolution: *576 + state: *573 + resolution: *574 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -83373,7 +83083,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *575 examples: default: value: @@ -83448,9 +83158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 - *19 - *17 responses: @@ -83461,7 +83171,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &710 + items: &708 type: object properties: type: @@ -83820,8 +83530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -83829,14 +83539,14 @@ paths: schema: type: object properties: - reason: &579 + reason: &577 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *578 + placeholder_id: *576 required: - reason - placeholder_id @@ -83853,7 +83563,7 @@ paths: schema: type: object properties: - reason: *579 + reason: *577 expire_at: type: string format: date-time @@ -83896,8 +83606,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: - - *278 - - *279 + - *276 + - *277 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -83912,7 +83622,7 @@ paths: properties: incremental_scans: type: array - items: &580 + items: &578 description: Information on a single scan performed by secret scanning on the repository type: object @@ -83938,15 +83648,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *580 + items: *578 backfill_scans: type: array - items: *580 + items: *578 custom_pattern_backfill_scans: type: array items: allOf: - - *580 + - *578 - type: object properties: pattern_name: @@ -84016,8 +83726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *278 - - *279 + - *276 + - *277 - *48 - name: sort description: The property to sort the results by. @@ -84061,9 +83771,9 @@ paths: application/json: schema: type: array - items: *581 + items: *579 examples: - default: *582 + default: *580 '400': *14 '404': *6 x-github: @@ -84086,8 +83796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -84247,9 +83957,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: &584 + default: &582 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -84482,8 +84192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -84587,7 +84297,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: default: value: @@ -84734,17 +84444,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *278 - - *279 - - *583 + - *276 + - *277 + - *581 responses: '200': description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: *584 + default: *582 '403': *29 '404': *6 x-github: @@ -84768,9 +84478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *278 - - *279 - - *583 + - *276 + - *277 + - *581 requestBody: required: true content: @@ -84929,10 +84639,10 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: *584 - add_credit: *584 + default: *582 + add_credit: *582 '403': *29 '404': *6 '422': @@ -84970,9 +84680,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: - - *278 - - *279 - - *583 + - *276 + - *277 + - *581 responses: '202': *47 '400': *14 @@ -84999,17 +84709,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *278 - - *279 - - *583 + - *276 + - *277 + - *581 responses: '202': description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 + default: *289 '400': *14 '422': *15 '403': *29 @@ -85035,8 +84745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -85135,8 +84845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85145,7 +84855,7 @@ paths: application/json: schema: type: array - items: &585 + items: &583 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -85178,8 +84888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -85255,8 +84965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -85352,8 +85062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -85507,8 +85217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -85518,7 +85228,7 @@ paths: application/json: schema: type: array - items: *585 + items: *583 examples: default: value: @@ -85551,8 +85261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *278 - - *279 + - *276 + - *277 - name: sha in: path required: true @@ -85606,7 +85316,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -85660,8 +85370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -85693,14 +85403,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &587 + schema: &585 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -85768,8 +85478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -85795,7 +85505,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: default: value: @@ -85822,8 +85532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -85843,8 +85553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -85923,8 +85633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -85932,7 +85642,7 @@ paths: application/json: schema: type: array - items: &588 + items: &586 title: Tag protection description: Tag protection type: object @@ -85984,8 +85694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -86008,7 +85718,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: default: value: @@ -86039,8 +85749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86077,8 +85787,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *278 - - *279 + - *276 + - *277 - name: ref in: path required: true @@ -86114,8 +85824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -86147,8 +85857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *278 - - *279 + - *276 + - *277 - *19 - *17 responses: @@ -86156,7 +85866,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &587 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86168,7 +85878,7 @@ paths: required: - names examples: - default: &590 + default: &588 value: names: - octocat @@ -86191,8 +85901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -86223,9 +85933,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *587 examples: - default: *590 + default: *588 '404': *6 '422': *7 x-github: @@ -86246,9 +85956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *278 - - *279 - - &591 + - *276 + - *277 + - &589 name: per description: The time frame to display results for. in: query @@ -86277,7 +85987,7 @@ paths: example: 128 clones: type: array - items: &592 + items: &590 title: Traffic type: object properties: @@ -86364,8 +86074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -86455,8 +86165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -86516,9 +86226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *278 - - *279 - - *591 + - *276 + - *277 + - *589 responses: '200': description: Response @@ -86537,7 +86247,7 @@ paths: example: 3782 views: type: array - items: *592 + items: *590 required: - uniques - count @@ -86614,8 +86324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -86889,8 +86599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -86913,8 +86623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -86936,8 +86646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -86963,8 +86673,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *278 - - *279 + - *276 + - *277 - name: ref in: path required: true @@ -87056,9 +86766,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 + default: *289 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87306,7 +87016,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &593 + text_matches: &591 title: Search Result Text Matches type: array items: @@ -87468,7 +87178,7 @@ paths: enum: - author-date - committer-date - - &594 + - &592 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 @@ -87539,7 +87249,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *344 + properties: *342 nullable: true comment_count: type: integer @@ -87559,7 +87269,7 @@ paths: url: type: string format: uri - verification: *461 + verification: *459 required: - author - committer @@ -87578,7 +87288,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *344 + properties: *342 nullable: true parents: type: array @@ -87596,7 +87306,7 @@ paths: type: number node_id: type: string - text_matches: *593 + text_matches: *591 required: - sha - node_id @@ -87778,7 +87488,7 @@ paths: - interactions - created - updated - - *594 + - *592 - *17 - *19 - name: advanced_search @@ -87905,8 +87615,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *413 - required: *414 + properties: *411 + required: *412 nullable: true comments: type: integer @@ -87920,7 +87630,7 @@ paths: type: string format: date-time nullable: true - text_matches: *593 + text_matches: *591 pull_request: type: object properties: @@ -88148,7 +87858,7 @@ paths: enum: - created - updated - - *594 + - *592 - *17 - *19 responses: @@ -88192,7 +87902,7 @@ paths: nullable: true score: type: number - text_matches: *593 + text_matches: *591 required: - id - node_id @@ -88277,7 +87987,7 @@ paths: - forks - help-wanted-issues - updated - - *594 + - *592 - *17 - *19 responses: @@ -88516,7 +88226,7 @@ paths: - admin - pull - push - text_matches: *593 + text_matches: *591 temp_clone_token: type: string allow_merge_commit: @@ -88816,7 +88526,7 @@ paths: type: string format: uri nullable: true - text_matches: *593 + text_matches: *591 related: type: array nullable: true @@ -89007,7 +88717,7 @@ paths: - followers - repositories - joined - - *594 + - *592 - *17 - *19 responses: @@ -89111,7 +88821,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *593 + text_matches: *591 blog: type: string nullable: true @@ -89190,7 +88900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &595 + - &593 name: team_id description: The unique identifier of the team. in: path @@ -89202,9 +88912,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -89231,7 +88941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *595 + - *593 requestBody: required: true content: @@ -89294,16 +89004,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '201': description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '404': *6 '422': *15 '403': *29 @@ -89331,7 +89041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *595 + - *593 responses: '204': description: Response @@ -89362,7 +89072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *595 + - *593 - *48 - *17 - *19 @@ -89373,9 +89083,9 @@ paths: application/json: schema: type: array - items: *265 + items: *263 examples: - default: *596 + default: *594 headers: Link: *58 x-github: @@ -89404,7 +89114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *595 + - *593 requestBody: required: true content: @@ -89438,9 +89148,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: *266 + default: *264 x-github: triggersNotification: true githubCloudOnly: false @@ -89467,16 +89177,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 responses: '200': description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: *266 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89501,8 +89211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 requestBody: required: false content: @@ -89525,9 +89235,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: *597 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89552,8 +89262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 responses: '204': description: Response @@ -89582,8 +89292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *595 - - *267 + - *593 + - *265 - *48 - *17 - *19 @@ -89594,9 +89304,9 @@ paths: application/json: schema: type: array - items: *268 + items: *266 examples: - default: *598 + default: *596 headers: Link: *58 x-github: @@ -89625,8 +89335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *595 - - *267 + - *593 + - *265 requestBody: required: true content: @@ -89648,9 +89358,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: triggersNotification: true githubCloudOnly: false @@ -89677,17 +89387,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 responses: '200': description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89712,9 +89422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 requestBody: required: true content: @@ -89736,9 +89446,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *599 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89763,9 +89473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 responses: '204': description: Response @@ -89794,9 +89504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 - 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 team discussion comment. @@ -89822,9 +89532,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 x-github: @@ -89853,9 +89563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 requestBody: required: true content: @@ -89887,9 +89597,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89915,8 +89625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 - 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 team discussion. @@ -89942,9 +89652,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 x-github: @@ -89973,8 +89683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 requestBody: required: true content: @@ -90006,9 +89716,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90032,7 +89742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *595 + - *593 - *17 - *19 responses: @@ -90070,7 +89780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *595 + - *593 - name: role description: Filters members returned by their role in the team. in: query @@ -90121,7 +89831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *595 + - *593 - *132 responses: '204': @@ -90158,7 +89868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *595 + - *593 - *132 responses: '204': @@ -90198,7 +89908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *595 + - *593 - *132 responses: '204': @@ -90235,16 +89945,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *595 + - *593 - *132 responses: '200': description: Response content: application/json: - schema: *275 + schema: *273 examples: - response-if-user-is-a-team-maintainer: *600 + response-if-user-is-a-team-maintainer: *598 '404': *6 x-github: githubCloudOnly: false @@ -90277,7 +89987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *595 + - *593 - *132 requestBody: required: false @@ -90303,9 +90013,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *273 examples: - response-if-users-membership-with-team-is-now-pending: *601 + response-if-users-membership-with-team-is-now-pending: *599 '403': description: Forbidden if team synchronization is set up '422': @@ -90339,7 +90049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *595 + - *593 - *132 responses: '204': @@ -90368,7 +90078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *595 + - *593 - *17 - *19 responses: @@ -90378,9 +90088,9 @@ paths: application/json: schema: type: array - items: *276 + items: *274 examples: - default: *602 + default: *600 headers: Link: *58 '404': *6 @@ -90406,16 +90116,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *595 - - *277 + - *593 + - *275 responses: '200': description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *603 + default: *601 '404': description: Not Found if project is not managed by this team x-github: @@ -90439,8 +90149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *595 - - *277 + - *593 + - *275 requestBody: required: false content: @@ -90507,8 +90217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *595 - - *277 + - *593 + - *275 responses: '204': description: Response @@ -90535,7 +90245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *595 + - *593 - *17 - *19 responses: @@ -90577,15 +90287,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *595 - - *278 - - *279 + - *593 + - *276 + - *277 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *604 + schema: *602 examples: alternative-response-with-extra-repository-information: value: @@ -90736,9 +90446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *595 - - *278 - - *279 + - *593 + - *276 + - *277 requestBody: required: false content: @@ -90788,9 +90498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *595 - - *278 - - *279 + - *593 + - *276 + - *277 responses: '204': description: Response @@ -90815,7 +90525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *595 + - *593 - *17 - *19 responses: @@ -90827,7 +90537,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: *605 + response-if-child-teams-exist: *603 headers: Link: *58 '404': *6 @@ -90860,7 +90570,7 @@ paths: application/json: schema: oneOf: - - &607 + - &605 title: Private User description: Private User type: object @@ -91063,7 +90773,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *606 + - *604 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -91216,7 +90926,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: default: value: @@ -91562,7 +91272,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -91570,7 +91280,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '401': *25 '403': *29 '404': *6 @@ -91614,7 +91324,7 @@ paths: type: integer secrets: type: array - items: &608 + items: &606 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -91654,7 +91364,7 @@ paths: - visibility - selected_repositories_url examples: - default: *401 + default: *399 headers: Link: *58 x-github: @@ -91730,7 +91440,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: default: value: @@ -91876,7 +91586,7 @@ paths: type: array items: *119 examples: - default: *609 + default: *607 '401': *25 '403': *29 '404': *6 @@ -92028,7 +91738,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '304': *37 '500': *145 '401': *25 @@ -92086,7 +91796,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '401': *25 '403': *29 '404': *6 @@ -92143,7 +91853,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &608 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -92184,7 +91894,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &611 + default: &609 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -92229,9 +91939,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: - default: *611 + default: *609 '404': *6 x-github: githubCloudOnly: false @@ -92268,9 +91978,9 @@ paths: type: integer machines: type: array - items: *612 + items: *610 examples: - default: *613 + default: *611 '304': *37 '500': *145 '401': *25 @@ -92349,13 +92059,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *289 + repository: *287 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *399 - required: *400 + properties: *397 + required: *398 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -93137,7 +92847,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '304': *37 '500': *145 '400': *14 @@ -93177,7 +92887,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '500': *145 '401': *25 '403': *29 @@ -93209,7 +92919,7 @@ paths: type: array items: *210 examples: - default: &626 + default: &624 value: - id: 197 name: hello_docker @@ -93310,7 +93020,7 @@ paths: application/json: schema: type: array - items: &614 + items: &612 title: Email description: Email type: object @@ -93375,9 +93085,9 @@ paths: application/json: schema: type: array - items: *614 + items: *612 examples: - default: &628 + default: &626 value: - email: octocat@github.com verified: true @@ -93452,7 +93162,7 @@ paths: application/json: schema: type: array - items: *614 + items: *612 examples: default: value: @@ -93708,7 +93418,7 @@ paths: application/json: schema: type: array - items: &615 + items: &613 title: GPG Key description: A unique encryption key type: object @@ -93839,7 +93549,7 @@ paths: - subkeys - revoked examples: - default: &639 + default: &637 value: - id: 3 name: Octocat's GPG Key @@ -93924,9 +93634,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: - default: &616 + default: &614 value: id: 3 name: Octocat's GPG Key @@ -93983,7 +93693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &617 + - &615 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93995,9 +93705,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: - default: *616 + default: *614 '404': *6 '304': *37 '403': *29 @@ -94020,7 +93730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *617 + - *615 responses: '204': description: Response @@ -94211,7 +93921,7 @@ paths: type: array items: *60 examples: - default: *618 + default: *616 headers: Link: *58 '404': *6 @@ -94325,7 +94035,7 @@ paths: required: true content: application/json: - schema: *472 + schema: *470 examples: default: value: @@ -94475,7 +94185,7 @@ paths: application/json: schema: type: array - items: &619 + items: &617 title: Key description: Key type: object @@ -94572,9 +94282,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: &620 + default: &618 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94607,15 +94317,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *501 + - *499 responses: '200': description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: *620 + default: *618 '404': *6 '304': *37 '403': *29 @@ -94638,7 +94348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *501 + - *499 responses: '204': description: Response @@ -94671,7 +94381,7 @@ paths: application/json: schema: type: array - items: &621 + items: &619 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -94739,7 +94449,7 @@ paths: - account - plan examples: - default: &622 + default: &620 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -94801,9 +94511,9 @@ paths: application/json: schema: type: array - items: *621 + items: *619 examples: - default: *622 + default: *620 headers: Link: *58 '304': *37 @@ -95798,7 +95508,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *203 - - *623 + - *621 responses: '204': description: Response @@ -95871,7 +95581,7 @@ paths: type: array items: *199 examples: - default: *624 + default: *622 headers: Link: *58 '304': *37 @@ -95913,7 +95623,7 @@ paths: - docker - nuget - container - - *625 + - *623 - *19 - *17 responses: @@ -95925,8 +95635,8 @@ paths: type: array items: *210 examples: - default: *626 - '400': *627 + default: *624 + '400': *625 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95955,7 +95665,7 @@ paths: application/json: schema: *210 examples: - default: &640 + default: &638 value: id: 40201 name: octo-name @@ -96408,9 +96118,9 @@ paths: application/json: schema: type: array - items: *614 + items: *612 examples: - default: *628 + default: *626 headers: Link: *58 '304': *37 @@ -96523,7 +96233,7 @@ paths: type: array items: *60 examples: - default: &635 + default: &633 summary: Default response value: - id: 1296269 @@ -96825,9 +96535,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 + default: *289 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96865,9 +96575,9 @@ paths: application/json: schema: type: array - items: *474 + items: *472 examples: - default: *629 + default: *627 headers: Link: *58 '304': *37 @@ -96946,7 +96656,7 @@ paths: application/json: schema: type: array - items: &630 + items: &628 title: Social account description: Social media account type: object @@ -96961,7 +96671,7 @@ paths: - provider - url examples: - default: &631 + default: &629 value: - provider: twitter url: https://twitter.com/github @@ -97023,9 +96733,9 @@ paths: application/json: schema: type: array - items: *630 + items: *628 examples: - default: *631 + default: *629 '422': *15 '304': *37 '404': *6 @@ -97112,7 +96822,7 @@ paths: application/json: schema: type: array - items: &632 + items: &630 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -97132,7 +96842,7 @@ paths: - title - created_at examples: - default: &647 + default: &645 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97198,9 +96908,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: - default: &633 + default: &631 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97231,7 +96941,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: - - &634 + - &632 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -97243,9 +96953,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: - default: *633 + default: *631 '404': *6 '304': *37 '403': *29 @@ -97268,7 +96978,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: - - *634 + - *632 responses: '204': description: Response @@ -97297,7 +97007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &648 + - &646 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 @@ -97322,11 +97032,11 @@ paths: type: array items: *60 examples: - default-response: *635 + default-response: *633 application/vnd.github.v3.star+json: schema: type: array - items: &649 + items: &647 title: Starred Repository description: Starred Repository type: object @@ -97482,8 +97192,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: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response if this repository is starred by you @@ -97511,8 +97221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -97536,8 +97246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -97609,7 +97319,7 @@ paths: application/json: schema: type: array - items: *263 + items: *261 examples: default: value: @@ -97695,10 +97405,10 @@ paths: application/json: schema: oneOf: - - *607 - - *606 + - *605 + - *604 examples: - default-response: &637 + default-response: &635 summary: Default response value: login: octocat @@ -97733,7 +97443,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &638 + response-with-git-hub-plan-information: &636 summary: Response with GitHub plan information value: login: octocat @@ -97793,7 +97503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *636 + - *634 - *17 responses: '200': @@ -97842,11 +97552,11 @@ paths: application/json: schema: oneOf: - - *607 - - *606 + - *605 + - *604 examples: - default-response: *637 - response-with-git-hub-plan-information: *638 + default-response: *635 + response-with-git-hub-plan-information: *636 '404': *6 x-github: githubCloudOnly: false @@ -97922,7 +97632,7 @@ paths: bundle_url: type: string examples: - default: *340 + default: *338 '201': description: Response content: @@ -97963,7 +97673,7 @@ paths: type: array items: *210 examples: - default: *626 + default: *624 '403': *29 '401': *25 x-github: @@ -98367,9 +98077,9 @@ paths: application/json: schema: type: array - items: *615 + items: *613 examples: - default: *639 + default: *637 headers: Link: *58 x-github: @@ -98473,7 +98183,7 @@ paths: application/json: schema: *22 examples: - default: *471 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98551,7 +98261,7 @@ paths: type: array items: *199 examples: - default: *624 + default: *622 headers: Link: *58 x-github: @@ -98590,7 +98300,7 @@ paths: - docker - nuget - container - - *625 + - *623 - *132 - *19 - *17 @@ -98603,10 +98313,10 @@ paths: type: array items: *210 examples: - default: *626 + default: *624 '403': *29 '401': *25 - '400': *627 + '400': *625 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98636,7 +98346,7 @@ paths: application/json: schema: *210 examples: - default: *640 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99235,9 +98945,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *639 examples: - default: *642 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99265,9 +98975,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: *644 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99295,9 +99005,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *643 examples: - default: *646 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99325,9 +99035,9 @@ paths: application/json: schema: type: array - items: *630 + items: *628 examples: - default: *631 + default: *629 headers: Link: *58 x-github: @@ -99357,9 +99067,9 @@ paths: application/json: schema: type: array - items: *632 + items: *630 examples: - default: *647 + default: *645 headers: Link: *58 x-github: @@ -99384,7 +99094,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *648 + - *646 - *48 - *17 - *19 @@ -99396,11 +99106,11 @@ paths: schema: anyOf: - type: array - items: *649 + items: *647 - type: array items: *60 examples: - default-response: *635 + default-response: *633 headers: Link: *58 x-github: @@ -99559,7 +99269,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &650 + enterprise: &648 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -99617,7 +99327,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &651 + installation: &649 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -99636,7 +99346,7 @@ x-webhooks: required: - id - node_id - organization: &652 + organization: &650 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -99696,13 +99406,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &653 + repository: &651 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &683 + properties: &681 id: description: Unique identifier of the repository example: 42 @@ -100385,7 +100095,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &684 + required: &682 - archive_url - assignees_url - blobs_url @@ -100536,10 +100246,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -100615,11 +100325,11 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - rule: &654 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: &652 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) @@ -100842,11 +100552,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - rule: *654 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -101029,11 +100739,11 @@ x-webhooks: - everyone required: - from - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - rule: *654 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -101117,7 +100827,7 @@ x-webhooks: type: string enum: - completed - check_run: &656 + check_run: &654 title: CheckRun description: A check performed on the code of a given code change type: object @@ -101180,7 +100890,7 @@ x-webhooks: type: string pull_requests: type: array - items: *357 + items: *355 repository: *119 status: example: completed @@ -101218,7 +100928,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *655 + deployment: *653 details_url: example: https://example.com type: string @@ -101268,7 +100978,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *357 + items: *355 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -101303,9 +101013,9 @@ x-webhooks: - output - app - pull_requests - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -101698,10 +101408,10 @@ x-webhooks: type: string enum: - created - check_run: *656 - installation: *651 - organization: *652 - repository: *653 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -102097,10 +101807,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *656 - installation: *651 - organization: *652 - repository: *653 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 requested_action: description: The action requested by the user. type: object @@ -102505,10 +102215,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *656 - installation: *651 - organization: *652 - repository: *653 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -103485,10 +103195,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -104158,10 +103868,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -104825,10 +104535,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -104991,7 +104701,7 @@ x-webhooks: required: - login - id - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105136,20 +104846,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &657 + commit_oid: &655 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: *650 - installation: *651 - organization: *652 - ref: &658 + enterprise: *648 + installation: *649 + organization: *650 + ref: &656 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: *653 + repository: *651 sender: *4 required: - action @@ -105311,7 +105021,7 @@ x-webhooks: required: - login - id - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105541,12 +105251,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *657 - enterprise: *650 - installation: *651 - organization: *652 - ref: *658 - repository: *653 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -105641,7 +105351,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105809,12 +105519,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *657 - enterprise: *650 - installation: *651 - organization: *652 - ref: *658 - repository: *653 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -105977,7 +105687,7 @@ x-webhooks: required: - login - id - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -106143,12 +105853,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *657 - enterprise: *650 - installation: *651 - organization: *652 - ref: *658 - repository: *653 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -106245,7 +105955,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106413,16 +106123,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *653 + repository: *651 sender: *4 required: - action @@ -106516,7 +106226,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106656,12 +106366,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *657 - enterprise: *650 - installation: *651 - organization: *652 - ref: *658 - repository: *653 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -106918,10 +106628,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107001,18 +106711,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *652 - pusher_type: &659 + organization: *650 + pusher_type: &657 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &660 + ref: &658 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -107022,7 +106732,7 @@ x-webhooks: enum: - tag - branch - repository: *653 + repository: *651 sender: *4 required: - ref @@ -107105,9 +106815,9 @@ x-webhooks: enum: - created definition: *227 - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -107192,9 +106902,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -107272,9 +106982,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *227 - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -107352,9 +107062,9 @@ x-webhooks: enum: - updated definition: *227 - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -107431,10 +107141,10 @@ x-webhooks: type: string enum: - updated - enterprise: *650 - installation: *651 - repository: *653 - organization: *652 + enterprise: *648 + installation: *649 + repository: *651 + organization: *650 sender: *4 new_property_values: type: array @@ -107519,18 +107229,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 - pusher_type: *659 - ref: *660 + enterprise: *648 + installation: *649 + organization: *650 + pusher_type: *657 + ref: *658 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *653 + repository: *651 sender: *4 required: - ref @@ -107614,11 +107324,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -107702,11 +107412,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -107790,11 +107500,11 @@ x-webhooks: type: string enum: - created - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -107876,11 +107586,11 @@ x-webhooks: type: string enum: - dismissed - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -107962,11 +107672,11 @@ x-webhooks: type: string enum: - fixed - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -108049,11 +107759,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -108135,11 +107845,11 @@ x-webhooks: type: string enum: - reopened - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -108216,9 +107926,9 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - key: &661 + enterprise: *648 + installation: *649 + key: &659 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108254,8 +107964,8 @@ x-webhooks: - verified - created_at - read_only - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -108332,11 +108042,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - key: *661 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + key: *659 + organization: *650 + repository: *651 sender: *4 required: - action @@ -108897,12 +108607,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: &665 + workflow: &663 title: Workflow type: object nullable: true @@ -109628,13 +109338,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *436 + deployment: *434 pull_requests: type: array - items: *521 - repository: *653 - organization: *652 - installation: *651 + items: *519 + repository: *651 + organization: *650 + installation: *649 sender: *4 responses: '200': @@ -109705,7 +109415,7 @@ x-webhooks: type: string enum: - approved - approver: &662 + approver: &660 type: object properties: avatar_url: @@ -109748,11 +109458,11 @@ x-webhooks: type: string comment: type: string - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - reviewers: &663 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: &661 type: array items: type: object @@ -109831,7 +109541,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &664 + workflow_job_run: &662 type: object properties: conclusion: @@ -110562,18 +110272,18 @@ x-webhooks: type: string enum: - rejected - approver: *662 + approver: *660 comment: type: string - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - reviewers: *663 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: *661 sender: *4 since: type: string - workflow_job_run: *664 + workflow_job_run: *662 workflow_job_runs: type: array items: @@ -111277,13 +110987,13 @@ x-webhooks: type: string enum: - requested - enterprise: *650 + enterprise: *648 environment: type: string - installation: *651 - organization: *652 - repository: *653 - requestor: &670 + installation: *649 + organization: *650 + repository: *651 + requestor: &668 title: User type: object nullable: true @@ -113182,12 +112892,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *665 + workflow: *663 workflow_run: title: Deployment Workflow Run type: object @@ -113867,7 +113577,7 @@ x-webhooks: type: string enum: - answered - answer: &668 + answer: &666 type: object properties: author_association: @@ -114024,7 +113734,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &666 + discussion: &664 title: Discussion description: A Discussion in a repository. type: object @@ -114310,7 +114020,7 @@ x-webhooks: - id labels: type: array - items: *483 + items: *481 required: - repository_url - category @@ -114332,10 +114042,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114462,11 +114172,11 @@ x-webhooks: - from required: - category - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114549,11 +114259,11 @@ x-webhooks: type: string enum: - closed - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114635,7 +114345,7 @@ x-webhooks: type: string enum: - created - comment: &667 + comment: &665 type: object properties: author_association: @@ -114792,11 +114502,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114879,12 +114589,12 @@ x-webhooks: type: string enum: - deleted - comment: *667 - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114979,12 +114689,12 @@ x-webhooks: - from required: - body - comment: *667 - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115068,11 +114778,11 @@ x-webhooks: type: string enum: - created - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115154,11 +114864,11 @@ x-webhooks: type: string enum: - deleted - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115258,11 +114968,11 @@ x-webhooks: type: string required: - from - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115344,10 +115054,10 @@ x-webhooks: type: string enum: - labeled - discussion: *666 - enterprise: *650 - installation: *651 - label: &669 + discussion: *664 + enterprise: *648 + installation: *649 + label: &667 title: Label type: object properties: @@ -115379,8 +115089,8 @@ x-webhooks: - color - default - description - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115463,11 +115173,11 @@ x-webhooks: type: string enum: - locked - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115549,11 +115259,11 @@ x-webhooks: type: string enum: - pinned - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115635,11 +115345,11 @@ x-webhooks: type: string enum: - reopened - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115724,16 +115434,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *666 - new_repository: *653 + new_discussion: *664 + new_repository: *651 required: - new_discussion - new_repository - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115816,10 +115526,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *666 - old_answer: *668 - organization: *652 - repository: *653 + discussion: *664 + old_answer: *666 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115901,12 +115611,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *666 - enterprise: *650 - installation: *651 - label: *669 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115989,11 +115699,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -116075,11 +115785,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -116152,7 +115862,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *650 + enterprise: *648 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -116812,9 +116522,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - forkee @@ -116960,9 +116670,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pages: description: The pages that were updated. type: array @@ -116999,7 +116709,7 @@ x-webhooks: - action - sha - html_url - repository: *653 + repository: *651 sender: *4 required: - pages @@ -117075,10 +116785,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: &671 + organization: *650 + repositories: &669 description: An array of repository objects that the installation can access. type: array @@ -117104,8 +116814,8 @@ x-webhooks: - name - full_name - private - repository: *653 - requester: *670 + repository: *651 + requester: *668 sender: *4 required: - action @@ -117180,11 +116890,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: *671 - repository: *653 + organization: *650 + repositories: *669 + repository: *651 requester: nullable: true sender: *4 @@ -117260,11 +116970,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: *671 - repository: *653 + organization: *650 + repositories: *669 + repository: *651 requester: nullable: true sender: *4 @@ -117340,10 +117050,10 @@ x-webhooks: type: string enum: - added - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories_added: &672 + organization: *650 + repositories_added: &670 description: An array of repository objects, which were added to the installation. type: array @@ -117389,15 +117099,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *653 - repository_selection: &673 + repository: *651 + repository_selection: &671 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *670 + requester: *668 sender: *4 required: - action @@ -117476,10 +117186,10 @@ x-webhooks: type: string enum: - removed - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories_added: *672 + organization: *650 + repositories_added: *670 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -117506,9 +117216,9 @@ x-webhooks: - name - full_name - private - repository: *653 - repository_selection: *673 - requester: *670 + repository: *651 + repository_selection: *671 + requester: *668 sender: *4 required: - action @@ -117587,11 +117297,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: *671 - repository: *653 + organization: *650 + repositories: *669 + repository: *651 requester: nullable: true sender: *4 @@ -117769,10 +117479,10 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 target_type: type: string @@ -117851,11 +117561,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: *671 - repository: *653 + organization: *650 + repositories: *669 + repository: *651 requester: nullable: true sender: *4 @@ -118107,8 +117817,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119264,8 +118974,8 @@ x-webhooks: - state - locked - assignee - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119345,7 +119055,7 @@ x-webhooks: type: string enum: - deleted - comment: &674 + comment: &672 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -119510,8 +119220,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120665,8 +120375,8 @@ x-webhooks: - state - locked - assignee - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -120746,7 +120456,7 @@ x-webhooks: type: string enum: - edited - changes: &702 + changes: &700 description: The changes to the comment. type: object properties: @@ -120758,9 +120468,9 @@ x-webhooks: type: string required: - from - comment: *674 - enterprise: *650 - installation: *651 + comment: *672 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121915,8 +121625,8 @@ x-webhooks: - state - locked - assignee - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -121998,10 +121708,10 @@ x-webhooks: type: string enum: - assigned - assignee: *670 - enterprise: *650 - installation: *651 - issue: &677 + assignee: *668 + enterprise: *648 + installation: *649 + issue: &675 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122920,8 +122630,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -123001,8 +122711,8 @@ x-webhooks: type: string enum: - closed - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124061,8 +123771,8 @@ x-webhooks: required: - state - closed_at - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -124141,8 +123851,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125054,8 +124764,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -125134,8 +124844,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126050,7 +125760,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &675 + milestone: &673 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126188,8 +125898,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -126288,8 +125998,8 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127208,9 +126918,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *669 - organization: *652 - repository: *653 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -127290,8 +127000,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128209,9 +127919,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *669 - organization: *652 - repository: *653 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -128291,8 +128001,8 @@ x-webhooks: type: string enum: - locked - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129211,8 +128921,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -129291,8 +129001,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130205,9 +129915,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *675 - organization: *652 - repository: *653 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -131668,8 +131378,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132587,8 +132297,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -132668,9 +132378,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *650 - installation: *651 - issue: &676 + enterprise: *648 + installation: *649 + issue: &674 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133582,8 +133292,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -133662,8 +133372,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134581,8 +134291,8 @@ x-webhooks: user_view_type: type: string type: *189 - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136045,11 +135755,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *650 - installation: *651 - issue: *676 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136069,6 +135779,91 @@ x-webhooks: - repository - organization - app + 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. + + 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 + 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 typed event + type: object + properties: + action: + type: string + enum: + - typed + enterprise: *648 + installation: *649 + issue: *675 + type: *189 + organization: *650 + repository: *651 + sender: *4 + required: + - action + - issue + - type + - 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-unassigned: post: summary: |- @@ -136130,7 +135925,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &705 + assignee: &703 title: User type: object nullable: true @@ -136200,11 +135995,11 @@ x-webhooks: required: - login - id - enterprise: *650 - installation: *651 - issue: *677 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + issue: *675 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136283,12 +136078,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *650 - installation: *651 - issue: *677 - label: *669 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + issue: *675 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136368,8 +136163,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137286,8 +137081,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137367,15 +137162,100 @@ x-webhooks: type: string enum: - unpinned - enterprise: *650 - installation: *651 - issue: *676 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 + sender: *4 + 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-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: + - 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 untyped event + type: object + properties: + action: + type: string + enum: + - untyped + enterprise: *648 + installation: *649 + issue: *675 + type: *189 + organization: *650 + repository: *651 sender: *4 required: - action - issue + - type - repository - sender responses: @@ -137450,11 +137330,11 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - label: *669 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137532,11 +137412,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - label: *669 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137646,11 +137526,11 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - label: *669 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137732,9 +137612,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *650 - installation: *651 - marketplace_purchase: &678 + enterprise: *648 + installation: *649 + marketplace_purchase: &676 title: Marketplace Purchase type: object required: @@ -137817,8 +137697,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *652 - previous_marketplace_purchase: &679 + organization: *650 + previous_marketplace_purchase: &677 title: Marketplace Purchase type: object properties: @@ -137898,7 +137778,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *653 + repository: *651 sender: *4 required: - action @@ -137978,10 +137858,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *650 - installation: *651 - marketplace_purchase: *678 - organization: *652 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138064,7 +137944,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *653 + repository: *651 sender: *4 required: - action @@ -138146,10 +138026,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *650 - installation: *651 - marketplace_purchase: *678 - organization: *652 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138231,7 +138111,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *653 + repository: *651 sender: *4 required: - action @@ -138312,8 +138192,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 marketplace_purchase: title: Marketplace Purchase type: object @@ -138395,9 +138275,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *652 - previous_marketplace_purchase: *679 - repository: *653 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -138477,12 +138357,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *650 - installation: *651 - marketplace_purchase: *678 - organization: *652 - previous_marketplace_purchase: *679 - repository: *653 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -138584,11 +138464,11 @@ x-webhooks: type: string required: - to - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -138688,11 +138568,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -138771,11 +138651,11 @@ x-webhooks: type: string enum: - removed - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -138853,11 +138733,11 @@ x-webhooks: type: string enum: - added - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138933,7 +138813,7 @@ x-webhooks: required: - login - id - team: &680 + team: &678 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -139123,11 +139003,11 @@ x-webhooks: type: string enum: - removed - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139204,7 +139084,7 @@ x-webhooks: required: - login - id - team: *680 + team: *678 required: - action - scope @@ -139286,8 +139166,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *651 - merge_group: &682 + installation: *649 + merge_group: &680 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -139306,15 +139186,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *681 + head_commit: *679 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139400,10 +139280,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *651 - merge_group: *682 - organization: *652 - repository: *653 + installation: *649 + merge_group: *680 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139476,7 +139356,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 + enterprise: *648 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -139584,16 +139464,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *651 - organization: *652 + installation: *649 + organization: *650 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *683 - required: *684 + properties: *681 + required: *682 nullable: true sender: *4 required: @@ -139674,11 +139554,11 @@ x-webhooks: type: string enum: - closed - enterprise: *650 - installation: *651 - milestone: *675 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139757,9 +139637,9 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - milestone: &685 + enterprise: *648 + installation: *649 + milestone: &683 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139896,8 +139776,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139976,11 +139856,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - milestone: *675 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140090,11 +139970,11 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - milestone: *675 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140174,11 +140054,11 @@ x-webhooks: type: string enum: - opened - enterprise: *650 - installation: *651 - milestone: *685 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + milestone: *683 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140257,11 +140137,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *670 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140340,11 +140220,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *670 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140423,9 +140303,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - membership: &686 + enterprise: *648 + installation: *649 + membership: &684 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -140517,8 +140397,8 @@ x-webhooks: - role - organization_url - user - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140596,11 +140476,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *650 - installation: *651 - membership: *686 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + membership: *684 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140679,8 +140559,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -140796,10 +140676,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 - user: *670 + user: *668 required: - action - invitation @@ -140877,11 +140757,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *650 - installation: *651 - membership: *686 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + membership: *684 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140968,11 +140848,11 @@ x-webhooks: properties: from: type: string - enterprise: *650 - installation: *651 - membership: *686 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + membership: *684 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141048,9 +140928,9 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -141549,7 +141429,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &687 + items: &685 title: Ruby Gems metadata type: object properties: @@ -141644,7 +141524,7 @@ x-webhooks: - owner - package_version - registry - repository: *653 + repository: *651 sender: *4 required: - action @@ -141720,9 +141600,9 @@ x-webhooks: type: string enum: - updated - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -142075,7 +141955,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *687 + items: *685 source_url: type: string format: uri @@ -142145,7 +142025,7 @@ x-webhooks: - owner - package_version - registry - repository: *653 + repository: *651 sender: *4 required: - action @@ -142322,12 +142202,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *650 + enterprise: *648 id: type: integer - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - id @@ -142404,7 +142284,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &688 + personal_access_token_request: &686 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -142550,10 +142430,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *650 - organization: *652 + enterprise: *648 + organization: *650 sender: *4 - installation: *651 + installation: *649 required: - action - personal_access_token_request @@ -142630,11 +142510,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *688 - enterprise: *650 - organization: *652 + personal_access_token_request: *686 + enterprise: *648 + organization: *650 sender: *4 - installation: *651 + installation: *649 required: - action - personal_access_token_request @@ -142710,11 +142590,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *688 - enterprise: *650 - organization: *652 + personal_access_token_request: *686 + enterprise: *648 + organization: *650 sender: *4 - installation: *651 + installation: *649 required: - action - personal_access_token_request @@ -142789,11 +142669,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *688 - organization: *652 - enterprise: *650 + personal_access_token_request: *686 + organization: *650 + enterprise: *648 sender: *4 - installation: *651 + installation: *649 required: - action - personal_access_token_request @@ -142898,7 +142778,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *689 + last_response: *687 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -142930,8 +142810,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 zen: description: Random string of GitHub zen. @@ -143176,10 +143056,10 @@ x-webhooks: - from required: - note - enterprise: *650 - installation: *651 - organization: *652 - project_card: &690 + enterprise: *648 + installation: *649 + organization: *650 + project_card: &688 title: Project Card type: object properties: @@ -143298,7 +143178,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *653 + repository: *651 sender: *4 required: - action @@ -143379,11 +143259,11 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - project_card: *690 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *688 + repository: *651 sender: *4 required: - action @@ -143463,9 +143343,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 project_card: title: Project Card type: object @@ -143593,8 +143473,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *683 - required: *684 + properties: *681 + required: *682 nullable: true sender: *4 required: @@ -143688,11 +143568,11 @@ x-webhooks: - from required: - note - enterprise: *650 - installation: *651 - organization: *652 - project_card: *690 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *688 + repository: *651 sender: *4 required: - action @@ -143786,9 +143666,9 @@ x-webhooks: - from required: - column_id - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 project_card: allOf: - title: Project Card @@ -143978,7 +143858,7 @@ x-webhooks: type: string required: - after_id - repository: *653 + repository: *651 sender: *4 required: - action @@ -144058,10 +143938,10 @@ x-webhooks: type: string enum: - closed - enterprise: *650 - installation: *651 - organization: *652 - project: &692 + enterprise: *648 + installation: *649 + organization: *650 + project: &690 title: Project type: object properties: @@ -144185,7 +144065,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *653 + repository: *651 sender: *4 required: - action @@ -144265,10 +144145,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - project_column: &691 + enterprise: *648 + installation: *649 + organization: *650 + project_column: &689 title: Project Column type: object properties: @@ -144307,7 +144187,7 @@ x-webhooks: - name - created_at - updated_at - repository: *653 + repository: *651 sender: *4 required: - action @@ -144386,18 +144266,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - project_column: *691 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *689 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *683 - required: *684 + properties: *681 + required: *682 nullable: true sender: *4 required: @@ -144487,11 +144367,11 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 - project_column: *691 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *689 + repository: *651 sender: *4 required: - action @@ -144571,11 +144451,11 @@ x-webhooks: type: string enum: - moved - enterprise: *650 - installation: *651 - organization: *652 - project_column: *691 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *689 + repository: *651 sender: *4 required: - action @@ -144655,11 +144535,11 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - project: *692 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project: *690 + repository: *651 sender: *4 required: - action @@ -144739,18 +144619,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - project: *692 + enterprise: *648 + installation: *649 + organization: *650 + project: *690 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *683 - required: *684 + properties: *681 + required: *682 nullable: true sender: *4 required: @@ -144852,11 +144732,11 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 - project: *692 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project: *690 + repository: *651 sender: *4 required: - action @@ -144935,11 +144815,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *650 - installation: *651 - organization: *652 - project: *692 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project: *690 + repository: *651 sender: *4 required: - action @@ -145020,9 +144900,9 @@ x-webhooks: type: string enum: - closed - installation: *651 - organization: *652 - projects_v2: &693 + installation: *649 + organization: *650 + projects_v2: &691 title: Projects v2 Project description: A projects v2 project type: object @@ -145165,9 +145045,9 @@ x-webhooks: type: string enum: - created - installation: *651 - organization: *652 - projects_v2: *693 + installation: *649 + organization: *650 + projects_v2: *691 sender: *4 required: - action @@ -145248,9 +145128,9 @@ x-webhooks: type: string enum: - deleted - installation: *651 - organization: *652 - projects_v2: *693 + installation: *649 + organization: *650 + projects_v2: *691 sender: *4 required: - action @@ -145367,9 +145247,9 @@ x-webhooks: type: string to: type: string - installation: *651 - organization: *652 - projects_v2: *693 + installation: *649 + organization: *650 + projects_v2: *691 sender: *4 required: - action @@ -145452,7 +145332,7 @@ x-webhooks: type: string enum: - archived - changes: &697 + changes: &695 type: object properties: archived_at: @@ -145466,9 +145346,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *651 - organization: *652 - projects_v2_item: &694 + installation: *649 + organization: *650 + projects_v2_item: &692 title: Projects v2 Item description: An item belonging to a project type: object @@ -145602,9 +145482,9 @@ x-webhooks: nullable: true to: type: string - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -145686,9 +145566,9 @@ x-webhooks: type: string enum: - created - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -145769,9 +145649,9 @@ x-webhooks: type: string enum: - deleted - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -145877,7 +145757,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &695 + - &693 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -145895,7 +145775,7 @@ x-webhooks: required: - id - name - - &696 + - &694 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -145918,8 +145798,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *695 - - *696 + - *693 + - *694 required: - field_value - type: object @@ -145935,9 +145815,9 @@ x-webhooks: nullable: true required: - body - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -146032,9 +145912,9 @@ x-webhooks: to: type: string nullable: true - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -146117,10 +145997,10 @@ x-webhooks: type: string enum: - restored - changes: *697 - installation: *651 - organization: *652 - projects_v2_item: *694 + changes: *695 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -146202,9 +146082,9 @@ x-webhooks: type: string enum: - reopened - installation: *651 - organization: *652 - projects_v2: *693 + installation: *649 + organization: *650 + projects_v2: *691 sender: *4 required: - action @@ -146285,9 +146165,9 @@ x-webhooks: type: string enum: - created - installation: *651 - organization: *652 - projects_v2_status_update: &698 + installation: *649 + organization: *650 + projects_v2_status_update: &696 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146414,9 +146294,9 @@ x-webhooks: type: string enum: - deleted - installation: *651 - organization: *652 - projects_v2_status_update: *698 + installation: *649 + organization: *650 + projects_v2_status_update: *696 sender: *4 required: - action @@ -146552,9 +146432,9 @@ x-webhooks: type: string format: date nullable: true - installation: *651 - organization: *652 - projects_v2_status_update: *698 + installation: *649 + organization: *650 + projects_v2_status_update: *696 sender: *4 required: - action @@ -146625,10 +146505,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - repository @@ -146705,13 +146585,13 @@ x-webhooks: type: string enum: - assigned - assignee: *670 - enterprise: *650 - installation: *651 - number: &699 + assignee: *668 + enterprise: *648 + installation: *649 + number: &697 description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -148994,7 +148874,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -149076,11 +148956,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -151358,7 +151238,7 @@ x-webhooks: - draft reason: type: string - repository: *653 + repository: *651 sender: *4 required: - action @@ -151440,11 +151320,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -153722,7 +153602,7 @@ x-webhooks: - draft reason: type: string - repository: *653 + repository: *651 sender: *4 required: - action @@ -153804,13 +153684,13 @@ x-webhooks: type: string enum: - closed - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: &700 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: &698 allOf: - - *521 + - *519 - type: object properties: allow_auto_merge: @@ -153872,7 +153752,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *653 + repository: *651 sender: *4 required: - action @@ -153953,12 +153833,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -154038,11 +153918,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *650 - milestone: *504 - number: *699 - organization: *652 - pull_request: &701 + enterprise: *648 + milestone: *502 + number: *697 + organization: *650 + pull_request: &699 title: Pull Request type: object properties: @@ -156305,7 +156185,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -156384,11 +156264,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -158670,7 +158550,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *653 + repository: *651 sender: *4 required: - action @@ -158794,12 +158674,12 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -158879,11 +158759,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -161150,7 +161030,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -161230,11 +161110,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *650 - installation: *651 - label: *669 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + label: *667 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -163516,7 +163396,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -163597,10 +163477,10 @@ x-webhooks: type: string enum: - locked - enterprise: *650 - installation: *651 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -165880,7 +165760,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -165960,12 +165840,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *650 - milestone: *504 - number: *699 - organization: *652 - pull_request: *701 - repository: *653 + enterprise: *648 + milestone: *502 + number: *697 + organization: *650 + pull_request: *699 + repository: *651 sender: *4 required: - action @@ -166044,12 +165924,12 @@ x-webhooks: type: string enum: - opened - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -166130,12 +166010,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -166215,12 +166095,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -166586,9 +166466,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -168758,7 +168638,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *653 + repository: *651 sender: *4 required: - action @@ -168838,7 +168718,7 @@ x-webhooks: type: string enum: - deleted - comment: &703 + comment: &701 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -169123,9 +169003,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -171283,7 +171163,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *653 + repository: *651 sender: *4 required: - action @@ -171363,11 +171243,11 @@ x-webhooks: type: string enum: - edited - changes: *702 - comment: *703 - enterprise: *650 - installation: *651 - organization: *652 + changes: *700 + comment: *701 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -173528,7 +173408,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *653 + repository: *651 sender: *4 required: - action @@ -173609,9 +173489,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -175784,7 +175664,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 + repository: *651 review: description: The review that was affected. type: object @@ -176027,9 +175907,9 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -178083,8 +177963,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 - review: &704 + repository: *651 + review: &702 description: The review that was affected. type: object properties: @@ -178313,12 +178193,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -180601,7 +180481,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 requested_reviewer: title: User type: object @@ -180685,12 +180565,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -182980,7 +182860,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183172,12 +183052,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -185462,7 +185342,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 requested_reviewer: title: User type: object @@ -185547,12 +185427,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -187828,7 +187708,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188009,9 +187889,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -190186,8 +190066,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 - review: *704 + repository: *651 + review: *702 sender: *4 required: - action @@ -190267,9 +190147,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -192339,7 +192219,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 + repository: *651 sender: *4 thread: type: object @@ -192722,9 +192602,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -194780,7 +194660,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 + repository: *651 sender: *4 thread: type: object @@ -195166,10 +195046,10 @@ x-webhooks: type: string before: type: string - enterprise: *650 - installation: *651 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -197440,7 +197320,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -197522,11 +197402,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *705 - enterprise: *650 - installation: *651 - number: *699 - organization: *652 + assignee: *703 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -199809,7 +199689,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -199888,11 +199768,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *650 - installation: *651 - label: *669 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + label: *667 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -202165,7 +202045,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -202246,10 +202126,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *650 - installation: *651 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -204514,7 +204394,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -204714,7 +204594,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *650 + enterprise: *648 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -204806,8 +204686,8 @@ x-webhooks: - url - author - committer - installation: *651 - organization: *652 + installation: *649 + organization: *650 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205382,9 +205262,9 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -205830,7 +205710,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *687 + items: *685 summary: type: string tag_name: @@ -205884,7 +205764,7 @@ x-webhooks: - owner - package_version - registry - repository: *653 + repository: *651 sender: *4 required: - action @@ -205962,9 +205842,9 @@ x-webhooks: type: string enum: - updated - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -206272,7 +206152,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *687 + items: *685 summary: type: string tag_name: @@ -206321,7 +206201,7 @@ x-webhooks: - owner - package_version - registry - repository: *653 + repository: *651 sender: *4 required: - action @@ -206398,10 +206278,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - release: &706 + enterprise: *648 + installation: *649 + organization: *650 + release: &704 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206706,7 +206586,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *653 + repository: *651 sender: *4 required: - action @@ -206783,11 +206663,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - release: *706 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + release: *704 + repository: *651 sender: *4 required: - action @@ -206904,11 +206784,11 @@ x-webhooks: type: boolean required: - to - enterprise: *650 - installation: *651 - organization: *652 - release: *706 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + release: *704 + repository: *651 sender: *4 required: - action @@ -206986,9 +206866,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207297,7 +207177,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *653 + repository: *651 sender: *4 required: - action @@ -207373,10 +207253,10 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 - release: &707 + enterprise: *648 + installation: *649 + organization: *650 + release: &705 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207682,7 +207562,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *653 + repository: *651 sender: *4 required: - action @@ -207758,11 +207638,11 @@ x-webhooks: type: string enum: - released - enterprise: *650 - installation: *651 - organization: *652 - release: *706 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + release: *704 + repository: *651 sender: *4 required: - action @@ -207838,11 +207718,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *650 - installation: *651 - organization: *652 - release: *707 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + release: *705 + repository: *651 sender: *4 required: - action @@ -207918,11 +207798,11 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - repository_advisory: *581 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *579 sender: *4 required: - action @@ -207998,11 +207878,11 @@ x-webhooks: type: string enum: - reported - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - repository_advisory: *581 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *579 sender: *4 required: - action @@ -208078,10 +207958,10 @@ x-webhooks: type: string enum: - archived - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208158,10 +208038,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208239,10 +208119,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208326,10 +208206,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208441,10 +208321,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208516,10 +208396,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 status: type: string @@ -208600,10 +208480,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208680,10 +208560,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208777,10 +208657,10 @@ x-webhooks: - name required: - repository - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208860,10 +208740,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *241 sender: *4 required: @@ -208942,10 +208822,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *241 sender: *4 required: @@ -209024,10 +208904,10 @@ x-webhooks: type: string enum: - edited - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *241 changes: type: object @@ -209332,10 +209212,10 @@ x-webhooks: - from required: - owner - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -209413,10 +209293,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -209494,7 +209374,7 @@ x-webhooks: type: string enum: - create - alert: &708 + alert: &706 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209615,10 +209495,10 @@ x-webhooks: type: string enum: - open - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -209824,10 +209704,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -209905,11 +209785,11 @@ x-webhooks: type: string enum: - reopen - alert: *708 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *706 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210108,10 +209988,10 @@ x-webhooks: enum: - fixed - open - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210189,7 +210069,7 @@ x-webhooks: type: string enum: - created - alert: &709 + alert: &707 type: object properties: number: *54 @@ -210300,10 +210180,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210384,11 +210264,11 @@ x-webhooks: type: string enum: - created - alert: *709 - installation: *651 - location: *710 - organization: *652 - repository: *653 + alert: *707 + installation: *649 + location: *708 + organization: *650 + repository: *651 sender: *4 required: - location @@ -210626,11 +210506,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *709 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *707 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210708,11 +210588,11 @@ x-webhooks: type: string enum: - reopened - alert: *709 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *707 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210790,11 +210670,11 @@ x-webhooks: type: string enum: - resolved - alert: *709 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *707 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210872,11 +210752,11 @@ x-webhooks: type: string enum: - validated - alert: *709 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *707 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -211002,10 +210882,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *653 - enterprise: *650 - installation: *651 - organization: *652 + repository: *651 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -211083,11 +210963,11 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - security_advisory: &711 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: &709 description: The details of the security advisory, including summary, description, and severity. type: object @@ -211270,11 +211150,11 @@ x-webhooks: type: string enum: - updated - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - security_advisory: *711 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: *709 sender: *4 required: - action @@ -211347,10 +211227,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211535,10 +211415,10 @@ x-webhooks: type: object properties: security_and_analysis: *234 - enterprise: *650 - installation: *651 - organization: *652 - repository: *289 + enterprise: *648 + installation: *649 + organization: *650 + repository: *287 sender: *4 required: - changes @@ -211616,12 +211496,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: &712 + sponsorship: &710 type: object properties: created_at: @@ -211922,12 +211802,12 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - sponsorship @@ -212015,12 +211895,12 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - changes @@ -212097,17 +211977,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &713 + effective_date: &711 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: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - sponsorship @@ -212181,7 +212061,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &714 + changes: &712 type: object properties: tier: @@ -212225,13 +212105,13 @@ x-webhooks: - from required: - tier - effective_date: *713 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + effective_date: *711 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - changes @@ -212308,13 +212188,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *714 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + changes: *712 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - changes @@ -212388,10 +212268,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212474,10 +212354,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212897,15 +212777,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *650 + enterprise: *648 id: description: The unique identifier of the status. type: integer - installation: *651 + installation: *649 name: type: string - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 sha: description: The Commit SHA. @@ -213020,9 +212900,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213112,9 +212992,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213204,9 +213084,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213296,9 +213176,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213375,12 +213255,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - team: &715 + team: &713 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -213570,9 +213450,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -214030,7 +213910,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - team @@ -214106,9 +213986,9 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -214566,7 +214446,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - team @@ -214643,9 +214523,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -215103,7 +214983,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - team @@ -215247,9 +215127,9 @@ x-webhooks: - from required: - permissions - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -215707,7 +215587,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - changes @@ -215785,9 +215665,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -216245,7 +216125,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - team @@ -216321,10 +216201,10 @@ x-webhooks: type: string enum: - started - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216397,16 +216277,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *650 + enterprise: *648 inputs: type: object nullable: true additionalProperties: true - installation: *651 - organization: *652 + installation: *649 + organization: *650 ref: type: string - repository: *653 + repository: *651 sender: *4 workflow: type: string @@ -216488,10 +216368,10 @@ x-webhooks: type: string enum: - completed - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -216728,7 +216608,7 @@ x-webhooks: type: string required: - conclusion - deployment: *436 + deployment: *434 required: - action - repository @@ -216807,10 +216687,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -217070,7 +216950,7 @@ x-webhooks: required: - status - steps - deployment: *436 + deployment: *434 required: - action - repository @@ -217149,10 +217029,10 @@ x-webhooks: type: string enum: - queued - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -217287,7 +217167,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *436 + deployment: *434 required: - action - repository @@ -217366,10 +217246,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -217505,7 +217385,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *436 + deployment: *434 required: - action - repository @@ -217585,12 +217465,12 @@ x-webhooks: type: string enum: - completed - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *665 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -218589,12 +218469,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *665 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -219578,12 +219458,12 @@ x-webhooks: type: string enum: - requested - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *665 + workflow: *663 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 42eadb685c..773b18bc1d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -77241,364 +77241,6 @@ } } }, - "/orgs/{org}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for organization members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nOrganization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an organization", @@ -138331,373 +137973,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for a team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -243286,7 +242561,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], @@ -748825,11 +748100,11 @@ } } }, - "issues-unassigned": { + "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.\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 user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -748896,110 +748171,13 @@ "content": { "application/json": { "schema": { - "title": "issues unassigned event", + "title": "issues typed event", "type": "object", "properties": { "action": { - "description": "The action that was performed.", "type": "string", "enum": [ - "unassigned" - ] - }, - "assignee": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "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" + "typed" ] }, "enterprise": { @@ -750365,6 +749543,66 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, "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.", @@ -751783,6 +751021,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] @@ -751807,11 +751046,11 @@ } } }, - "issues-unlabeled": { + "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.\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 removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -751878,13 +751117,110 @@ "content": { "application/json": { "schema": { - "title": "issues unlabeled event", + "title": "issues unassigned event", "type": "object", "properties": { "action": { + "description": "The action that was performed.", "type": "string", "enum": [ - "unlabeled" + "unassigned" + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" ] }, "enterprise": { @@ -752270,16 +751606,5850 @@ "type": "string", "format": "uri" } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "team_discussions": { + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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-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.\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 removed from an issue.", + "operationId": "issues/unlabeled", + "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 unlabeled event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "unlabeled" + ] + }, + "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "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", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "team_discussions": { + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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-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.\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/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": { + "title": "issues unlocked event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "unlocked" + ] + }, + "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "required": [ + "active_lock_reason", + "assignees", + "author_association", + "body", + "closed_at", + "comments", + "comments_url", + "created_at", + "events_url", + "html_url", + "id", + "labels_url", + "locked", + "milestone", + "node_id", + "number", + "reactions", + "repository_url", + "title", + "updated_at", + "url", + "user" + ], + "properties": { + "active_lock_reason": { + "type": "string", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + } + } + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + } + } + } + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "nullable": true, + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string", + "nullable": true + }, + "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": { @@ -752287,13 +757457,34 @@ "format": "uri-template" }, "locked": { - "type": "boolean" + "type": "boolean", + "enum": [ + false + ] }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, + "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", @@ -752311,6 +757502,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -752386,8 +757581,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -752397,11 +757591,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "description": { "type": "string", @@ -752453,25 +757643,7 @@ "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" @@ -752484,6 +757656,17 @@ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", "type": "object", "nullable": true, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], "properties": { "created_at": { "type": "string", @@ -752544,9 +757727,7 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" + "workflow_run" ] } }, @@ -752575,6 +757756,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -752660,11 +757845,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -752793,8 +757974,7 @@ "type": "string", "enum": [ "read", - "write", - "admin" + "write" ] }, "organization_secrets": { @@ -752927,18 +758107,7 @@ "nullable": true, "format": "date-time" } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] + } }, "pull_request": { "type": "object", @@ -752969,6 +758138,18 @@ "reactions": { "title": "Reactions", "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], "properties": { "+1": { "type": "integer" @@ -753001,19 +758182,7 @@ "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + } }, "repository_url": { "type": "string", @@ -753132,6 +758301,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -753208,8 +758381,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -753219,77 +758391,9 @@ "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", - "nullable": true - }, - "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", @@ -754733,11 +759837,11 @@ } } }, - "issues-unlocked": { + "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.\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/unlocked", + "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" }, @@ -754804,13 +759908,13 @@ "content": { "application/json": { "schema": { - "title": "issues unlocked event", + "title": "issues unpinned event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unlocked" + "unpinned" ] }, "enterprise": { @@ -754906,30 +760010,6 @@ "title": "Issue", "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "locked", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], "properties": { "active_lock_reason": { "type": "string", @@ -754946,10 +760026,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -755035,7 +760111,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -755043,10 +760123,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -755132,7 +760208,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -755191,16 +760271,6 @@ "items": { "title": "Label", "type": "object", - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "nullable": true, "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -755228,7 +760298,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -755236,34 +760315,13 @@ "format": "uri-template" }, "locked": { - "type": "boolean", - "enum": [ - false - ] + "type": "boolean" }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, - "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", @@ -755281,10 +760339,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -755370,7 +760424,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -755422,7 +760480,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" @@ -755435,17 +760511,6 @@ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", "type": "object", "nullable": true, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": "string", @@ -755535,10 +760600,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -755624,7 +760685,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -755886,7 +760951,18 @@ "nullable": true, "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -755917,18 +760993,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -755961,7 +761025,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -756080,10 +761156,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -756170,9 +761242,36 @@ "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" + ] }, "organization": { "title": "Organization Simple", @@ -757616,11 +762715,11 @@ } } }, - "issues-unpinned": { + "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.\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 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": "An issue type was removed from an issue.", + "operationId": "issues/untyped", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -757687,13 +762786,13 @@ "content": { "application/json": { "schema": { - "title": "issues unpinned event", + "title": "issues untyped event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unpinned" + "untyped" ] }, "enterprise": { @@ -757880,7 +762979,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -757977,7 +763077,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -758193,7 +763294,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -758350,7 +763452,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -758597,7 +763701,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -759011,7 +764116,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -759052,6 +764158,66 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, "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.", @@ -760470,6 +765636,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 9d4af1a757..7e58d1997a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1013,7 +1013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &583 + - &581 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8578,7 +8578,7 @@ paths: - unknown - direct - transitive - security_advisory: &428 + security_advisory: &426 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8840,7 +8840,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &429 + auto_dismissed_at: &427 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9312,14 +9312,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &575 + state: &573 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: &576 + resolution: &574 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9757,7 +9757,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &477 + properties: &475 id: type: integer format: int64 @@ -9868,7 +9868,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &413 + properties: &411 url: type: string format: uri @@ -9938,7 +9938,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &414 + required: &412 - closed_issues - creator - description @@ -10142,7 +10142,7 @@ paths: - total - completed - percent_completed - required: &478 + required: &476 - assignee - closed_at - comments @@ -10164,7 +10164,7 @@ paths: - author_association - created_at - updated_at - comment: &475 + comment: &473 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10731,7 +10731,7 @@ paths: url: type: string format: uri - user: &606 + user: &604 title: Public User description: Public User type: object @@ -14036,14 +14036,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &278 + - &276 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &279 + - &277 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14114,7 +14114,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &290 + '301': &288 description: Moved permanently content: application/json: @@ -14136,7 +14136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &507 + - &505 name: all description: If `true`, show notifications marked as read. in: query @@ -14144,7 +14144,7 @@ paths: schema: type: boolean default: false - - &508 + - &506 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14154,7 +14154,7 @@ paths: type: boolean default: false - *67 - - &509 + - &507 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: @@ -14610,7 +14610,7 @@ paths: - url - subscription_url examples: - default: &510 + default: &508 value: - id: '1' repository: @@ -15211,7 +15211,7 @@ paths: - avatar_url - description examples: - default: &624 + default: &622 value: - login: github id: 1 @@ -16120,7 +16120,7 @@ paths: type: integer repository_cache_usages: type: array - items: &295 + items: &293 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16988,7 +16988,7 @@ paths: - all - local_only - selected - selected_actions_url: &301 + selected_actions_url: &299 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` @@ -17078,7 +17078,7 @@ paths: type: array items: *60 examples: - default: &618 + default: &616 value: total_count: 1 repositories: @@ -17406,7 +17406,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &303 type: object properties: default_workflow_permissions: &112 @@ -17457,7 +17457,7 @@ paths: required: false content: application/json: - schema: &306 + schema: &304 type: object properties: default_workflow_permissions: *112 @@ -17946,7 +17946,7 @@ paths: type: array items: *119 examples: - default: &609 + default: &607 value: total_count: 1 repositories: @@ -18588,7 +18588,7 @@ paths: application/json: schema: type: array - items: &307 + items: &305 title: Runner Application description: Runner Application type: object @@ -18613,7 +18613,7 @@ paths: - download_url - filename examples: - default: &308 + default: &306 value: - os: osx architecture: x64 @@ -18699,7 +18699,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &309 + '201': &307 description: Response content: application/json: @@ -18810,7 +18810,7 @@ paths: - token - expires_at examples: - default: &310 + default: &308 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18849,7 +18849,7 @@ paths: application/json: schema: *123 examples: - default: &311 + default: &309 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18883,7 +18883,7 @@ paths: application/json: schema: *121 examples: - default: &312 + default: &310 value: id: 23 name: MBP @@ -19108,7 +19108,7 @@ paths: - *94 - *120 responses: - '200': &313 + '200': &311 description: Response content: application/json: @@ -19165,7 +19165,7 @@ paths: parameters: - *94 - *120 - - &314 + - &312 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19295,7 +19295,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &324 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19324,7 +19324,7 @@ paths: - key_id - key examples: - default: &327 + default: &325 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19737,7 +19737,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &300 + - &298 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)." @@ -20272,7 +20272,7 @@ paths: bundle_url: type: string examples: - default: &340 + default: &338 value: attestations: - bundle: @@ -20509,7 +20509,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &366 + - &364 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`, @@ -20519,7 +20519,7 @@ paths: schema: &136 type: string description: The name of the tool used to generate the code scanning analysis. - - &367 + - &365 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 @@ -20542,7 +20542,7 @@ paths: be returned. in: query required: false - schema: &369 + schema: &367 type: string description: State of a code scanning alert. enum: @@ -20565,7 +20565,7 @@ paths: be returned. in: query required: false - schema: &370 + schema: &368 type: string description: Severity of a code scanning alert. enum: @@ -20591,7 +20591,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: &371 + instances_url: &369 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20614,7 +20614,7 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: &372 + dismissed_reason: &370 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -20623,13 +20623,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &373 + dismissed_comment: &371 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &374 + rule: &372 type: object properties: id: @@ -20682,7 +20682,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &375 + tool: &373 type: object properties: name: *136 @@ -20692,15 +20692,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *137 - most_recent_instance: &376 + most_recent_instance: &374 type: object properties: - ref: &368 + ref: &366 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &386 + analysis_key: &384 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20711,7 +20711,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &387 + category: &385 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21986,7 +21986,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &399 + properties: &397 name: type: string description: The name of the machine. @@ -22028,7 +22028,7 @@ paths: - ready - in_progress nullable: true - required: &400 + required: &398 - name - display_name - operating_system @@ -22896,7 +22896,7 @@ paths: - updated_at - visibility examples: - default: &401 + default: &399 value: total_count: 2 secrets: @@ -22934,7 +22934,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &400 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22963,7 +22963,7 @@ paths: - key_id - key examples: - default: &403 + default: &401 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22995,7 +22995,7 @@ paths: application/json: schema: *146 examples: - default: &405 + default: &403 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24584,223 +24584,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/copilot/usage": - get: - summary: Get a summary of Copilot usage for organization members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members - parameters: - - *94 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &261 - title: Copilot Usage Metrics - description: Summary of Copilot usage. - type: object - properties: - day: - type: string - format: date - description: The date for which the usage metrics are reported, - in `YYYY-MM-DD` format. - total_suggestions_count: - type: integer - description: The total number of Copilot code completion suggestions - shown to users. - total_acceptances_count: - type: integer - description: The total number of Copilot code completion suggestions - accepted by users. - total_lines_suggested: - type: integer - description: The total number of lines of code completions suggested - by Copilot. - total_lines_accepted: - type: integer - description: The total number of lines of code completions accepted - by users. - total_active_users: - type: integer - description: The total number of users who were shown Copilot - code completion suggestions during the day specified. - total_chat_acceptances: - type: integer - description: The total instances of users who accepted code - suggested by Copilot Chat in the IDE (panel and inline). - total_chat_turns: - type: integer - description: The total number of chat turns (prompt and response - pairs) sent between users and Copilot Chat in the IDE. - total_active_chat_users: - type: integer - description: The total number of users who interacted with Copilot - Chat in the IDE during the day specified. - breakdown: - type: array - description: Breakdown of Copilot code completions usage by - language and editor - nullable: true - items: - type: object - description: Breakdown of Copilot usage by editor for this - language - additionalProperties: true - properties: - language: - type: string - description: The language in which Copilot suggestions - were shown to users in the specified editor. - editor: - type: string - description: The editor in which Copilot suggestions were - shown to users for the specified language. - suggestions_count: - type: integer - description: The number of Copilot suggestions shown to - users in the editor specified during the day specified. - acceptances_count: - type: integer - description: The number of Copilot suggestions accepted - by users in the editor specified during the day specified. - lines_suggested: - type: integer - description: The number of lines of code suggested by - Copilot in the editor specified during the day specified. - lines_accepted: - type: integer - description: The number of lines of code accepted by users - in the editor specified during the day specified. - active_users: - type: integer - description: The number of users who were shown Copilot - completion suggestions in the editor specified during - the day specified. - required: - - day - - breakdown - additionalProperties: false - examples: - default: &262 - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 - '500': *145 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/dependabot/alerts": get: summary: List Dependabot alerts for an organization @@ -24961,7 +24744,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &430 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24978,7 +24761,7 @@ paths: - key_id - key examples: - default: &433 + default: &431 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26771,7 +26554,7 @@ paths: application/json: schema: *22 examples: - default: &471 + default: &469 value: id: 1 account: @@ -26996,7 +26779,7 @@ paths: required: true content: application/json: - schema: &472 + schema: &470 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -27852,7 +27635,7 @@ paths: application/json: schema: *195 examples: - default: &398 + default: &396 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -29078,7 +28861,7 @@ paths: parameters: - *94 - *203 - - &623 + - &621 name: repo_name description: repo_name parameter in: path @@ -30103,7 +29886,7 @@ paths: - nuget - container - *94 - - &625 + - &623 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30144,7 +29927,7 @@ paths: default: *211 '403': *29 '401': *25 - '400': &627 + '400': &625 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -31982,7 +31765,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &287 + '410': &285 description: Gone content: application/json: @@ -32882,7 +32665,7 @@ paths: description: Response content: application/json: - schema: &289 + schema: &287 title: Full Repository description: Full Repository type: object @@ -33275,7 +33058,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &420 + properties: &418 url: type: string format: uri @@ -33291,7 +33074,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &421 + required: &419 - url - key - name @@ -33380,7 +33163,7 @@ paths: - network_count - subscribers_count examples: - default: &291 + default: &289 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33901,7 +33684,7 @@ paths: - *94 - *17 - *19 - - &560 + - &558 name: targets description: | A comma-separated list of rule targets to filter by. @@ -34182,7 +33965,7 @@ paths: type: object description: A repository rule. oneOf: - - &538 + - &536 title: creation description: Only allow users with bypass permission to create matching refs. @@ -34194,7 +33977,7 @@ paths: type: string enum: - creation - - &539 + - &537 title: update description: Only allow users with bypass permission to update matching refs. @@ -34215,7 +33998,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &541 + - &539 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -34227,7 +34010,7 @@ paths: type: string enum: - deletion - - &542 + - &540 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -34239,7 +34022,7 @@ paths: type: string enum: - required_linear_history - - &543 + - &541 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -34317,7 +34100,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &544 + - &542 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -34341,7 +34124,7 @@ paths: type: string required: - required_deployment_environments - - &545 + - &543 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -34353,7 +34136,7 @@ paths: type: string enum: - required_signatures - - &546 + - &544 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -34417,7 +34200,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &547 + - &545 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -34465,7 +34248,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &548 + - &546 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -34477,7 +34260,7 @@ paths: type: string enum: - non_fast_forward - - &549 + - &547 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -34513,7 +34296,7 @@ paths: required: - operator - pattern - - &550 + - &548 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -34549,7 +34332,7 @@ paths: required: - operator - pattern - - &551 + - &549 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -34585,7 +34368,7 @@ paths: required: - operator - pattern - - &552 + - &550 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -34621,7 +34404,7 @@ paths: required: - operator - pattern - - &553 + - &551 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -34657,7 +34440,7 @@ paths: required: - operator - pattern - - &554 + - &552 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -34682,7 +34465,7 @@ paths: type: string required: - restricted_file_paths - - &555 + - &553 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -34706,7 +34489,7 @@ paths: maximum: 256 required: - max_file_path_length - - &556 + - &554 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -34729,7 +34512,7 @@ paths: type: string required: - restricted_file_extensions - - &557 + - &555 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -34754,7 +34537,7 @@ paths: maximum: 100 required: - max_file_size - - &558 + - &556 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -34804,7 +34587,7 @@ paths: - repository_id required: - workflows - - &559 + - &557 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -35042,7 +34825,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &561 + - &559 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 @@ -35057,7 +34840,7 @@ paths: in: query schema: type: string - - &562 + - &560 name: time_period description: |- The time period to filter by. @@ -35073,14 +34856,14 @@ paths: - week - month default: day - - &563 + - &561 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 - - &564 + - &562 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -35100,7 +34883,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &563 title: Rule Suites description: Response type: array @@ -35155,7 +34938,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &566 + default: &564 value: - id: 21 actor_id: 12 @@ -35199,7 +34982,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &567 + - &565 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -35215,7 +34998,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &566 title: Rule Suite description: Response type: object @@ -35314,7 +35097,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &569 + default: &567 value: id: 21 actor_id: 12 @@ -35560,7 +35343,7 @@ paths: type: string format: date-time examples: - default: &571 + default: &569 value: - version_id: 3 actor: @@ -35613,7 +35396,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &570 allOf: - *243 - type: object @@ -35692,7 +35475,7 @@ paths: - *48 - *19 - *17 - - &573 + - &571 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 @@ -35702,7 +35485,7 @@ paths: required: false schema: type: string - - &574 + - &572 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 @@ -35794,7 +35577,7 @@ paths: application/json: schema: type: array - items: &581 + items: &579 description: A repository security advisory. type: object properties: @@ -36085,7 +35868,7 @@ paths: - private_fork additionalProperties: false examples: - default: &582 + default: &580 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -36559,7 +36342,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &639 type: object properties: total_minutes_used: @@ -36629,7 +36412,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &642 + default: &640 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -36665,7 +36448,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &641 type: object properties: total_gigabytes_bandwidth_used: @@ -36683,7 +36466,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &644 + default: &642 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -36715,7 +36498,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &643 type: object properties: days_left_in_billing_cycle: @@ -36733,7 +36516,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &646 + default: &644 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -37175,79 +36958,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for a team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team - parameters: - - *94 - - *204 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *261 - examples: - default: *262 - '500': *145 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -37366,7 +37076,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &261 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -37676,7 +37386,7 @@ paths: - repos_count - organization examples: - default: &264 + default: &262 value: id: 1 node_id: MDQ6VGVhbTE= @@ -37753,9 +37463,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -37839,16 +37549,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '201': description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '404': *6 '422': *15 '403': *29 @@ -37918,7 +37628,7 @@ paths: application/json: schema: type: array - items: &265 + items: &263 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38017,7 +37727,7 @@ paths: - updated_at - url examples: - default: &596 + default: &594 value: - author: login: octocat @@ -38126,9 +37836,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: &266 + default: &264 value: author: login: octocat @@ -38202,7 +37912,7 @@ paths: parameters: - *94 - *204 - - &267 + - &265 name: discussion_number description: The number that identifies the discussion. in: path @@ -38214,9 +37924,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: *266 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38240,7 +37950,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 requestBody: required: false content: @@ -38263,9 +37973,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: &597 + default: &595 value: author: login: octocat @@ -38337,7 +38047,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 responses: '204': description: Response @@ -38365,7 +38075,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 - *48 - *17 - *19 @@ -38376,7 +38086,7 @@ paths: application/json: schema: type: array - items: &268 + items: &266 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -38448,7 +38158,7 @@ paths: - updated_at - url examples: - default: &598 + default: &596 value: - author: login: octocat @@ -38518,7 +38228,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 requestBody: required: true content: @@ -38540,9 +38250,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: &269 + default: &267 value: author: login: octocat @@ -38610,8 +38320,8 @@ paths: parameters: - *94 - *204 - - *267 - - &270 + - *265 + - &268 name: comment_number description: The number that identifies the comment. in: path @@ -38623,9 +38333,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38649,8 +38359,8 @@ paths: parameters: - *94 - *204 - - *267 - - *270 + - *265 + - *268 requestBody: required: true content: @@ -38672,9 +38382,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: &599 + default: &597 value: author: login: octocat @@ -38740,8 +38450,8 @@ paths: parameters: - *94 - *204 - - *267 - - *270 + - *265 + - *268 responses: '204': description: Response @@ -38769,8 +38479,8 @@ paths: parameters: - *94 - *204 - - *267 - - *270 + - *265 + - *268 - 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 team discussion comment. @@ -38796,7 +38506,7 @@ paths: application/json: schema: type: array - items: &271 + items: &269 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -38839,7 +38549,7 @@ paths: - content - created_at examples: - default: &273 + default: &271 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38891,8 +38601,8 @@ paths: parameters: - *94 - *204 - - *267 - - *270 + - *265 + - *268 requestBody: required: true content: @@ -38925,9 +38635,9 @@ paths: team discussion comment content: application/json: - schema: *271 + schema: *269 examples: - default: &272 + default: &270 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38956,9 +38666,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38983,9 +38693,9 @@ paths: parameters: - *94 - *204 - - *267 - - *270 - - &274 + - *265 + - *268 + - &272 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39019,7 +38729,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 - 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 team discussion. @@ -39045,9 +38755,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 x-github: @@ -39075,7 +38785,7 @@ paths: parameters: - *94 - *204 - - *267 + - *265 requestBody: required: true content: @@ -39107,16 +38817,16 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39141,8 +38851,8 @@ paths: parameters: - *94 - *204 - - *267 - - *274 + - *265 + - *272 responses: '204': description: Response @@ -39263,7 +38973,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &273 title: Team Membership description: Team Membership type: object @@ -39290,7 +39000,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &600 + response-if-user-is-a-team-maintainer: &598 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39353,9 +39063,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *273 examples: - response-if-users-membership-with-team-is-now-pending: &601 + response-if-users-membership-with-team-is-now-pending: &599 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39428,7 +39138,7 @@ paths: application/json: schema: type: array - items: &276 + items: &274 title: Team Project description: A team's access to a project. type: object @@ -39496,7 +39206,7 @@ paths: - updated_at - permissions examples: - default: &602 + default: &600 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39561,7 +39271,7 @@ paths: parameters: - *94 - *204 - - &277 + - &275 name: project_id description: The unique identifier of the project. in: path @@ -39573,9 +39283,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: &603 + default: &601 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39639,7 +39349,7 @@ paths: parameters: - *94 - *204 - - *277 + - *275 requestBody: required: false content: @@ -39707,7 +39417,7 @@ paths: parameters: - *94 - *204 - - *277 + - *275 responses: '204': description: Response @@ -39778,14 +39488,14 @@ paths: parameters: - *94 - *204 - - *278 - - *279 + - *276 + - *277 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &604 + schema: &602 title: Team Repository description: A team's access to a repository. type: object @@ -40356,8 +40066,8 @@ paths: parameters: - *94 - *204 - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -40404,8 +40114,8 @@ paths: parameters: - *94 - *204 - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -40442,7 +40152,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: &605 + response-if-child-teams-exist: &603 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -40569,7 +40279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &280 + - &278 name: card_id description: The unique identifier of the card. in: path @@ -40581,7 +40291,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &279 title: Project Card description: Project cards represent a scope of work. type: object @@ -40648,7 +40358,7 @@ paths: - created_at - updated_at examples: - default: &282 + default: &280 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -40704,7 +40414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *280 + - *278 requestBody: required: false content: @@ -40731,9 +40441,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: - default: *282 + default: *280 '304': *37 '403': *29 '401': *25 @@ -40760,7 +40470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *280 + - *278 responses: '204': description: Response @@ -40804,7 +40514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *280 + - *278 requestBody: required: true content: @@ -40915,7 +40625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &283 + - &281 name: column_id description: The unique identifier of the column. in: path @@ -40927,7 +40637,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &282 title: Project Column description: Project columns contain cards of work. type: object @@ -40973,7 +40683,7 @@ paths: - created_at - updated_at examples: - default: &285 + default: &283 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41008,7 +40718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *283 + - *281 requestBody: required: true content: @@ -41032,9 +40742,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *285 + default: *283 '304': *37 '403': *29 '401': *25 @@ -41059,7 +40769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *283 + - *281 responses: '204': description: Response @@ -41088,7 +40798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *283 + - *281 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -41109,7 +40819,7 @@ paths: application/json: schema: type: array - items: *281 + items: *279 examples: default: value: @@ -41168,7 +40878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *283 + - *281 requestBody: required: true content: @@ -41208,9 +40918,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: - default: *282 + default: *280 '304': *37 '403': *29 '401': *25 @@ -41266,7 +40976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *283 + - *281 requestBody: required: true content: @@ -41326,7 +41036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *277 + - *275 responses: '200': description: Response @@ -41334,7 +41044,7 @@ paths: application/json: schema: *226 examples: - default: &286 + default: &284 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -41391,7 +41101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *277 + - *275 requestBody: required: false content: @@ -41439,7 +41149,7 @@ paths: application/json: schema: *226 examples: - default: *286 + default: *284 '404': description: Not Found if the authenticated user does not have access to the project @@ -41460,7 +41170,7 @@ paths: items: type: string '401': *25 - '410': *287 + '410': *285 '422': *7 x-github: githubCloudOnly: false @@ -41483,7 +41193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *277 + - *275 responses: '204': description: Delete Success @@ -41504,7 +41214,7 @@ paths: items: type: string '401': *25 - '410': *287 + '410': *285 '404': *6 x-github: githubCloudOnly: false @@ -41528,7 +41238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *277 + - *275 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -41585,7 +41295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *277 + - *275 - *132 requestBody: required: false @@ -41638,7 +41348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *277 + - *275 - *132 responses: '204': @@ -41670,7 +41380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *277 + - *275 - *132 responses: '200': @@ -41744,7 +41454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *277 + - *275 - *17 - *19 responses: @@ -41754,7 +41464,7 @@ paths: application/json: schema: type: array - items: *284 + items: *282 examples: default: value: @@ -41792,7 +41502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *277 + - *275 requestBody: required: true content: @@ -41815,7 +41525,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *282 examples: default: value: @@ -41879,7 +41589,7 @@ paths: resources: type: object properties: - core: &288 + core: &286 title: Rate Limit type: object properties: @@ -41896,20 +41606,20 @@ paths: - remaining - reset - used - graphql: *288 - search: *288 - code_search: *288 - source_import: *288 - integration_manifest: *288 - code_scanning_upload: *288 - actions_runner_registration: *288 - scim: *288 - dependency_snapshots: *288 - code_scanning_autofix: *288 + graphql: *286 + search: *286 + code_search: *286 + source_import: *286 + integration_manifest: *286 + code_scanning_upload: *286 + actions_runner_registration: *286 + scim: *286 + dependency_snapshots: *286 + code_scanning_autofix: *286 required: - core - search - rate: *288 + rate: *286 required: - rate - resources @@ -42013,14 +41723,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *289 + schema: *287 examples: default-response: summary: Default response @@ -42521,7 +42231,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *290 + '301': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42539,8 +42249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -42776,10 +42486,10 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 - '307': &292 + default: *289 + '307': &290 description: Temporary Redirect content: application/json: @@ -42808,8 +42518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -42831,7 +42541,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *292 + '307': *290 '404': *6 x-github: githubCloudOnly: false @@ -42854,11 +42564,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 - - &318 + - &316 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -42881,7 +42591,7 @@ paths: type: integer artifacts: type: array - items: &293 + items: &291 title: Artifact description: An artifact type: object @@ -42959,7 +42669,7 @@ paths: - expires_at - updated_at examples: - default: &319 + default: &317 value: total_count: 2 artifacts: @@ -43020,9 +42730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *278 - - *279 - - &294 + - *276 + - *277 + - &292 name: artifact_id description: The unique identifier of the artifact. in: path @@ -43034,7 +42744,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *291 examples: default: value: @@ -43072,9 +42782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *278 - - *279 - - *294 + - *276 + - *277 + - *292 responses: '204': description: Response @@ -43098,9 +42808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *278 - - *279 - - *294 + - *276 + - *277 + - *292 - name: archive_format in: path required: true @@ -43114,7 +42824,7 @@ paths: 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': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43137,14 +42847,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *295 + schema: *293 examples: default: value: @@ -43170,11 +42880,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 - - &296 + - &294 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 @@ -43208,7 +42918,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &295 title: Repository actions caches description: Repository actions caches type: object @@ -43250,7 +42960,7 @@ paths: - total_count - actions_caches examples: - default: &298 + default: &296 value: total_count: 1 actions_caches: @@ -43282,23 +42992,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: - - *278 - - *279 + - *276 + - *277 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *296 + - *294 responses: '200': description: Response content: application/json: - schema: *297 + schema: *295 examples: - default: *298 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43318,8 +43028,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: - - *278 - - *279 + - *276 + - *277 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -43350,9 +43060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *278 - - *279 - - &299 + - *276 + - *277 + - &297 name: job_id description: The unique identifier of the job. in: path @@ -43364,7 +43074,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &320 title: Job description: Information of a job execution in a workflow run type: object @@ -43671,9 +43381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *278 - - *279 - - *299 + - *276 + - *277 + - *297 responses: '302': description: Response @@ -43701,9 +43411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *278 - - *279 - - *299 + - *276 + - *277 + - *297 requestBody: required: false content: @@ -43748,8 +43458,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Status response @@ -43799,8 +43509,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -43863,8 +43573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -43882,7 +43592,7 @@ paths: type: integer secrets: type: array - items: &324 + items: &322 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -43902,7 +43612,7 @@ paths: - created_at - updated_at examples: - default: &325 + default: &323 value: total_count: 2 secrets: @@ -43935,9 +43645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *278 - - *279 - - *300 + - *276 + - *277 + - *298 - *19 responses: '200': @@ -43954,7 +43664,7 @@ paths: type: integer variables: type: array - items: &328 + items: &326 title: Actions Variable type: object properties: @@ -43984,7 +43694,7 @@ paths: - created_at - updated_at examples: - default: &329 + default: &327 value: total_count: 2 variables: @@ -44017,8 +43727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -44027,11 +43737,11 @@ paths: schema: type: object properties: - enabled: &302 + enabled: &300 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *108 - selected_actions_url: *301 + selected_actions_url: *299 required: - enabled examples: @@ -44058,8 +43768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -44070,7 +43780,7 @@ paths: schema: type: object properties: - enabled: *302 + enabled: *300 allowed_actions: *108 required: - enabled @@ -44100,14 +43810,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: &303 + schema: &301 type: object properties: access_level: @@ -44124,7 +43834,7 @@ paths: required: - access_level examples: - default: &304 + default: &302 value: access_level: organization x-github: @@ -44148,15 +43858,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: application/json: - schema: *303 + schema: *301 examples: - default: *304 + default: *302 responses: '204': description: Response @@ -44180,8 +43890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -44208,8 +43918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -44241,14 +43951,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *305 + schema: *303 examples: default: *114 x-github: @@ -44271,8 +43981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Success response @@ -44283,7 +43993,7 @@ paths: required: true content: application/json: - schema: *306 + schema: *304 examples: default: *114 x-github: @@ -44312,8 +44022,8 @@ paths: in: query schema: type: string - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -44357,8 +44067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -44366,9 +44076,9 @@ paths: application/json: schema: type: array - items: *307 + items: *305 examples: - default: *308 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44390,8 +44100,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -44434,7 +44144,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *309 + '201': *307 '404': *6 '422': *7 '409': *46 @@ -44465,8 +44175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '201': description: Response @@ -44474,7 +44184,7 @@ paths: application/json: schema: *123 examples: - default: *310 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44502,8 +44212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '201': description: Response @@ -44511,7 +44221,7 @@ paths: application/json: schema: *123 examples: - default: *311 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44533,8 +44243,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: - - *278 - - *279 + - *276 + - *277 - *120 responses: '200': @@ -44543,7 +44253,7 @@ paths: application/json: schema: *121 examples: - default: *312 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44564,8 +44274,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: - - *278 - - *279 + - *276 + - *277 - *120 responses: '204': @@ -44591,8 +44301,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: - - *278 - - *279 + - *276 + - *277 - *120 responses: '200': *125 @@ -44617,8 +44327,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: - - *278 - - *279 + - *276 + - *277 - *120 requestBody: required: true @@ -44667,8 +44377,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: - - *278 - - *279 + - *276 + - *277 - *120 requestBody: required: true @@ -44718,11 +44428,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: - - *278 - - *279 + - *276 + - *277 - *120 responses: - '200': *313 + '200': *311 '404': *6 x-github: githubCloudOnly: false @@ -44749,10 +44459,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: - - *278 - - *279 + - *276 + - *277 - *120 - - *314 + - *312 responses: '200': *125 '404': *6 @@ -44780,9 +44490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *278 - - *279 - - &332 + - *276 + - *277 + - &330 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. @@ -44790,7 +44500,7 @@ paths: required: false schema: type: string - - &333 + - &331 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -44798,7 +44508,7 @@ paths: required: false schema: type: string - - &334 + - &332 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -44807,7 +44517,7 @@ paths: required: false schema: type: string - - &335 + - &333 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 @@ -44834,7 +44544,7 @@ paths: - pending - *17 - *19 - - &336 + - &334 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)." @@ -44843,7 +44553,7 @@ paths: schema: type: string format: date-time - - &315 + - &313 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -44852,13 +44562,13 @@ paths: schema: type: boolean default: false - - &337 + - &335 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &338 + - &336 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -44881,7 +44591,7 @@ paths: type: integer workflow_runs: type: array - items: &316 + items: &314 title: Workflow Run description: An invocation of a workflow type: object @@ -44976,7 +44686,7 @@ paths: that triggered the run. type: array nullable: true - items: &357 + items: &355 title: Pull Request Minimal type: object properties: @@ -45095,7 +44805,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &361 + properties: &359 id: type: string description: SHA for the commit @@ -45146,7 +44856,7 @@ paths: - name - email nullable: true - required: &362 + required: &360 - id - tree_id - message @@ -45193,7 +44903,7 @@ paths: - workflow_url - pull_requests examples: - default: &339 + default: &337 value: total_count: 1 workflow_runs: @@ -45429,24 +45139,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *278 - - *279 - - &317 + - *276 + - *277 + - &315 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *315 + - *313 responses: '200': description: Response content: application/json: - schema: *316 + schema: *314 examples: - default: &320 + default: &318 value: id: 30433642 name: Build @@ -45687,9 +45397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '204': description: Response @@ -45712,9 +45422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '200': description: Response @@ -45833,9 +45543,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: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '201': description: Response @@ -45868,12 +45578,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 - *17 - *19 - - *318 + - *316 responses: '200': description: Response @@ -45889,9 +45599,9 @@ paths: type: integer artifacts: type: array - items: *293 + items: *291 examples: - default: *319 + default: *317 headers: Link: *58 x-github: @@ -45915,25 +45625,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *278 - - *279 - - *317 - - &321 + - *276 + - *277 + - *315 + - &319 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *315 + - *313 responses: '200': description: Response content: application/json: - schema: *316 + schema: *314 examples: - default: *320 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45956,10 +45666,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *278 - - *279 - - *317 - - *321 + - *276 + - *277 + - *315 + - *319 - *17 - *19 responses: @@ -45977,9 +45687,9 @@ paths: type: integer jobs: type: array - items: *322 + items: *320 examples: - default: &323 + default: &321 value: total_count: 1 jobs: @@ -46092,10 +45802,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *278 - - *279 - - *317 - - *321 + - *276 + - *277 + - *315 + - *319 responses: '302': description: Response @@ -46123,9 +45833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '202': description: Response @@ -46158,9 +45868,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: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 requestBody: required: true content: @@ -46227,9 +45937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '202': description: Response @@ -46262,9 +45972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 - 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 @@ -46294,9 +46004,9 @@ paths: type: integer jobs: type: array - items: *322 + items: *320 examples: - default: *323 + default: *321 headers: Link: *58 x-github: @@ -46321,9 +46031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '302': description: Response @@ -46350,9 +46060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '204': description: Response @@ -46379,9 +46089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '200': description: Response @@ -46441,7 +46151,7 @@ paths: items: type: object properties: - type: &441 + type: &439 type: string description: The type of reviewer. enum: @@ -46526,9 +46236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 requestBody: required: true content: @@ -46575,7 +46285,7 @@ paths: application/json: schema: type: array - items: &436 + items: &434 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -46681,7 +46391,7 @@ paths: - created_at - updated_at examples: - default: &437 + default: &435 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -46737,9 +46447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 requestBody: required: false content: @@ -46783,9 +46493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 requestBody: required: false content: @@ -46838,9 +46548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *278 - - *279 - - *317 + - *276 + - *277 + - *315 responses: '200': description: Response @@ -46977,8 +46687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -46996,9 +46706,9 @@ paths: type: integer secrets: type: array - items: *324 + items: *322 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -47023,16 +46733,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *326 + schema: *324 examples: - default: *327 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47054,17 +46764,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '200': description: Response content: application/json: - schema: *324 + schema: *322 examples: - default: &454 + default: &452 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47090,8 +46800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 requestBody: required: true @@ -47149,8 +46859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '204': @@ -47176,9 +46886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *278 - - *279 - - *300 + - *276 + - *277 + - *298 - *19 responses: '200': @@ -47195,9 +46905,9 @@ paths: type: integer variables: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *58 x-github: @@ -47220,8 +46930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -47273,17 +46983,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 responses: '200': description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: &455 + default: &453 value: name: USERNAME value: octocat @@ -47309,8 +47019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 requestBody: required: true @@ -47353,8 +47063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 responses: '204': @@ -47380,8 +47090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -47399,7 +47109,7 @@ paths: type: integer workflows: type: array - items: &330 + items: &328 title: Workflow description: A GitHub Actions workflow type: object @@ -47506,9 +47216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *278 - - *279 - - &331 + - *276 + - *277 + - &329 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -47523,7 +47233,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *328 examples: default: value: @@ -47556,9 +47266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *278 - - *279 - - *331 + - *276 + - *277 + - *329 responses: '204': description: Response @@ -47583,9 +47293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *278 - - *279 - - *331 + - *276 + - *277 + - *329 responses: '204': description: Response @@ -47636,9 +47346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *278 - - *279 - - *331 + - *276 + - *277 + - *329 responses: '204': description: Response @@ -47665,19 +47375,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *278 - - *279 + - *276 + - *277 + - *329 + - *330 - *331 - *332 - *333 - - *334 - - *335 - *17 - *19 + - *334 + - *313 + - *335 - *336 - - *315 - - *337 - - *338 responses: '200': description: Response @@ -47693,9 +47403,9 @@ paths: type: integer workflow_runs: type: array - items: *316 + items: *314 examples: - default: *339 + default: *337 headers: Link: *58 x-github: @@ -47727,9 +47437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *278 - - *279 - - *331 + - *276 + - *277 + - *329 responses: '200': description: Response @@ -47790,8 +47500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *278 - - *279 + - *276 + - *277 - *48 - *17 - *39 @@ -47955,8 +47665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -47993,8 +47703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *278 - - *279 + - *276 + - *277 - name: assignee in: path required: true @@ -48030,8 +47740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -48143,8 +47853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *39 - *40 @@ -48198,7 +47908,7 @@ paths: bundle_url: type: string examples: - default: *340 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48218,8 +47928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -48227,7 +47937,7 @@ paths: application/json: schema: type: array - items: &341 + items: &339 title: Autolink reference description: An autolink reference. type: object @@ -48277,8 +47987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -48317,9 +48027,9 @@ paths: description: response content: application/json: - schema: *341 + schema: *339 examples: - default: &342 + default: &340 value: id: 1 key_prefix: TICKET- @@ -48350,9 +48060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *278 - - *279 - - &343 + - *276 + - *277 + - &341 name: autolink_id description: The unique identifier of the autolink. in: path @@ -48364,9 +48074,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *339 examples: - default: *342 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -48386,9 +48096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *278 - - *279 - - *343 + - *276 + - *277 + - *341 responses: '204': description: Response @@ -48412,8 +48122,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response if Dependabot is enabled @@ -48461,8 +48171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -48483,8 +48193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -48504,8 +48214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *278 - - *279 + - *276 + - *277 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -48543,7 +48253,7 @@ paths: - url protected: type: boolean - protection: &345 + protection: &343 title: Branch Protection description: Branch Protection type: object @@ -48585,7 +48295,7 @@ paths: required: - contexts - checks - enforce_admins: &348 + enforce_admins: &346 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -48600,7 +48310,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &350 + required_pull_request_reviews: &348 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -48676,7 +48386,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &347 + restrictions: &345 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -48983,9 +48693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *278 - - *279 - - &346 + - *276 + - *277 + - &344 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). @@ -48999,14 +48709,14 @@ paths: description: Response content: application/json: - schema: &356 + schema: &354 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &409 + commit: &407 title: Commit description: Commit type: object @@ -49040,7 +48750,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &344 + properties: &342 name: type: string example: '"Chris Wanstrath"' @@ -49055,7 +48765,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *344 + properties: *342 nullable: true message: type: string @@ -49076,7 +48786,7 @@ paths: required: - sha - url - verification: &461 + verification: &459 title: Verification type: object properties: @@ -49146,7 +48856,7 @@ paths: type: integer files: type: array - items: &424 + items: &422 title: Diff Entry description: Diff Entry type: object @@ -49229,7 +48939,7 @@ paths: - self protected: type: boolean - protection: *345 + protection: *343 protection_url: type: string format: uri @@ -49336,7 +49046,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *290 + '301': *288 '404': *6 x-github: githubCloudOnly: false @@ -49358,15 +49068,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *345 + schema: *343 examples: default: value: @@ -49560,9 +49270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -49817,7 +49527,7 @@ paths: url: type: string format: uri - required_status_checks: &353 + required_status_checks: &351 title: Status Check Policy description: Status Check Policy type: object @@ -49969,7 +49679,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *347 + restrictions: *345 required_conversation_resolution: type: object properties: @@ -50081,9 +49791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50108,17 +49818,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: &349 + default: &347 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50140,17 +49850,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50169,9 +49879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50196,17 +49906,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *350 + schema: *348 examples: - default: &351 + default: &349 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -50302,9 +50012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -50402,9 +50112,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *348 examples: - default: *351 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -50425,9 +50135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50454,17 +50164,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: &352 + default: &350 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -50487,17 +50197,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *352 + default: *350 '404': *6 x-github: githubCloudOnly: false @@ -50517,9 +50227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50544,17 +50254,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *353 + schema: *351 examples: - default: &354 + default: &352 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -50580,9 +50290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -50634,9 +50344,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *351 examples: - default: *354 + default: *352 '404': *6 '422': *15 x-github: @@ -50658,9 +50368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -50684,9 +50394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response @@ -50720,9 +50430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -50789,9 +50499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -50855,9 +50565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: content: application/json: @@ -50923,15 +50633,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response content: application/json: - schema: *347 + schema: *345 examples: default: value: @@ -51022,9 +50732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '204': description: Response @@ -51047,9 +50757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response @@ -51059,7 +50769,7 @@ paths: type: array items: *5 examples: - default: &355 + default: &353 value: - id: 1 slug: octoapp @@ -51116,9 +50826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51152,7 +50862,7 @@ paths: type: array items: *5 examples: - default: *355 + default: *353 '422': *15 x-github: githubCloudOnly: false @@ -51173,9 +50883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51209,7 +50919,7 @@ paths: type: array items: *5 examples: - default: *355 + default: *353 '422': *15 x-github: githubCloudOnly: false @@ -51230,9 +50940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51266,7 +50976,7 @@ paths: type: array items: *5 examples: - default: *355 + default: *353 '422': *15 x-github: githubCloudOnly: false @@ -51288,9 +50998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response @@ -51320,9 +51030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -51381,9 +51091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: false content: @@ -51442,9 +51152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: content: application/json: @@ -51503,9 +51213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 responses: '200': description: Response @@ -51539,9 +51249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51599,9 +51309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51659,9 +51369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51721,9 +51431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 requestBody: required: true content: @@ -51745,7 +51455,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *354 examples: default: value: @@ -51861,8 +51571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -52141,7 +51851,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &356 title: CheckRun description: A check performed on the code of a given code change type: object @@ -52260,8 +51970,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *357 - deployment: &655 + items: *355 + deployment: &653 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -52541,9 +52251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *278 - - *279 - - &359 + - *276 + - *277 + - &357 name: check_run_id description: The unique identifier of the check run. in: path @@ -52555,9 +52265,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: &360 + default: &358 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -52657,9 +52367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *278 - - *279 - - *359 + - *276 + - *277 + - *357 requestBody: required: true content: @@ -52899,9 +52609,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *360 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52921,9 +52631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *278 - - *279 - - *359 + - *276 + - *277 + - *357 - *17 - *19 responses: @@ -53020,9 +52730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *278 - - *279 - - *359 + - *276 + - *277 + - *357 responses: '201': description: Response @@ -53066,8 +52776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -53089,7 +52799,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &363 + schema: &361 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53153,7 +52863,7 @@ paths: nullable: true pull_requests: type: array - items: *357 + items: *355 nullable: true app: title: GitHub app @@ -53175,12 +52885,12 @@ paths: type: string format: date-time nullable: true - head_commit: &681 + head_commit: &679 title: Simple Commit description: A commit. type: object - properties: *361 - required: *362 + properties: *359 + required: *360 latest_check_runs_count: type: integer check_runs_url: @@ -53208,7 +52918,7 @@ paths: - check_runs_url - pull_requests examples: - default: &364 + default: &362 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -53499,9 +53209,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *363 + schema: *361 examples: - default: *364 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53520,8 +53230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -53830,9 +53540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *278 - - *279 - - &365 + - *276 + - *277 + - &363 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -53844,9 +53554,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *361 examples: - default: *364 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53869,17 +53579,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *278 - - *279 - - *365 - - &417 + - *276 + - *277 + - *363 + - &415 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &418 + - &416 name: status description: Returns check runs with the specified `status`. in: query @@ -53918,9 +53628,9 @@ paths: type: integer check_runs: type: array - items: *358 + items: *356 examples: - default: &419 + default: &417 value: total_count: 1 check_runs: @@ -54022,9 +53732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *278 - - *279 - - *365 + - *276 + - *277 + - *363 responses: '201': description: Response @@ -54057,21 +53767,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *278 - - *279 - - *366 - - *367 + - *276 + - *277 + - *364 + - *365 - *19 - *17 - - &384 + - &382 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: *368 - - &385 + schema: *366 + - &383 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54096,13 +53806,13 @@ paths: be returned. in: query required: false - schema: *369 + schema: *367 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *370 + schema: *368 responses: '200': description: Response @@ -54118,7 +53828,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: *371 + instances_url: *369 state: *138 fixed_at: *134 dismissed_by: @@ -54129,11 +53839,11 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: *372 - dismissed_comment: *373 - rule: *374 - tool: *375 - most_recent_instance: *376 + dismissed_reason: *370 + dismissed_comment: *371 + rule: *372 + tool: *373 + most_recent_instance: *374 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -54256,7 +53966,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &377 + '403': &375 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -54283,9 +53993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *278 - - *279 - - &378 + - *276 + - *277 + - &376 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -54299,7 +54009,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &377 type: object properties: number: *54 @@ -54307,7 +54017,7 @@ paths: updated_at: *133 url: *56 html_url: *57 - instances_url: *371 + instances_url: *369 state: *138 fixed_at: *134 dismissed_by: @@ -54318,8 +54028,8 @@ paths: required: *21 nullable: true dismissed_at: *135 - dismissed_reason: *372 - dismissed_comment: *373 + dismissed_reason: *370 + dismissed_comment: *371 rule: type: object properties: @@ -54373,8 +54083,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *375 - most_recent_instance: *376 + tool: *373 + most_recent_instance: *374 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -54470,7 +54180,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -54490,9 +54200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 requestBody: required: true content: @@ -54507,8 +54217,8 @@ paths: enum: - open - dismissed - dismissed_reason: *372 - dismissed_comment: *373 + dismissed_reason: *370 + dismissed_comment: *371 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -54527,7 +54237,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *377 examples: default: value: @@ -54603,7 +54313,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &383 + '403': &381 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -54630,15 +54340,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: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 responses: '200': description: Response content: application/json: - schema: &380 + schema: &378 type: object properties: status: @@ -54664,13 +54374,13 @@ paths: - description - started_at examples: - default: &381 + default: &379 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &382 + '400': &380 description: Bad Request content: application/json: @@ -54681,7 +54391,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': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -54706,29 +54416,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: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 responses: '200': description: OK content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 '202': description: Accepted content: application/json: - schema: *380 + schema: *378 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *382 + '400': *380 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -54760,9 +54470,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: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 requestBody: required: false content: @@ -54807,8 +54517,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *382 - '403': *383 + '400': *380 + '403': *381 '404': *6 '422': description: Unprocessable Entity @@ -54832,13 +54542,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 - *19 - *17 - - *384 - - *385 + - *382 + - *383 responses: '200': description: Response @@ -54846,7 +54556,7 @@ paths: application/json: schema: type: array - items: *376 + items: *374 examples: default: value: @@ -54885,7 +54595,7 @@ paths: end_column: 50 classifications: - source - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -54919,25 +54629,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *278 - - *279 - - *366 - - *367 + - *276 + - *277 + - *364 + - *365 - *19 - *17 - - *385 + - *383 - 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: *368 + schema: *366 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &388 + schema: &386 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -54958,23 +54668,23 @@ paths: application/json: schema: type: array - items: &389 + items: &387 type: object properties: - ref: *368 - commit_sha: &397 + ref: *366 + commit_sha: &395 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: *386 + analysis_key: *384 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *387 + category: *385 error: type: string example: error reading field xyz @@ -54998,8 +54708,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *388 - tool: *375 + sarif_id: *386 + tool: *373 deletable: type: boolean warning: @@ -55060,7 +54770,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -55096,8 +54806,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: - - *278 - - *279 + - *276 + - *277 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55110,7 +54820,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *387 examples: response: summary: application/json response @@ -55164,7 +54874,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -55246,8 +54956,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: - - *278 - - *279 + - *276 + - *277 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55300,7 +55010,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': *383 + '403': *381 '404': *6 '503': *65 x-github: @@ -55322,8 +55032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -55331,7 +55041,7 @@ paths: application/json: schema: type: array - items: &390 + items: &388 title: CodeQL Database description: A CodeQL database. type: object @@ -55442,7 +55152,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': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -55471,8 +55181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - name: language in: path description: The language of the CodeQL database. @@ -55484,7 +55194,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *388 examples: default: value: @@ -55516,9 +55226,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': &426 + '302': &424 description: Found - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -55540,8 +55250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *278 - - *279 + - *276 + - *277 - name: language in: path description: The language of the CodeQL database. @@ -55551,7 +55261,7 @@ paths: responses: '204': description: Response - '403': *383 + '403': *381 '404': *6 '503': *65 x-github: @@ -55579,8 +55289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -55589,7 +55299,7 @@ paths: type: object additionalProperties: false properties: - language: &391 + language: &389 type: string description: The language targeted by the CodeQL query enum: @@ -55667,7 +55377,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &395 + schema: &393 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -55677,7 +55387,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *391 + query_language: *389 query_pack_url: type: string description: The download url for the query pack. @@ -55724,7 +55434,7 @@ paths: items: type: object properties: - repository: &392 + repository: &390 title: Repository Identifier description: Repository Identifier type: object @@ -55760,7 +55470,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &396 + analysis_status: &394 type: string description: The new status of the CodeQL variant analysis repository task. @@ -55792,7 +55502,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &393 + access_mismatch_repos: &391 type: object properties: repository_count: @@ -55806,7 +55516,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: *392 + items: *390 required: - repository_count - repositories @@ -55828,8 +55538,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *393 - over_limit_repos: *393 + no_codeql_db_repos: *391 + over_limit_repos: *391 required: - access_mismatch_repos - not_found_repos @@ -55845,7 +55555,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &394 + value: &392 summary: Default response value: id: 1 @@ -55997,10 +55707,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *394 + value: *392 repository_lists: summary: Response for a successful variant analysis submission - value: *394 + value: *392 '404': *6 '422': description: Unable to process variant analysis submission @@ -56028,8 +55738,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: - - *278 - - *279 + - *276 + - *277 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -56041,9 +55751,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *393 examples: - default: *394 + default: *392 '404': *6 '503': *65 x-github: @@ -56066,7 +55776,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: - - *278 + - *276 - name: repo in: path description: The name of the controller repository. @@ -56101,7 +55811,7 @@ paths: type: object properties: repository: *53 - analysis_status: *396 + analysis_status: *394 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -56226,8 +55936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -56301,7 +56011,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *377 + '403': *375 '404': *6 '503': *65 x-github: @@ -56322,8 +56032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -56405,7 +56115,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *383 + '403': *381 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -56470,8 +56180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -56479,7 +56189,7 @@ paths: schema: type: object properties: - commit_sha: *397 + commit_sha: *395 ref: type: string description: |- @@ -56537,7 +56247,7 @@ paths: schema: type: object properties: - id: *388 + id: *386 url: type: string description: The REST API URL for checking the status of the upload. @@ -56551,7 +56261,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': *383 + '403': *381 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -56574,8 +56284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *278 - - *279 + - *276 + - *277 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -56621,7 +56331,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': *377 + '403': *375 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -56646,8 +56356,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -56728,8 +56438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *278 - - *279 + - *276 + - *277 - 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 @@ -56849,8 +56559,8 @@ paths: parameters: - *17 - *19 - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -57164,8 +56874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -57230,7 +56940,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -57238,7 +56948,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '400': *14 '401': *25 '403': *29 @@ -57267,8 +56977,8 @@ paths: parameters: - *17 - *19 - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -57332,8 +57042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -57368,14 +57078,14 @@ paths: type: integer machines: type: array - items: &612 + items: &610 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *399 - required: *400 + properties: *397 + required: *398 examples: - default: &613 + default: &611 value: total_count: 2 machines: @@ -57415,8 +57125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *278 - - *279 + - *276 + - *277 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -57500,8 +57210,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: - - *278 - - *279 + - *276 + - *277 - 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 @@ -57567,8 +57277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -57586,7 +57296,7 @@ paths: type: integer secrets: type: array - items: &404 + items: &402 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -57606,7 +57316,7 @@ paths: - created_at - updated_at examples: - default: *401 + default: *399 headers: Link: *58 x-github: @@ -57629,16 +57339,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *402 + schema: *400 examples: - default: *403 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57658,17 +57368,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '200': description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: *405 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57688,8 +57398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 requestBody: required: true @@ -57742,8 +57452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '204': @@ -57772,8 +57482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *278 - - *279 + - *276 + - *277 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -57815,7 +57525,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &406 + properties: &404 login: type: string example: octocat @@ -57908,7 +57618,7 @@ paths: user_view_type: type: string example: public - required: &407 + required: &405 - avatar_url - events_url - followers_url @@ -57982,8 +57692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *278 - - *279 + - *276 + - *277 - *132 responses: '204': @@ -58026,8 +57736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *278 - - *279 + - *276 + - *277 - *132 requestBody: required: false @@ -58054,7 +57764,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &474 + schema: &472 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -58276,8 +57986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *278 - - *279 + - *276 + - *277 - *132 responses: '204': @@ -58307,8 +58017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *278 - - *279 + - *276 + - *277 - *132 responses: '200': @@ -58329,8 +58039,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *406 - required: *407 + properties: *404 + required: *405 nullable: true required: - permission @@ -58385,8 +58095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -58396,7 +58106,7 @@ paths: application/json: schema: type: array - items: &408 + items: &406 title: Commit Comment description: Commit Comment type: object @@ -58454,7 +58164,7 @@ paths: - created_at - updated_at examples: - default: &411 + default: &409 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58513,17 +58223,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '200': description: Response content: application/json: - schema: *408 + schema: *406 examples: - default: &412 + default: &410 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58580,8 +58290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -58604,7 +58314,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *406 examples: default: value: @@ -58655,8 +58365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '204': @@ -58678,8 +58388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -58706,9 +58416,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 @@ -58729,8 +58439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -58763,16 +58473,16 @@ paths: description: Reaction exists content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Reaction created content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -58794,10 +58504,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *278 - - *279 + - *276 + - *277 - *76 - - *274 + - *272 responses: '204': description: Response @@ -58846,8 +58556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *278 - - *279 + - *276 + - *277 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -58903,9 +58613,9 @@ paths: application/json: schema: type: array - items: *409 + items: *407 examples: - default: &525 + default: &523 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58999,9 +58709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *278 - - *279 - - &410 + - *276 + - *277 + - &408 name: commit_sha description: The SHA of the commit. in: path @@ -59073,9 +58783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *278 - - *279 - - *410 + - *276 + - *277 + - *408 - *17 - *19 responses: @@ -59085,9 +58795,9 @@ paths: application/json: schema: type: array - items: *408 + items: *406 examples: - default: *411 + default: *409 headers: Link: *58 x-github: @@ -59115,9 +58825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *278 - - *279 - - *410 + - *276 + - *277 + - *408 requestBody: required: true content: @@ -59152,9 +58862,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *406 examples: - default: *412 + default: *410 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59172,7 +58882,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: @@ -59182,9 +58892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *278 - - *279 - - *410 + - *276 + - *277 + - *408 - *17 - *19 responses: @@ -59194,7 +58904,7 @@ paths: application/json: schema: type: array - items: &516 + items: &514 title: Pull Request Simple description: Pull Request Simple type: object @@ -59300,8 +59010,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *413 - required: *414 + properties: *411 + required: *412 nullable: true active_lock_reason: type: string @@ -59397,7 +59107,7 @@ paths: _links: type: object properties: - comments: &415 + comments: &413 title: Link description: Hypermedia Link type: object @@ -59406,13 +59116,13 @@ paths: type: string required: - href - commits: *415 - statuses: *415 - html: *415 - issue: *415 - review_comments: *415 - review_comment: *415 - self: *415 + commits: *413 + statuses: *413 + html: *413 + issue: *413 + review_comments: *413 + review_comment: *413 + self: *413 required: - comments - commits @@ -59423,7 +59133,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &518 + auto_merge: &516 title: Auto merge description: The status of auto merging a pull request. type: object @@ -59486,7 +59196,7 @@ paths: - author_association - auto_merge examples: - default: &517 + default: &515 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -60023,11 +59733,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *278 - - *279 + - *276 + - *277 - *19 - *17 - - &416 + - &414 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)" @@ -60042,9 +59752,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *407 examples: - default: &503 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60157,11 +59867,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *278 - - *279 + - *276 + - *277 + - *414 + - *415 - *416 - - *417 - - *418 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -60195,9 +59905,9 @@ paths: type: integer check_runs: type: array - items: *358 + items: *356 examples: - default: *419 + default: *417 headers: Link: *58 x-github: @@ -60222,9 +59932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *278 - - *279 - - *416 + - *276 + - *277 + - *414 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -60232,7 +59942,7 @@ paths: schema: type: integer example: 1 - - *417 + - *415 - *17 - *19 responses: @@ -60250,7 +59960,7 @@ paths: type: integer check_suites: type: array - items: *363 + items: *361 examples: default: value: @@ -60450,9 +60160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *278 - - *279 - - *416 + - *276 + - *277 + - *414 - *17 - *19 responses: @@ -60650,9 +60360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *278 - - *279 - - *416 + - *276 + - *277 + - *414 - *17 - *19 responses: @@ -60662,7 +60372,7 @@ paths: application/json: schema: type: array - items: &586 + items: &584 title: Status description: The status of a commit. type: object @@ -60743,7 +60453,7 @@ paths: site_admin: false headers: Link: *58 - '301': *290 + '301': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60771,8 +60481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -60801,20 +60511,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *420 - required: *421 + properties: *418 + required: *419 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &422 + properties: &420 url: type: string format: uri html_url: type: string format: uri - required: &423 + required: &421 - url - html_url nullable: true @@ -60828,26 +60538,26 @@ paths: contributing: title: Community Health File type: object - properties: *422 - required: *423 + properties: *420 + required: *421 nullable: true readme: title: Community Health File type: object - properties: *422 - required: *423 + properties: *420 + required: *421 nullable: true issue_template: title: Community Health File type: object - properties: *422 - required: *423 + properties: *420 + required: *421 nullable: true pull_request_template: title: Community Health File type: object - properties: *422 - required: *423 + properties: *420 + required: *421 nullable: true required: - code_of_conduct @@ -60974,8 +60684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *278 - - *279 + - *276 + - *277 - *19 - *17 - name: basehead @@ -61018,8 +60728,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *409 - merge_base_commit: *409 + base_commit: *407 + merge_base_commit: *407 status: type: string enum: @@ -61039,10 +60749,10 @@ paths: example: 6 commits: type: array - items: *409 + items: *407 files: type: array - items: *424 + items: *422 required: - url - html_url @@ -61328,8 +61038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *278 - - *279 + - *276 + - *277 - name: path description: path parameter in: path @@ -61470,7 +61180,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &425 + response-if-content-is-a-file: &423 summary: Response if content is a file value: type: file @@ -61602,7 +61312,7 @@ paths: - size - type - url - - &530 + - &528 title: Content File description: Content File type: object @@ -61803,7 +61513,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *425 + response-if-content-is-a-file: *423 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -61872,7 +61582,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *426 + '302': *424 '304': *37 x-github: githubCloudOnly: false @@ -61895,8 +61605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *278 - - *279 + - *276 + - *277 - name: path description: path parameter in: path @@ -61989,7 +61699,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &425 title: File Commit description: File Commit type: object @@ -62141,7 +61851,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *425 examples: example-for-creating-a-file: value: @@ -62195,7 +61905,7 @@ paths: schema: oneOf: - *3 - - &456 + - &454 description: Repository rule violation was detected type: object properties: @@ -62216,7 +61926,7 @@ paths: items: type: object properties: - placeholder_id: &578 + placeholder_id: &576 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -62248,8 +61958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *278 - - *279 + - *276 + - *277 - name: path description: path parameter in: path @@ -62310,7 +62020,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *425 examples: default: value: @@ -62365,8 +62075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *278 - - *279 + - *276 + - *277 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -62489,8 +62199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *149 - *150 - *151 @@ -62532,7 +62242,7 @@ paths: application/json: schema: type: array - items: &430 + items: &428 type: object description: A Dependabot alert. properties: @@ -62578,7 +62288,7 @@ paths: - unknown - direct - transitive - security_advisory: *428 + security_advisory: *426 security_vulnerability: *52 url: *56 html_url: *57 @@ -62609,7 +62319,7 @@ paths: nullable: true maxLength: 280 fixed_at: *134 - auto_dismissed_at: *429 + auto_dismissed_at: *427 required: - number - state @@ -62839,9 +62549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *278 - - *279 - - &431 + - *276 + - *277 + - &429 name: alert_number in: path description: |- @@ -62856,7 +62566,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *428 examples: default: value: @@ -62969,9 +62679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *278 - - *279 - - *431 + - *276 + - *277 + - *429 requestBody: required: true content: @@ -63016,7 +62726,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *428 examples: default: value: @@ -63145,8 +62855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -63164,7 +62874,7 @@ paths: type: integer secrets: type: array - items: &434 + items: &432 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -63217,16 +62927,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: *433 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63246,15 +62956,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '200': description: Response content: application/json: - schema: *434 + schema: *432 examples: default: value: @@ -63280,8 +62990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 requestBody: required: true @@ -63334,8 +63044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *276 + - *277 - *127 responses: '204': @@ -63358,8 +63068,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: - - *278 - - *279 + - *276 + - *277 - 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 @@ -63519,8 +63229,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -63759,8 +63469,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -63835,7 +63545,7 @@ paths: - version - url additionalProperties: false - metadata: &435 + metadata: &433 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -63868,7 +63578,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *435 + metadata: *433 resolved: type: object description: A collection of resolved package dependencies. @@ -63881,7 +63591,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *435 + metadata: *433 relationship: type: string description: A notation of whether a dependency is requested @@ -64010,8 +63720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *278 - - *279 + - *276 + - *277 - name: sha description: The SHA recorded at creation time. in: query @@ -64051,9 +63761,9 @@ paths: application/json: schema: type: array - items: *436 + items: *434 examples: - default: *437 + default: *435 headers: Link: *58 x-github: @@ -64119,8 +63829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -64201,7 +63911,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *434 examples: simple-example: summary: Simple example @@ -64274,9 +63984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *278 - - *279 - - &438 + - *276 + - *277 + - &436 name: deployment_id description: deployment_id parameter in: path @@ -64288,7 +63998,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *434 examples: default: value: @@ -64353,9 +64063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *278 - - *279 - - *438 + - *276 + - *277 + - *436 responses: '204': description: Response @@ -64377,9 +64087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *278 - - *279 - - *438 + - *276 + - *277 + - *436 - *17 - *19 responses: @@ -64389,7 +64099,7 @@ paths: application/json: schema: type: array - items: &439 + items: &437 title: Deployment Status description: The status of a deployment. type: object @@ -64550,9 +64260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *278 - - *279 - - *438 + - *276 + - *277 + - *436 requestBody: required: true content: @@ -64627,9 +64337,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *437 examples: - default: &440 + default: &438 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -64685,9 +64395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *278 - - *279 - - *438 + - *276 + - *277 + - *436 - name: status_id in: path required: true @@ -64698,9 +64408,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *437 examples: - default: *440 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -64725,8 +64435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -64783,8 +64493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -64801,7 +64511,7 @@ paths: type: integer environments: type: array - items: &442 + items: &440 title: Environment description: Details of a deployment environment type: object @@ -64853,7 +64563,7 @@ paths: type: type: string example: wait_timer - wait_timer: &444 + wait_timer: &442 type: integer example: 30 description: The amount of time to delay a job after @@ -64890,7 +64600,7 @@ paths: items: type: object properties: - type: *441 + type: *439 reviewer: anyOf: - *4 @@ -64914,7 +64624,7 @@ paths: - id - node_id - type - deployment_branch_policy: &445 + deployment_branch_policy: &443 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -65030,9 +64740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *278 - - *279 - - &443 + - *276 + - *277 + - &441 name: environment_name in: path required: true @@ -65045,9 +64755,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *440 examples: - default: &446 + default: &444 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -65131,9 +64841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 requestBody: required: false content: @@ -65142,7 +64852,7 @@ paths: type: object nullable: true properties: - wait_timer: *444 + wait_timer: *442 prevent_self_review: type: boolean example: false @@ -65159,13 +64869,13 @@ paths: items: type: object properties: - type: *441 + type: *439 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *445 + deployment_branch_policy: *443 additionalProperties: false examples: default: @@ -65185,9 +64895,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *440 examples: - default: *446 + default: *444 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -65211,9 +64921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 responses: '204': description: Default response @@ -65238,9 +64948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *17 - *19 responses: @@ -65258,7 +64968,7 @@ paths: example: 2 branch_policies: type: array - items: &447 + items: &445 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -65315,9 +65025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 requestBody: required: true content: @@ -65363,9 +65073,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: - example-wildcard: &448 + example-wildcard: &446 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -65407,10 +65117,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *278 - - *279 - - *443 - - &449 + - *276 + - *277 + - *441 + - &447 name: branch_policy_id in: path required: true @@ -65422,9 +65132,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: - default: *448 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65443,10 +65153,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *278 - - *279 - - *443 - - *449 + - *276 + - *277 + - *441 + - *447 requestBody: required: true content: @@ -65474,9 +65184,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: - default: *448 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65495,10 +65205,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *278 - - *279 - - *443 - - *449 + - *276 + - *277 + - *441 + - *447 responses: '204': description: Response @@ -65523,9 +65233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *443 - - *279 - - *278 + - *441 + - *277 + - *276 responses: '200': description: List of deployment protection rules @@ -65541,7 +65251,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &450 + items: &448 title: Deployment protection rule description: Deployment protection rule type: object @@ -65560,7 +65270,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &451 + app: &449 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -65659,9 +65369,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: - - *443 - - *279 - - *278 + - *441 + - *277 + - *276 requestBody: content: application/json: @@ -65682,9 +65392,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *450 + schema: *448 examples: - default: &452 + default: &450 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -65719,9 +65429,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: - - *443 - - *279 - - *278 + - *441 + - *277 + - *276 - *19 - *17 responses: @@ -65740,7 +65450,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *451 + items: *449 examples: default: value: @@ -65775,10 +65485,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *278 - - *279 - - *443 - - &453 + - *276 + - *277 + - *441 + - &451 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -65790,9 +65500,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *448 examples: - default: *452 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65813,10 +65523,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *443 - - *279 - - *278 - - *453 + - *441 + - *277 + - *276 + - *451 responses: '204': description: Response @@ -65842,9 +65552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *17 - *19 responses: @@ -65862,9 +65572,9 @@ paths: type: integer secrets: type: array - items: *324 + items: *322 examples: - default: *325 + default: *323 headers: Link: *58 x-github: @@ -65889,17 +65599,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 responses: '200': description: Response content: application/json: - schema: *326 + schema: *324 examples: - default: *327 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65921,18 +65631,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *127 responses: '200': description: Response content: application/json: - schema: *324 + schema: *322 examples: - default: *454 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65954,9 +65664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *127 requestBody: required: true @@ -66014,9 +65724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *127 responses: '204': @@ -66042,10 +65752,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *278 - - *279 - - *443 - - *300 + - *276 + - *277 + - *441 + - *298 - *19 responses: '200': @@ -66062,9 +65772,9 @@ paths: type: integer variables: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *58 x-github: @@ -66087,9 +65797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 requestBody: required: true content: @@ -66141,18 +65851,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *278 - - *279 - - *443 + - *276 + - *277 + - *441 - *130 responses: '200': description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: *455 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66173,10 +65883,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 - - *443 + - *441 requestBody: required: true content: @@ -66218,10 +65928,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *278 - - *279 + - *276 + - *277 - *130 - - *443 + - *441 responses: '204': description: Response @@ -66243,8 +65953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -66321,8 +66031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *278 - - *279 + - *276 + - *277 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -66481,8 +66191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -66514,9 +66224,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 + default: *289 '400': *14 '422': *15 '403': *29 @@ -66537,8 +66247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -66598,7 +66308,7 @@ paths: schema: oneOf: - *97 - - *456 + - *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66623,8 +66333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *278 - - *279 + - *276 + - *277 - name: file_sha in: path required: true @@ -66723,8 +66433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -66833,7 +66543,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &455 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -67047,15 +66757,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *278 - - *279 - - *410 + - *276 + - *277 + - *408 responses: '200': description: Response content: application/json: - schema: *457 + schema: *455 examples: default: value: @@ -67111,9 +66821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *278 - - *279 - - &458 + - *276 + - *277 + - &456 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. @@ -67130,7 +66840,7 @@ paths: application/json: schema: type: array - items: &459 + items: &457 title: Git Reference description: Git references within a repository type: object @@ -67205,17 +66915,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *278 - - *279 - - *458 + - *276 + - *277 + - *456 responses: '200': description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: &460 + default: &458 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -67244,8 +66954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -67274,9 +66984,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *460 + default: *458 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -67302,9 +67012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *278 - - *279 - - *458 + - *276 + - *277 + - *456 requestBody: required: true content: @@ -67333,9 +67043,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *460 + default: *458 '422': *15 '409': *46 x-github: @@ -67353,9 +67063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *278 - - *279 - - *458 + - *276 + - *277 + - *456 responses: '204': description: Response @@ -67408,8 +67118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -67476,7 +67186,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &460 title: Git Tag description: Metadata for a Git tag type: object @@ -67527,7 +67237,7 @@ paths: - sha - type - url - verification: *461 + verification: *459 required: - sha - url @@ -67537,7 +67247,7 @@ paths: - tag - message examples: - default: &463 + default: &461 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -67610,8 +67320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *278 - - *279 + - *276 + - *277 - name: tag_sha in: path required: true @@ -67622,9 +67332,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: - default: *463 + default: *461 '404': *6 '409': *46 x-github: @@ -67648,8 +67358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -67722,7 +67432,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &462 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -67834,8 +67544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *278 - - *279 + - *276 + - *277 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -67858,7 +67568,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *462 examples: default-response: summary: Default response @@ -67917,8 +67627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -67928,7 +67638,7 @@ paths: application/json: schema: type: array - items: &465 + items: &463 title: Webhook description: Webhooks for repositories. type: object @@ -67982,7 +67692,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &689 + last_response: &687 title: Hook Response type: object properties: @@ -68056,8 +67766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -68109,9 +67819,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *463 examples: - default: &466 + default: &464 value: type: Repository id: 12345678 @@ -68159,17 +67869,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '200': description: Response content: application/json: - schema: *465 + schema: *463 examples: - default: *466 + default: *464 '404': *6 x-github: githubCloudOnly: false @@ -68189,8 +67899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 requestBody: required: true @@ -68236,9 +67946,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *463 examples: - default: *466 + default: *464 '422': *15 '404': *6 x-github: @@ -68259,8 +67969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '204': @@ -68285,8 +67995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '200': @@ -68314,8 +68024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *165 requestBody: required: false @@ -68360,8 +68070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 - *17 - *166 @@ -68393,8 +68103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 - *16 responses: @@ -68423,8 +68133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 - *16 responses: @@ -68448,8 +68158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '204': @@ -68475,8 +68185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *278 - - *279 + - *276 + - *277 - *165 responses: '204': @@ -68535,14 +68245,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: &467 + schema: &465 title: Import description: A repository import from an external source. type: object @@ -68641,7 +68351,7 @@ paths: - html_url - authors_url examples: - default: &470 + default: &468 value: vcs: subversion use_lfs: true @@ -68657,7 +68367,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': &468 + '503': &466 description: Unavailable due to service under maintenance. content: application/json: @@ -68686,8 +68396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -68735,7 +68445,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *465 examples: default: value: @@ -68760,7 +68470,7 @@ paths: type: string '422': *15 '404': *6 - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68788,8 +68498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -68838,7 +68548,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *465 examples: example-1: summary: Example 1 @@ -68886,7 +68596,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': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68909,12 +68619,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68940,9 +68650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *278 - - *279 - - &636 + - *276 + - *277 + - &634 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -68956,7 +68666,7 @@ paths: application/json: schema: type: array - items: &469 + items: &467 title: Porter Author description: Porter Author type: object @@ -69010,7 +68720,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': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69035,8 +68745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *278 - - *279 + - *276 + - *277 - name: author_id in: path required: true @@ -69066,7 +68776,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *467 examples: default: value: @@ -69079,7 +68789,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69103,8 +68813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -69145,7 +68855,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69173,8 +68883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -69201,11 +68911,11 @@ paths: description: Response content: application/json: - schema: *467 + schema: *465 examples: - default: *470 + default: *468 '422': *15 - '503': *468 + '503': *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69228,8 +68938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -69237,8 +68947,8 @@ paths: application/json: schema: *22 examples: - default: *471 - '301': *290 + default: *469 + '301': *288 '404': *6 x-github: githubCloudOnly: false @@ -69258,8 +68968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -69272,7 +68982,7 @@ paths: properties: {} additionalProperties: false examples: - default: &473 + default: &471 value: limit: collaborators_only origin: repository @@ -69297,13 +69007,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: application/json: - schema: *472 + schema: *470 examples: default: summary: Example request body @@ -69317,7 +69027,7 @@ paths: application/json: schema: *183 examples: - default: *473 + default: *471 '409': description: Response x-github: @@ -69339,8 +69049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -69363,8 +69073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -69374,9 +69084,9 @@ paths: application/json: schema: type: array - items: *474 + items: *472 examples: - default: &629 + default: &627 value: - id: 1 repository: @@ -69507,8 +69217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *278 - - *279 + - *276 + - *277 - *187 requestBody: required: false @@ -69538,7 +69248,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *472 examples: default: value: @@ -69669,8 +69379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *278 - - *279 + - *276 + - *277 - *187 responses: '204': @@ -69702,8 +69412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *278 - - *279 + - *276 + - *277 - 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 @@ -69776,7 +69486,7 @@ paths: type: array items: *77 examples: - default: &485 + default: &483 value: - id: 1 node_id: MDU6SXNzdWUx @@ -69924,7 +69634,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *290 + '301': *288 '422': *15 '404': *6 x-github: @@ -69953,8 +69663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -70038,7 +69748,7 @@ paths: application/json: schema: *77 examples: - default: &480 + default: &478 value: id: 1 node_id: MDU6SXNzdWUx @@ -70194,7 +69904,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *287 + '410': *285 x-github: triggersNotification: true githubCloudOnly: false @@ -70222,8 +69932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -70244,9 +69954,9 @@ paths: application/json: schema: type: array - items: *475 + items: *473 examples: - default: &482 + default: &480 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70304,17 +70014,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '200': description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: &476 + default: &474 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70368,8 +70078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -70392,9 +70102,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: *476 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -70412,8 +70122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '204': @@ -70434,8 +70144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -70462,9 +70172,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 @@ -70485,8 +70195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -70519,16 +70229,16 @@ paths: description: Reaction exists content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Reaction created content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -70550,10 +70260,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *278 - - *279 + - *276 + - *277 - *76 - - *274 + - *272 responses: '204': description: Response @@ -70573,8 +70283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -70584,7 +70294,7 @@ paths: application/json: schema: type: array - items: &479 + items: &477 title: Issue Event description: Issue Event type: object @@ -70627,8 +70337,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *477 - required: *478 + properties: *475 + required: *476 nullable: true label: title: Issue Event Label @@ -70935,8 +70645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *278 - - *279 + - *276 + - *277 - name: event_id in: path required: true @@ -70947,7 +70657,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *477 examples: default: value: @@ -71140,7 +70850,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *287 + '410': *285 '403': *29 x-github: githubCloudOnly: false @@ -71174,9 +70884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *278 - - *279 - - &481 + - *276 + - *277 + - &479 name: issue_number description: The number that identifies the issue. in: path @@ -71190,10 +70900,10 @@ paths: application/json: schema: *77 examples: - default: *480 - '301': *290 + default: *478 + '301': *288 '404': *6 - '410': *287 + '410': *285 '304': *37 x-github: githubCloudOnly: false @@ -71218,9 +70928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -71325,13 +71035,13 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 '422': *15 '503': *65 '403': *29 - '301': *290 + '301': *288 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71349,9 +71059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -71379,7 +71089,7 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71395,9 +71105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: content: application/json: @@ -71424,7 +71134,7 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71446,9 +71156,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: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - name: assignee in: path required: true @@ -71488,9 +71198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *67 - *17 - *19 @@ -71501,13 +71211,13 @@ paths: application/json: schema: type: array - items: *475 + items: *473 examples: - default: *482 + default: *480 headers: Link: *58 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71536,9 +71246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -71560,16 +71270,16 @@ paths: description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: *476 + default: *474 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *287 + '410': *285 '422': *15 '404': *6 x-github: @@ -71589,9 +71299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *17 - *19 responses: @@ -71605,7 +71315,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &486 + - &484 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -71659,7 +71369,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &485 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -71795,7 +71505,7 @@ paths: - performed_via_github_app - assignee - assigner - - &488 + - &486 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -71846,7 +71556,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &487 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -71897,7 +71607,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &488 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -71951,7 +71661,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &489 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -71998,7 +71708,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &490 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -72045,7 +71755,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &491 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -72105,7 +71815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &492 title: Locked Issue Event description: Locked Issue Event type: object @@ -72153,7 +71863,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &493 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -72219,7 +71929,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &494 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -72285,7 +71995,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &495 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -72351,7 +72061,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &496 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -72442,7 +72152,7 @@ paths: color: red headers: Link: *58 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72459,9 +72169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *17 - *19 responses: @@ -72471,7 +72181,7 @@ paths: application/json: schema: type: array - items: &483 + items: &481 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -72518,7 +72228,7 @@ paths: - color - default examples: - default: &484 + default: &482 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72536,9 +72246,9 @@ paths: default: false headers: Link: *58 - '301': *290 + '301': *288 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72555,9 +72265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -72616,12 +72326,12 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: - default: *484 - '301': *290 + default: *482 + '301': *288 '404': *6 - '410': *287 + '410': *285 '422': *15 x-github: githubCloudOnly: false @@ -72638,9 +72348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -72700,12 +72410,12 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: - default: *484 - '301': *290 + default: *482 + '301': *288 '404': *6 - '410': *287 + '410': *285 '422': *15 x-github: githubCloudOnly: false @@ -72722,15 +72432,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 responses: '204': description: Response - '301': *290 + '301': *288 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72749,9 +72459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - name: name in: path required: true @@ -72764,7 +72474,7 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: default: value: @@ -72775,9 +72485,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *290 + '301': *288 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72797,9 +72507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: false content: @@ -72827,7 +72537,7 @@ paths: '204': description: Response '403': *29 - '410': *287 + '410': *285 '404': *6 '422': *15 x-github: @@ -72845,9 +72555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 responses: '204': description: Response @@ -72869,9 +72579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - 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. @@ -72897,13 +72607,13 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72921,9 +72631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -72955,16 +72665,16 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -72986,10 +72696,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *278 - - *279 - - *481 - - *274 + - *276 + - *277 + - *479 + - *272 responses: '204': description: Response @@ -73018,9 +72728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -73044,7 +72754,7 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -73077,9 +72787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *17 - *19 responses: @@ -73091,11 +72801,11 @@ paths: type: array items: *77 examples: - default: *485 + default: *483 headers: Link: *58 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73123,9 +72833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -73154,14 +72864,14 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *287 + '410': *285 '422': *15 '404': *6 x-github: @@ -73181,9 +72891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 requestBody: required: true content: @@ -73216,7 +72926,7 @@ paths: application/json: schema: *77 examples: - default: *480 + default: *478 '403': *29 '404': *6 '422': *7 @@ -73238,9 +72948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *278 - - *279 - - *481 + - *276 + - *277 + - *479 - *17 - *19 responses: @@ -73255,6 +72965,8 @@ paths: description: Timeline Event type: object anyOf: + - *484 + - *485 - *486 - *487 - *488 @@ -73266,8 +72978,6 @@ paths: - *494 - *495 - *496 - - *497 - - *498 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -73572,7 +73282,7 @@ paths: type: string comments: type: array - items: &519 + items: &517 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73781,7 +73491,7 @@ paths: type: string comments: type: array - items: *408 + items: *406 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -74070,7 +73780,7 @@ paths: headers: Link: *58 '404': *6 - '410': *287 + '410': *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74087,8 +73797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -74098,7 +73808,7 @@ paths: application/json: schema: type: array - items: &499 + items: &497 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -74163,8 +73873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74200,9 +73910,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: &500 + default: &498 value: id: 1 key: ssh-rsa AAA... @@ -74236,9 +73946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *278 - - *279 - - &501 + - *276 + - *277 + - &499 name: key_id description: The unique identifier of the key. in: path @@ -74250,9 +73960,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 '404': *6 x-github: githubCloudOnly: false @@ -74270,9 +73980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *278 - - *279 - - *501 + - *276 + - *277 + - *499 responses: '204': description: Response @@ -74292,8 +74002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -74303,9 +74013,9 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: - default: *484 + default: *482 headers: Link: *58 '404': *6 @@ -74326,8 +74036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74363,9 +74073,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: &502 + default: &500 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74397,8 +74107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *278 - - *279 + - *276 + - *277 - name: name in: path required: true @@ -74409,9 +74119,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: *502 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -74428,8 +74138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *278 - - *279 + - *276 + - *277 - name: name in: path required: true @@ -74468,7 +74178,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *481 examples: default: value: @@ -74494,8 +74204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *278 - - *279 + - *276 + - *277 - name: name in: path required: true @@ -74521,8 +74231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -74561,9 +74271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *278 - - *279 - - *384 + - *276 + - *277 + - *382 responses: '200': description: Response @@ -74708,8 +74418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74774,8 +74484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74809,9 +74519,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *409 + schema: *407 examples: - default: *503 + default: *501 '204': description: Response when already merged '404': @@ -74836,8 +74546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *278 - - *279 + - *276 + - *277 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74878,12 +74588,12 @@ paths: application/json: schema: type: array - items: &504 + items: &502 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *413 - required: *414 + properties: *411 + required: *412 examples: default: value: @@ -74939,8 +74649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -74980,9 +74690,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: &505 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -75041,9 +74751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *278 - - *279 - - &506 + - *276 + - *277 + - &504 name: milestone_number description: The number that identifies the milestone. in: path @@ -75055,9 +74765,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *505 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -75074,9 +74784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *278 - - *279 - - *506 + - *276 + - *277 + - *504 requestBody: required: false content: @@ -75114,9 +74824,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *505 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75132,9 +74842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *278 - - *279 - - *506 + - *276 + - *277 + - *504 responses: '204': description: Response @@ -75155,9 +74865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *278 - - *279 - - *506 + - *276 + - *277 + - *504 - *17 - *19 responses: @@ -75167,9 +74877,9 @@ paths: application/json: schema: type: array - items: *483 + items: *481 examples: - default: *484 + default: *482 headers: Link: *58 x-github: @@ -75188,12 +74898,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *278 - - *279 - - *507 - - *508 + - *276 + - *277 + - *505 + - *506 - *67 - - *509 + - *507 - *17 - *19 responses: @@ -75205,7 +74915,7 @@ paths: type: array items: *90 examples: - default: *510 + default: *508 headers: Link: *58 x-github: @@ -75229,8 +74939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -75288,14 +74998,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: &511 + schema: &509 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -75420,7 +75130,7 @@ paths: - custom_404 - public examples: - default: &512 + default: &510 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -75461,8 +75171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -75516,9 +75226,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: *512 + default: *510 '422': *15 '409': *46 x-github: @@ -75541,8 +75251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -75641,8 +75351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -75668,8 +75378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -75679,7 +75389,7 @@ paths: application/json: schema: type: array - items: &513 + items: &511 title: Page Build description: Page Build type: object @@ -75773,8 +75483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *278 - - *279 + - *276 + - *277 responses: '201': description: Response @@ -75819,16 +75529,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *513 + schema: *511 examples: - default: &514 + default: &512 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75876,8 +75586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *278 - - *279 + - *276 + - *277 - name: build_id in: path required: true @@ -75888,9 +75598,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *511 examples: - default: *514 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75910,8 +75620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -76016,9 +75726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *278 - - *279 - - &515 + - *276 + - *277 + - &513 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -76076,9 +75786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *278 - - *279 - - *515 + - *276 + - *277 + - *513 responses: '204': *142 '404': *6 @@ -76105,8 +75815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -76364,8 +76074,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: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Private vulnerability reporting status @@ -76402,8 +76112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': *142 '422': *14 @@ -76424,8 +76134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': *142 '422': *14 @@ -76448,8 +76158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *278 - - *279 + - *276 + - *277 - name: state description: Indicates the state of the projects to return. in: query @@ -76510,7 +76220,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *287 + '410': *285 '422': *7 x-github: githubCloudOnly: false @@ -76533,8 +76243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -76562,11 +76272,11 @@ paths: application/json: schema: *226 examples: - default: *286 + default: *284 '401': *25 '403': *29 '404': *6 - '410': *287 + '410': *285 '422': *7 x-github: githubCloudOnly: false @@ -76589,8 +76299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -76629,8 +76339,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: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -76692,8 +76402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *278 - - *279 + - *276 + - *277 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76753,9 +76463,9 @@ paths: application/json: schema: type: array - items: *516 + items: *514 examples: - default: *517 + default: *515 headers: Link: *58 '304': *37 @@ -76787,8 +76497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -76853,7 +76563,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &519 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -76964,8 +76674,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *413 - required: *414 + properties: *411 + required: *412 nullable: true active_lock_reason: type: string @@ -77049,14 +76759,14 @@ paths: _links: type: object properties: - comments: *415 - commits: *415 - statuses: *415 - html: *415 - issue: *415 - review_comments: *415 - review_comment: *415 - self: *415 + comments: *413 + commits: *413 + statuses: *413 + html: *413 + issue: *413 + review_comments: *413 + review_comment: *413 + self: *413 required: - comments - commits @@ -77067,7 +76777,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *518 + auto_merge: *516 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -77159,7 +76869,7 @@ paths: - merged_by - review_comments examples: - default: &522 + default: &520 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77686,8 +77396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - name: sort in: query required: false @@ -77716,9 +77426,9 @@ paths: application/json: schema: type: array - items: *519 + items: *517 examples: - default: &524 + default: &522 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77795,17 +77505,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '200': description: Response content: application/json: - schema: *519 + schema: *517 examples: - default: &520 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77880,8 +77590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -77904,9 +77614,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: - default: *520 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77922,8 +77632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *278 - - *279 + - *276 + - *277 - *76 responses: '204': @@ -77945,8 +77655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77973,9 +77683,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 @@ -77996,8 +77706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *278 - - *279 + - *276 + - *277 - *76 requestBody: required: true @@ -78030,16 +77740,16 @@ paths: description: Reaction exists content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Reaction created content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -78061,10 +77771,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *278 - - *279 + - *276 + - *277 - *76 - - *274 + - *272 responses: '204': description: Response @@ -78107,9 +77817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *278 - - *279 - - &523 + - *276 + - *277 + - &521 name: pull_number description: The number that identifies the pull request. in: path @@ -78122,9 +77832,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *521 + schema: *519 examples: - default: *522 + default: *520 '304': *37 '404': *6 '406': @@ -78159,9 +77869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -78203,9 +77913,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *519 examples: - default: *522 + default: *520 '422': *15 '403': *29 x-github: @@ -78227,9 +77937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: true content: @@ -78291,7 +78001,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -78299,7 +78009,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '401': *25 '403': *29 '404': *6 @@ -78329,9 +78039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -78352,9 +78062,9 @@ paths: application/json: schema: type: array - items: *519 + items: *517 examples: - default: *524 + default: *522 headers: Link: *58 x-github: @@ -78387,9 +78097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: true content: @@ -78494,7 +78204,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: example-for-a-multi-line-comment: value: @@ -78582,9 +78292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *76 requestBody: required: true @@ -78607,7 +78317,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *517 examples: default: value: @@ -78693,9 +78403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *17 - *19 responses: @@ -78705,9 +78415,9 @@ paths: application/json: schema: type: array - items: *409 + items: *407 examples: - default: *525 + default: *523 headers: Link: *58 x-github: @@ -78737,9 +78447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *17 - *19 responses: @@ -78749,7 +78459,7 @@ paths: application/json: schema: type: array - items: *424 + items: *422 examples: default: value: @@ -78787,9 +78497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 responses: '204': description: Response if pull request has been merged @@ -78812,9 +78522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -78925,9 +78635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 responses: '200': description: Response @@ -79002,9 +78712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -79041,7 +78751,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *514 examples: default: value: @@ -79577,9 +79287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: true content: @@ -79613,7 +79323,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *514 examples: default: value: @@ -80118,9 +79828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 - *17 - *19 responses: @@ -80130,7 +79840,7 @@ paths: application/json: schema: type: array - items: &526 + items: &524 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -80281,9 +79991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -80369,9 +80079,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: &528 + default: &526 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -80434,10 +80144,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - &527 + - *276 + - *277 + - *521 + - &525 name: review_id description: The unique identifier of the review. in: path @@ -80449,9 +80159,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: &529 + default: &527 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -80510,10 +80220,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 requestBody: required: true content: @@ -80536,7 +80246,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: default: value: @@ -80598,18 +80308,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: *528 + default: *526 '422': *7 '404': *6 x-github: @@ -80636,10 +80346,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 - *17 - *19 responses: @@ -80722,9 +80432,9 @@ paths: _links: type: object properties: - self: *415 - html: *415 - pull_request: *415 + self: *413 + html: *413 + pull_request: *413 required: - self - html @@ -80867,10 +80577,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 requestBody: required: true content: @@ -80898,7 +80608,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: default: value: @@ -80961,10 +80671,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *278 - - *279 - - *523 - - *527 + - *276 + - *277 + - *521 + - *525 requestBody: required: true content: @@ -80999,9 +80709,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: *529 + default: *527 '404': *6 '422': *7 '403': *29 @@ -81023,9 +80733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *278 - - *279 - - *523 + - *276 + - *277 + - *521 requestBody: required: false content: @@ -81088,8 +80798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *278 - - *279 + - *276 + - *277 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -81102,9 +80812,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *528 examples: - default: &531 + default: &529 value: type: file encoding: base64 @@ -81146,8 +80856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *278 - - *279 + - *276 + - *277 - name: dir description: The alternate path to look for a README file in: path @@ -81167,9 +80877,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *528 examples: - default: *531 + default: *529 '404': *6 '422': *15 x-github: @@ -81191,8 +80901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -81202,7 +80912,7 @@ paths: application/json: schema: type: array - items: &532 + items: &530 title: Release description: A release. type: object @@ -81265,7 +80975,7 @@ paths: author: *4 assets: type: array - items: &533 + items: &531 title: Release Asset description: Data related to a release. type: object @@ -81446,8 +81156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -81523,9 +81233,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *530 examples: - default: &536 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -81628,9 +81338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *278 - - *279 - - &534 + - *276 + - *277 + - &532 name: asset_id description: The unique identifier of the asset. in: path @@ -81642,9 +81352,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: &535 + default: &533 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 @@ -81678,7 +81388,7 @@ paths: type: User site_admin: false '404': *6 - '302': *426 + '302': *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81694,9 +81404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *278 - - *279 - - *534 + - *276 + - *277 + - *532 requestBody: required: false content: @@ -81724,9 +81434,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: *535 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81742,9 +81452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *278 - - *279 - - *534 + - *276 + - *277 + - *532 responses: '204': description: Response @@ -81768,8 +81478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -81854,16 +81564,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *532 + schema: *530 examples: - default: *536 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81880,8 +81590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *278 - - *279 + - *276 + - *277 - name: tag description: tag parameter in: path @@ -81894,9 +81604,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *530 examples: - default: *536 + default: *534 '404': *6 x-github: githubCloudOnly: false @@ -81918,9 +81628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *278 - - *279 - - &537 + - *276 + - *277 + - &535 name: release_id description: The unique identifier of the release. in: path @@ -81934,9 +81644,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: *532 + schema: *530 examples: - default: *536 + default: *534 '401': description: Unauthorized x-github: @@ -81954,9 +81664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 requestBody: required: false content: @@ -82020,9 +81730,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *530 examples: - default: *536 + default: *534 '404': description: Not Found if the discussion category name is invalid content: @@ -82043,9 +81753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 responses: '204': description: Response @@ -82065,9 +81775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 - *17 - *19 responses: @@ -82077,7 +81787,7 @@ paths: application/json: schema: type: array - items: *533 + items: *531 examples: default: value: @@ -82157,9 +81867,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: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 - name: name in: query required: true @@ -82185,7 +81895,7 @@ paths: description: Response for successful upload content: application/json: - schema: *533 + schema: *531 examples: response-for-successful-upload: value: @@ -82239,9 +81949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 - 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. @@ -82265,9 +81975,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 '404': *6 @@ -82288,9 +81998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *278 - - *279 - - *537 + - *276 + - *277 + - *535 requestBody: required: true content: @@ -82320,16 +82030,16 @@ paths: description: Reaction exists content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '201': description: Reaction created content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -82351,10 +82061,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *278 - - *279 - - *537 - - *274 + - *276 + - *277 + - *535 + - *272 responses: '204': description: Response @@ -82378,9 +82088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *278 - - *279 - - *346 + - *276 + - *277 + - *344 - *17 - *19 responses: @@ -82396,8 +82106,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *538 - - &540 + - *536 + - &538 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82416,66 +82126,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *537 + - *538 - allOf: - *539 + - *538 + - allOf: - *540 + - *538 - allOf: - *541 - - *540 + - *538 - allOf: - *542 - - *540 + - *538 - allOf: - *543 - - *540 + - *538 - allOf: - *544 - - *540 + - *538 - allOf: - *545 - - *540 + - *538 - allOf: - *546 - - *540 + - *538 - allOf: - *547 - - *540 + - *538 - allOf: - *548 - - *540 + - *538 - allOf: - *549 - - *540 + - *538 - allOf: - *550 - - *540 + - *538 - allOf: - *551 - - *540 + - *538 - allOf: - *552 - - *540 + - *538 - allOf: - *553 - - *540 + - *538 - allOf: - *554 - - *540 + - *538 - allOf: - *555 - - *540 + - *538 - allOf: - *556 - - *540 + - *538 - allOf: - *557 - - *540 - - allOf: - - *558 - - *540 - - allOf: - - *559 - - *540 + - *538 examples: default: value: @@ -82514,8 +82224,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 - name: includes_parents @@ -82526,7 +82236,7 @@ paths: schema: type: boolean default: true - - *560 + - *558 responses: '200': description: Response @@ -82581,8 +82291,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 requestBody: description: Request body required: true @@ -82644,7 +82354,7 @@ paths: application/json: schema: *241 examples: - default: &570 + default: &568 value: id: 42 name: super cool ruleset @@ -82691,12 +82401,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *278 - - *279 + - *276 + - *277 + - *559 + - *560 - *561 - *562 - - *563 - - *564 - *17 - *19 responses: @@ -82704,9 +82414,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: - default: *566 + default: *564 '404': *6 '500': *145 x-github: @@ -82727,17 +82437,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *278 - - *279 - - *567 + - *276 + - *277 + - *565 responses: '200': description: Response content: application/json: - schema: *568 + schema: *566 examples: - default: *569 + default: *567 '404': *6 '500': *145 x-github: @@ -82765,8 +82475,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82788,7 +82498,7 @@ paths: application/json: schema: *241 examples: - default: *570 + default: *568 '404': *6 '500': *145 put: @@ -82806,8 +82516,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82871,7 +82581,7 @@ paths: application/json: schema: *241 examples: - default: *570 + default: *568 '404': *6 '500': *145 delete: @@ -82889,8 +82599,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *276 + - *277 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82913,8 +82623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 - name: ruleset_id @@ -82932,7 +82642,7 @@ paths: type: array items: *243 examples: - default: *571 + default: *569 '404': *6 '500': *145 x-github: @@ -82951,8 +82661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *278 - - *279 + - *276 + - *277 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82970,7 +82680,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *570 examples: default: value: @@ -83025,8 +82735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - *244 - *245 - *246 @@ -83034,8 +82744,8 @@ paths: - *48 - *19 - *17 - - *573 - - *574 + - *571 + - *572 - *248 - *249 - *250 @@ -83046,7 +82756,7 @@ paths: application/json: schema: type: array - items: &577 + items: &575 type: object properties: number: *54 @@ -83065,8 +82775,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *575 - resolution: *576 + state: *573 + resolution: *574 resolved_at: type: string format: date-time @@ -83284,15 +82994,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 responses: '200': description: Response content: application/json: - schema: *577 + schema: *575 examples: default: value: @@ -83344,9 +83054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 requestBody: required: true content: @@ -83354,8 +83064,8 @@ paths: schema: type: object properties: - state: *575 - resolution: *576 + state: *573 + resolution: *574 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -83373,7 +83083,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *575 examples: default: value: @@ -83448,9 +83158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *278 - - *279 - - *378 + - *276 + - *277 + - *376 - *19 - *17 responses: @@ -83461,7 +83171,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &710 + items: &708 type: object properties: type: @@ -83820,8 +83530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -83829,14 +83539,14 @@ paths: schema: type: object properties: - reason: &579 + reason: &577 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *578 + placeholder_id: *576 required: - reason - placeholder_id @@ -83853,7 +83563,7 @@ paths: schema: type: object properties: - reason: *579 + reason: *577 expire_at: type: string format: date-time @@ -83896,8 +83606,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: - - *278 - - *279 + - *276 + - *277 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -83912,7 +83622,7 @@ paths: properties: incremental_scans: type: array - items: &580 + items: &578 description: Information on a single scan performed by secret scanning on the repository type: object @@ -83938,15 +83648,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *580 + items: *578 backfill_scans: type: array - items: *580 + items: *578 custom_pattern_backfill_scans: type: array items: allOf: - - *580 + - *578 - type: object properties: pattern_name: @@ -84016,8 +83726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *278 - - *279 + - *276 + - *277 - *48 - name: sort description: The property to sort the results by. @@ -84061,9 +83771,9 @@ paths: application/json: schema: type: array - items: *581 + items: *579 examples: - default: *582 + default: *580 '400': *14 '404': *6 x-github: @@ -84086,8 +83796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -84247,9 +83957,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: &584 + default: &582 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -84482,8 +84192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -84587,7 +84297,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: default: value: @@ -84734,17 +84444,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *278 - - *279 - - *583 + - *276 + - *277 + - *581 responses: '200': description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: *584 + default: *582 '403': *29 '404': *6 x-github: @@ -84768,9 +84478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *278 - - *279 - - *583 + - *276 + - *277 + - *581 requestBody: required: true content: @@ -84929,10 +84639,10 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: *584 - add_credit: *584 + default: *582 + add_credit: *582 '403': *29 '404': *6 '422': @@ -84970,9 +84680,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: - - *278 - - *279 - - *583 + - *276 + - *277 + - *581 responses: '202': *47 '400': *14 @@ -84999,17 +84709,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *278 - - *279 - - *583 + - *276 + - *277 + - *581 responses: '202': description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 + default: *289 '400': *14 '422': *15 '403': *29 @@ -85035,8 +84745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -85135,8 +84845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85145,7 +84855,7 @@ paths: application/json: schema: type: array - items: &585 + items: &583 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -85178,8 +84888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -85255,8 +84965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -85352,8 +85062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -85507,8 +85217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -85518,7 +85228,7 @@ paths: application/json: schema: type: array - items: *585 + items: *583 examples: default: value: @@ -85551,8 +85261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *278 - - *279 + - *276 + - *277 - name: sha in: path required: true @@ -85606,7 +85316,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -85660,8 +85370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -85693,14 +85403,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &587 + schema: &585 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -85768,8 +85478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: false content: @@ -85795,7 +85505,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *585 examples: default: value: @@ -85822,8 +85532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -85843,8 +85553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -85923,8 +85633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -85932,7 +85642,7 @@ paths: application/json: schema: type: array - items: &588 + items: &586 title: Tag protection description: Tag protection type: object @@ -85984,8 +85694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -86008,7 +85718,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: default: value: @@ -86039,8 +85749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86077,8 +85787,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *278 - - *279 + - *276 + - *277 - name: ref in: path required: true @@ -86114,8 +85824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *278 - - *279 + - *276 + - *277 - *17 - *19 responses: @@ -86147,8 +85857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *278 - - *279 + - *276 + - *277 - *19 - *17 responses: @@ -86156,7 +85866,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &587 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86168,7 +85878,7 @@ paths: required: - names examples: - default: &590 + default: &588 value: names: - octocat @@ -86191,8 +85901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -86223,9 +85933,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *587 examples: - default: *590 + default: *588 '404': *6 '422': *7 x-github: @@ -86246,9 +85956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *278 - - *279 - - &591 + - *276 + - *277 + - &589 name: per description: The time frame to display results for. in: query @@ -86277,7 +85987,7 @@ paths: example: 128 clones: type: array - items: &592 + items: &590 title: Traffic type: object properties: @@ -86364,8 +86074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -86455,8 +86165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *278 - - *279 + - *276 + - *277 responses: '200': description: Response @@ -86516,9 +86226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *278 - - *279 - - *591 + - *276 + - *277 + - *589 responses: '200': description: Response @@ -86537,7 +86247,7 @@ paths: example: 3782 views: type: array - items: *592 + items: *590 required: - uniques - count @@ -86614,8 +86324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *278 - - *279 + - *276 + - *277 requestBody: required: true content: @@ -86889,8 +86599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -86913,8 +86623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -86936,8 +86646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -86963,8 +86673,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *278 - - *279 + - *276 + - *277 - name: ref in: path required: true @@ -87056,9 +86766,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 + default: *289 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87306,7 +87016,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &593 + text_matches: &591 title: Search Result Text Matches type: array items: @@ -87468,7 +87178,7 @@ paths: enum: - author-date - committer-date - - &594 + - &592 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 @@ -87539,7 +87249,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *344 + properties: *342 nullable: true comment_count: type: integer @@ -87559,7 +87269,7 @@ paths: url: type: string format: uri - verification: *461 + verification: *459 required: - author - committer @@ -87578,7 +87288,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *344 + properties: *342 nullable: true parents: type: array @@ -87596,7 +87306,7 @@ paths: type: number node_id: type: string - text_matches: *593 + text_matches: *591 required: - sha - node_id @@ -87778,7 +87488,7 @@ paths: - interactions - created - updated - - *594 + - *592 - *17 - *19 - name: advanced_search @@ -87905,8 +87615,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *413 - required: *414 + properties: *411 + required: *412 nullable: true comments: type: integer @@ -87920,7 +87630,7 @@ paths: type: string format: date-time nullable: true - text_matches: *593 + text_matches: *591 pull_request: type: object properties: @@ -88148,7 +87858,7 @@ paths: enum: - created - updated - - *594 + - *592 - *17 - *19 responses: @@ -88192,7 +87902,7 @@ paths: nullable: true score: type: number - text_matches: *593 + text_matches: *591 required: - id - node_id @@ -88277,7 +87987,7 @@ paths: - forks - help-wanted-issues - updated - - *594 + - *592 - *17 - *19 responses: @@ -88516,7 +88226,7 @@ paths: - admin - pull - push - text_matches: *593 + text_matches: *591 temp_clone_token: type: string allow_merge_commit: @@ -88816,7 +88526,7 @@ paths: type: string format: uri nullable: true - text_matches: *593 + text_matches: *591 related: type: array nullable: true @@ -89007,7 +88717,7 @@ paths: - followers - repositories - joined - - *594 + - *592 - *17 - *19 responses: @@ -89111,7 +88821,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *593 + text_matches: *591 blog: type: string nullable: true @@ -89190,7 +88900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &595 + - &593 name: team_id description: The unique identifier of the team. in: path @@ -89202,9 +88912,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -89231,7 +88941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *595 + - *593 requestBody: required: true content: @@ -89294,16 +89004,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '201': description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '404': *6 '422': *15 '403': *29 @@ -89331,7 +89041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *595 + - *593 responses: '204': description: Response @@ -89362,7 +89072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *595 + - *593 - *48 - *17 - *19 @@ -89373,9 +89083,9 @@ paths: application/json: schema: type: array - items: *265 + items: *263 examples: - default: *596 + default: *594 headers: Link: *58 x-github: @@ -89404,7 +89114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *595 + - *593 requestBody: required: true content: @@ -89438,9 +89148,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: *266 + default: *264 x-github: triggersNotification: true githubCloudOnly: false @@ -89467,16 +89177,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 responses: '200': description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: *266 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89501,8 +89211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 requestBody: required: false content: @@ -89525,9 +89235,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *263 examples: - default: *597 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89552,8 +89262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 responses: '204': description: Response @@ -89582,8 +89292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *595 - - *267 + - *593 + - *265 - *48 - *17 - *19 @@ -89594,9 +89304,9 @@ paths: application/json: schema: type: array - items: *268 + items: *266 examples: - default: *598 + default: *596 headers: Link: *58 x-github: @@ -89625,8 +89335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *595 - - *267 + - *593 + - *265 requestBody: required: true content: @@ -89648,9 +89358,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: triggersNotification: true githubCloudOnly: false @@ -89677,17 +89387,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 responses: '200': description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89712,9 +89422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 requestBody: required: true content: @@ -89736,9 +89446,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *599 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89763,9 +89473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 responses: '204': description: Response @@ -89794,9 +89504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 - 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 team discussion comment. @@ -89822,9 +89532,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 x-github: @@ -89853,9 +89563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *595 - - *267 - - *270 + - *593 + - *265 + - *268 requestBody: required: true content: @@ -89887,9 +89597,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89915,8 +89625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 - 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 team discussion. @@ -89942,9 +89652,9 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: - default: *273 + default: *271 headers: Link: *58 x-github: @@ -89973,8 +89683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *595 - - *267 + - *593 + - *265 requestBody: required: true content: @@ -90006,9 +89716,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90032,7 +89742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *595 + - *593 - *17 - *19 responses: @@ -90070,7 +89780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *595 + - *593 - name: role description: Filters members returned by their role in the team. in: query @@ -90121,7 +89831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *595 + - *593 - *132 responses: '204': @@ -90158,7 +89868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *595 + - *593 - *132 responses: '204': @@ -90198,7 +89908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *595 + - *593 - *132 responses: '204': @@ -90235,16 +89945,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *595 + - *593 - *132 responses: '200': description: Response content: application/json: - schema: *275 + schema: *273 examples: - response-if-user-is-a-team-maintainer: *600 + response-if-user-is-a-team-maintainer: *598 '404': *6 x-github: githubCloudOnly: false @@ -90277,7 +89987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *595 + - *593 - *132 requestBody: required: false @@ -90303,9 +90013,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *273 examples: - response-if-users-membership-with-team-is-now-pending: *601 + response-if-users-membership-with-team-is-now-pending: *599 '403': description: Forbidden if team synchronization is set up '422': @@ -90339,7 +90049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *595 + - *593 - *132 responses: '204': @@ -90368,7 +90078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *595 + - *593 - *17 - *19 responses: @@ -90378,9 +90088,9 @@ paths: application/json: schema: type: array - items: *276 + items: *274 examples: - default: *602 + default: *600 headers: Link: *58 '404': *6 @@ -90406,16 +90116,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *595 - - *277 + - *593 + - *275 responses: '200': description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *603 + default: *601 '404': description: Not Found if project is not managed by this team x-github: @@ -90439,8 +90149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *595 - - *277 + - *593 + - *275 requestBody: required: false content: @@ -90507,8 +90217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *595 - - *277 + - *593 + - *275 responses: '204': description: Response @@ -90535,7 +90245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *595 + - *593 - *17 - *19 responses: @@ -90577,15 +90287,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *595 - - *278 - - *279 + - *593 + - *276 + - *277 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *604 + schema: *602 examples: alternative-response-with-extra-repository-information: value: @@ -90736,9 +90446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *595 - - *278 - - *279 + - *593 + - *276 + - *277 requestBody: required: false content: @@ -90788,9 +90498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *595 - - *278 - - *279 + - *593 + - *276 + - *277 responses: '204': description: Response @@ -90815,7 +90525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *595 + - *593 - *17 - *19 responses: @@ -90827,7 +90537,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: *605 + response-if-child-teams-exist: *603 headers: Link: *58 '404': *6 @@ -90860,7 +90570,7 @@ paths: application/json: schema: oneOf: - - &607 + - &605 title: Private User description: Private User type: object @@ -91063,7 +90773,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *606 + - *604 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -91216,7 +90926,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: default: value: @@ -91562,7 +91272,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -91570,7 +91280,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '401': *25 '403': *29 '404': *6 @@ -91614,7 +91324,7 @@ paths: type: integer secrets: type: array - items: &608 + items: &606 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -91654,7 +91364,7 @@ paths: - visibility - selected_repositories_url examples: - default: *401 + default: *399 headers: Link: *58 x-github: @@ -91730,7 +91440,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: default: value: @@ -91876,7 +91586,7 @@ paths: type: array items: *119 examples: - default: *609 + default: *607 '401': *25 '403': *29 '404': *6 @@ -92028,7 +91738,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '304': *37 '500': *145 '401': *25 @@ -92086,7 +91796,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '401': *25 '403': *29 '404': *6 @@ -92143,7 +91853,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &608 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -92184,7 +91894,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &611 + default: &609 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -92229,9 +91939,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: - default: *611 + default: *609 '404': *6 x-github: githubCloudOnly: false @@ -92268,9 +91978,9 @@ paths: type: integer machines: type: array - items: *612 + items: *610 examples: - default: *613 + default: *611 '304': *37 '500': *145 '401': *25 @@ -92349,13 +92059,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *289 + repository: *287 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *399 - required: *400 + properties: *397 + required: *398 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -93137,7 +92847,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '304': *37 '500': *145 '400': *14 @@ -93177,7 +92887,7 @@ paths: application/json: schema: *195 examples: - default: *398 + default: *396 '500': *145 '401': *25 '403': *29 @@ -93209,7 +92919,7 @@ paths: type: array items: *210 examples: - default: &626 + default: &624 value: - id: 197 name: hello_docker @@ -93310,7 +93020,7 @@ paths: application/json: schema: type: array - items: &614 + items: &612 title: Email description: Email type: object @@ -93375,9 +93085,9 @@ paths: application/json: schema: type: array - items: *614 + items: *612 examples: - default: &628 + default: &626 value: - email: octocat@github.com verified: true @@ -93452,7 +93162,7 @@ paths: application/json: schema: type: array - items: *614 + items: *612 examples: default: value: @@ -93708,7 +93418,7 @@ paths: application/json: schema: type: array - items: &615 + items: &613 title: GPG Key description: A unique encryption key type: object @@ -93839,7 +93549,7 @@ paths: - subkeys - revoked examples: - default: &639 + default: &637 value: - id: 3 name: Octocat's GPG Key @@ -93924,9 +93634,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: - default: &616 + default: &614 value: id: 3 name: Octocat's GPG Key @@ -93983,7 +93693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &617 + - &615 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93995,9 +93705,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: - default: *616 + default: *614 '404': *6 '304': *37 '403': *29 @@ -94020,7 +93730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *617 + - *615 responses: '204': description: Response @@ -94211,7 +93921,7 @@ paths: type: array items: *60 examples: - default: *618 + default: *616 headers: Link: *58 '404': *6 @@ -94325,7 +94035,7 @@ paths: required: true content: application/json: - schema: *472 + schema: *470 examples: default: value: @@ -94475,7 +94185,7 @@ paths: application/json: schema: type: array - items: &619 + items: &617 title: Key description: Key type: object @@ -94572,9 +94282,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: &620 + default: &618 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94607,15 +94317,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *501 + - *499 responses: '200': description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: *620 + default: *618 '404': *6 '304': *37 '403': *29 @@ -94638,7 +94348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *501 + - *499 responses: '204': description: Response @@ -94671,7 +94381,7 @@ paths: application/json: schema: type: array - items: &621 + items: &619 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -94739,7 +94449,7 @@ paths: - account - plan examples: - default: &622 + default: &620 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -94801,9 +94511,9 @@ paths: application/json: schema: type: array - items: *621 + items: *619 examples: - default: *622 + default: *620 headers: Link: *58 '304': *37 @@ -95798,7 +95508,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *203 - - *623 + - *621 responses: '204': description: Response @@ -95871,7 +95581,7 @@ paths: type: array items: *199 examples: - default: *624 + default: *622 headers: Link: *58 '304': *37 @@ -95913,7 +95623,7 @@ paths: - docker - nuget - container - - *625 + - *623 - *19 - *17 responses: @@ -95925,8 +95635,8 @@ paths: type: array items: *210 examples: - default: *626 - '400': *627 + default: *624 + '400': *625 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95955,7 +95665,7 @@ paths: application/json: schema: *210 examples: - default: &640 + default: &638 value: id: 40201 name: octo-name @@ -96408,9 +96118,9 @@ paths: application/json: schema: type: array - items: *614 + items: *612 examples: - default: *628 + default: *626 headers: Link: *58 '304': *37 @@ -96523,7 +96233,7 @@ paths: type: array items: *60 examples: - default: &635 + default: &633 summary: Default response value: - id: 1296269 @@ -96825,9 +96535,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: - default: *291 + default: *289 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96865,9 +96575,9 @@ paths: application/json: schema: type: array - items: *474 + items: *472 examples: - default: *629 + default: *627 headers: Link: *58 '304': *37 @@ -96946,7 +96656,7 @@ paths: application/json: schema: type: array - items: &630 + items: &628 title: Social account description: Social media account type: object @@ -96961,7 +96671,7 @@ paths: - provider - url examples: - default: &631 + default: &629 value: - provider: twitter url: https://twitter.com/github @@ -97023,9 +96733,9 @@ paths: application/json: schema: type: array - items: *630 + items: *628 examples: - default: *631 + default: *629 '422': *15 '304': *37 '404': *6 @@ -97112,7 +96822,7 @@ paths: application/json: schema: type: array - items: &632 + items: &630 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -97132,7 +96842,7 @@ paths: - title - created_at examples: - default: &647 + default: &645 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97198,9 +96908,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: - default: &633 + default: &631 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97231,7 +96941,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: - - &634 + - &632 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -97243,9 +96953,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: - default: *633 + default: *631 '404': *6 '304': *37 '403': *29 @@ -97268,7 +96978,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: - - *634 + - *632 responses: '204': description: Response @@ -97297,7 +97007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &648 + - &646 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 @@ -97322,11 +97032,11 @@ paths: type: array items: *60 examples: - default-response: *635 + default-response: *633 application/vnd.github.v3.star+json: schema: type: array - items: &649 + items: &647 title: Starred Repository description: Starred Repository type: object @@ -97482,8 +97192,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: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response if this repository is starred by you @@ -97511,8 +97221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -97536,8 +97246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *278 - - *279 + - *276 + - *277 responses: '204': description: Response @@ -97609,7 +97319,7 @@ paths: application/json: schema: type: array - items: *263 + items: *261 examples: default: value: @@ -97695,10 +97405,10 @@ paths: application/json: schema: oneOf: - - *607 - - *606 + - *605 + - *604 examples: - default-response: &637 + default-response: &635 summary: Default response value: login: octocat @@ -97733,7 +97443,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &638 + response-with-git-hub-plan-information: &636 summary: Response with GitHub plan information value: login: octocat @@ -97793,7 +97503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *636 + - *634 - *17 responses: '200': @@ -97842,11 +97552,11 @@ paths: application/json: schema: oneOf: - - *607 - - *606 + - *605 + - *604 examples: - default-response: *637 - response-with-git-hub-plan-information: *638 + default-response: *635 + response-with-git-hub-plan-information: *636 '404': *6 x-github: githubCloudOnly: false @@ -97922,7 +97632,7 @@ paths: bundle_url: type: string examples: - default: *340 + default: *338 '201': description: Response content: @@ -97963,7 +97673,7 @@ paths: type: array items: *210 examples: - default: *626 + default: *624 '403': *29 '401': *25 x-github: @@ -98367,9 +98077,9 @@ paths: application/json: schema: type: array - items: *615 + items: *613 examples: - default: *639 + default: *637 headers: Link: *58 x-github: @@ -98473,7 +98183,7 @@ paths: application/json: schema: *22 examples: - default: *471 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98551,7 +98261,7 @@ paths: type: array items: *199 examples: - default: *624 + default: *622 headers: Link: *58 x-github: @@ -98590,7 +98300,7 @@ paths: - docker - nuget - container - - *625 + - *623 - *132 - *19 - *17 @@ -98603,10 +98313,10 @@ paths: type: array items: *210 examples: - default: *626 + default: *624 '403': *29 '401': *25 - '400': *627 + '400': *625 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98636,7 +98346,7 @@ paths: application/json: schema: *210 examples: - default: *640 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99235,9 +98945,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *639 examples: - default: *642 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99265,9 +98975,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: *644 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99295,9 +99005,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *643 examples: - default: *646 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99325,9 +99035,9 @@ paths: application/json: schema: type: array - items: *630 + items: *628 examples: - default: *631 + default: *629 headers: Link: *58 x-github: @@ -99357,9 +99067,9 @@ paths: application/json: schema: type: array - items: *632 + items: *630 examples: - default: *647 + default: *645 headers: Link: *58 x-github: @@ -99384,7 +99094,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *648 + - *646 - *48 - *17 - *19 @@ -99396,11 +99106,11 @@ paths: schema: anyOf: - type: array - items: *649 + items: *647 - type: array items: *60 examples: - default-response: *635 + default-response: *633 headers: Link: *58 x-github: @@ -99559,7 +99269,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &650 + enterprise: &648 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -99617,7 +99327,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &651 + installation: &649 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -99636,7 +99346,7 @@ x-webhooks: required: - id - node_id - organization: &652 + organization: &650 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -99696,13 +99406,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &653 + repository: &651 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &683 + properties: &681 id: description: Unique identifier of the repository example: 42 @@ -100385,7 +100095,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &684 + required: &682 - archive_url - assignees_url - blobs_url @@ -100536,10 +100246,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -100615,11 +100325,11 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - rule: &654 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: &652 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) @@ -100842,11 +100552,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - rule: *654 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -101029,11 +100739,11 @@ x-webhooks: - everyone required: - from - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - rule: *654 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -101117,7 +100827,7 @@ x-webhooks: type: string enum: - completed - check_run: &656 + check_run: &654 title: CheckRun description: A check performed on the code of a given code change type: object @@ -101180,7 +100890,7 @@ x-webhooks: type: string pull_requests: type: array - items: *357 + items: *355 repository: *119 status: example: completed @@ -101218,7 +100928,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *655 + deployment: *653 details_url: example: https://example.com type: string @@ -101268,7 +100978,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *357 + items: *355 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -101303,9 +101013,9 @@ x-webhooks: - output - app - pull_requests - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -101698,10 +101408,10 @@ x-webhooks: type: string enum: - created - check_run: *656 - installation: *651 - organization: *652 - repository: *653 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -102097,10 +101807,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *656 - installation: *651 - organization: *652 - repository: *653 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 requested_action: description: The action requested by the user. type: object @@ -102505,10 +102215,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *656 - installation: *651 - organization: *652 - repository: *653 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -103485,10 +103195,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -104158,10 +103868,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -104825,10 +104535,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -104991,7 +104701,7 @@ x-webhooks: required: - login - id - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105136,20 +104846,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &657 + commit_oid: &655 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: *650 - installation: *651 - organization: *652 - ref: &658 + enterprise: *648 + installation: *649 + organization: *650 + ref: &656 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: *653 + repository: *651 sender: *4 required: - action @@ -105311,7 +105021,7 @@ x-webhooks: required: - login - id - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105541,12 +105251,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *657 - enterprise: *650 - installation: *651 - organization: *652 - ref: *658 - repository: *653 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -105641,7 +105351,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105809,12 +105519,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *657 - enterprise: *650 - installation: *651 - organization: *652 - ref: *658 - repository: *653 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -105977,7 +105687,7 @@ x-webhooks: required: - login - id - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -106143,12 +105853,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *657 - enterprise: *650 - installation: *651 - organization: *652 - ref: *658 - repository: *653 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -106245,7 +105955,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106413,16 +106123,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *653 + repository: *651 sender: *4 required: - action @@ -106516,7 +106226,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *373 + dismissed_comment: *371 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106656,12 +106366,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *657 - enterprise: *650 - installation: *651 - organization: *652 - ref: *658 - repository: *653 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -106918,10 +106628,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107001,18 +106711,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *652 - pusher_type: &659 + organization: *650 + pusher_type: &657 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &660 + ref: &658 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -107022,7 +106732,7 @@ x-webhooks: enum: - tag - branch - repository: *653 + repository: *651 sender: *4 required: - ref @@ -107105,9 +106815,9 @@ x-webhooks: enum: - created definition: *227 - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -107192,9 +106902,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -107272,9 +106982,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *227 - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -107352,9 +107062,9 @@ x-webhooks: enum: - updated definition: *227 - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -107431,10 +107141,10 @@ x-webhooks: type: string enum: - updated - enterprise: *650 - installation: *651 - repository: *653 - organization: *652 + enterprise: *648 + installation: *649 + repository: *651 + organization: *650 sender: *4 new_property_values: type: array @@ -107519,18 +107229,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 - pusher_type: *659 - ref: *660 + enterprise: *648 + installation: *649 + organization: *650 + pusher_type: *657 + ref: *658 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *653 + repository: *651 sender: *4 required: - ref @@ -107614,11 +107324,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -107702,11 +107412,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -107790,11 +107500,11 @@ x-webhooks: type: string enum: - created - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -107876,11 +107586,11 @@ x-webhooks: type: string enum: - dismissed - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -107962,11 +107672,11 @@ x-webhooks: type: string enum: - fixed - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -108049,11 +107759,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -108135,11 +107845,11 @@ x-webhooks: type: string enum: - reopened - alert: *430 - installation: *651 - organization: *652 - enterprise: *650 - repository: *653 + alert: *428 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -108216,9 +107926,9 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - key: &661 + enterprise: *648 + installation: *649 + key: &659 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108254,8 +107964,8 @@ x-webhooks: - verified - created_at - read_only - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -108332,11 +108042,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - key: *661 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + key: *659 + organization: *650 + repository: *651 sender: *4 required: - action @@ -108897,12 +108607,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: &665 + workflow: &663 title: Workflow type: object nullable: true @@ -109628,13 +109338,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *436 + deployment: *434 pull_requests: type: array - items: *521 - repository: *653 - organization: *652 - installation: *651 + items: *519 + repository: *651 + organization: *650 + installation: *649 sender: *4 responses: '200': @@ -109705,7 +109415,7 @@ x-webhooks: type: string enum: - approved - approver: &662 + approver: &660 type: object properties: avatar_url: @@ -109748,11 +109458,11 @@ x-webhooks: type: string comment: type: string - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - reviewers: &663 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: &661 type: array items: type: object @@ -109831,7 +109541,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &664 + workflow_job_run: &662 type: object properties: conclusion: @@ -110562,18 +110272,18 @@ x-webhooks: type: string enum: - rejected - approver: *662 + approver: *660 comment: type: string - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - reviewers: *663 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: *661 sender: *4 since: type: string - workflow_job_run: *664 + workflow_job_run: *662 workflow_job_runs: type: array items: @@ -111277,13 +110987,13 @@ x-webhooks: type: string enum: - requested - enterprise: *650 + enterprise: *648 environment: type: string - installation: *651 - organization: *652 - repository: *653 - requestor: &670 + installation: *649 + organization: *650 + repository: *651 + requestor: &668 title: User type: object nullable: true @@ -113182,12 +112892,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *665 + workflow: *663 workflow_run: title: Deployment Workflow Run type: object @@ -113867,7 +113577,7 @@ x-webhooks: type: string enum: - answered - answer: &668 + answer: &666 type: object properties: author_association: @@ -114024,7 +113734,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &666 + discussion: &664 title: Discussion description: A Discussion in a repository. type: object @@ -114310,7 +114020,7 @@ x-webhooks: - id labels: type: array - items: *483 + items: *481 required: - repository_url - category @@ -114332,10 +114042,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114462,11 +114172,11 @@ x-webhooks: - from required: - category - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114549,11 +114259,11 @@ x-webhooks: type: string enum: - closed - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114635,7 +114345,7 @@ x-webhooks: type: string enum: - created - comment: &667 + comment: &665 type: object properties: author_association: @@ -114792,11 +114502,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114879,12 +114589,12 @@ x-webhooks: type: string enum: - deleted - comment: *667 - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -114979,12 +114689,12 @@ x-webhooks: - from required: - body - comment: *667 - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115068,11 +114778,11 @@ x-webhooks: type: string enum: - created - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115154,11 +114864,11 @@ x-webhooks: type: string enum: - deleted - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115258,11 +114968,11 @@ x-webhooks: type: string required: - from - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115344,10 +115054,10 @@ x-webhooks: type: string enum: - labeled - discussion: *666 - enterprise: *650 - installation: *651 - label: &669 + discussion: *664 + enterprise: *648 + installation: *649 + label: &667 title: Label type: object properties: @@ -115379,8 +115089,8 @@ x-webhooks: - color - default - description - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115463,11 +115173,11 @@ x-webhooks: type: string enum: - locked - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115549,11 +115259,11 @@ x-webhooks: type: string enum: - pinned - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115635,11 +115345,11 @@ x-webhooks: type: string enum: - reopened - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115724,16 +115434,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *666 - new_repository: *653 + new_discussion: *664 + new_repository: *651 required: - new_discussion - new_repository - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115816,10 +115526,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *666 - old_answer: *668 - organization: *652 - repository: *653 + discussion: *664 + old_answer: *666 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115901,12 +115611,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *666 - enterprise: *650 - installation: *651 - label: *669 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -115989,11 +115699,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -116075,11 +115785,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *666 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -116152,7 +115862,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *650 + enterprise: *648 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -116812,9 +116522,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - forkee @@ -116960,9 +116670,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pages: description: The pages that were updated. type: array @@ -116999,7 +116709,7 @@ x-webhooks: - action - sha - html_url - repository: *653 + repository: *651 sender: *4 required: - pages @@ -117075,10 +116785,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: &671 + organization: *650 + repositories: &669 description: An array of repository objects that the installation can access. type: array @@ -117104,8 +116814,8 @@ x-webhooks: - name - full_name - private - repository: *653 - requester: *670 + repository: *651 + requester: *668 sender: *4 required: - action @@ -117180,11 +116890,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: *671 - repository: *653 + organization: *650 + repositories: *669 + repository: *651 requester: nullable: true sender: *4 @@ -117260,11 +116970,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: *671 - repository: *653 + organization: *650 + repositories: *669 + repository: *651 requester: nullable: true sender: *4 @@ -117340,10 +117050,10 @@ x-webhooks: type: string enum: - added - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories_added: &672 + organization: *650 + repositories_added: &670 description: An array of repository objects, which were added to the installation. type: array @@ -117389,15 +117099,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *653 - repository_selection: &673 + repository: *651 + repository_selection: &671 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *670 + requester: *668 sender: *4 required: - action @@ -117476,10 +117186,10 @@ x-webhooks: type: string enum: - removed - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories_added: *672 + organization: *650 + repositories_added: *670 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -117506,9 +117216,9 @@ x-webhooks: - name - full_name - private - repository: *653 - repository_selection: *673 - requester: *670 + repository: *651 + repository_selection: *671 + requester: *668 sender: *4 required: - action @@ -117587,11 +117297,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: *671 - repository: *653 + organization: *650 + repositories: *669 + repository: *651 requester: nullable: true sender: *4 @@ -117769,10 +117479,10 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 target_type: type: string @@ -117851,11 +117561,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *650 + enterprise: *648 installation: *22 - organization: *652 - repositories: *671 - repository: *653 + organization: *650 + repositories: *669 + repository: *651 requester: nullable: true sender: *4 @@ -118107,8 +117817,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119264,8 +118974,8 @@ x-webhooks: - state - locked - assignee - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119345,7 +119055,7 @@ x-webhooks: type: string enum: - deleted - comment: &674 + comment: &672 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -119510,8 +119220,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120665,8 +120375,8 @@ x-webhooks: - state - locked - assignee - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -120746,7 +120456,7 @@ x-webhooks: type: string enum: - edited - changes: &702 + changes: &700 description: The changes to the comment. type: object properties: @@ -120758,9 +120468,9 @@ x-webhooks: type: string required: - from - comment: *674 - enterprise: *650 - installation: *651 + comment: *672 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121915,8 +121625,8 @@ x-webhooks: - state - locked - assignee - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -121998,10 +121708,10 @@ x-webhooks: type: string enum: - assigned - assignee: *670 - enterprise: *650 - installation: *651 - issue: &677 + assignee: *668 + enterprise: *648 + installation: *649 + issue: &675 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122920,8 +122630,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -123001,8 +122711,8 @@ x-webhooks: type: string enum: - closed - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124061,8 +123771,8 @@ x-webhooks: required: - state - closed_at - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -124141,8 +123851,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125054,8 +124764,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -125134,8 +124844,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126050,7 +125760,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &675 + milestone: &673 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126188,8 +125898,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -126288,8 +125998,8 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127208,9 +126918,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *669 - organization: *652 - repository: *653 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -127290,8 +127000,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128209,9 +127919,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *669 - organization: *652 - repository: *653 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -128291,8 +128001,8 @@ x-webhooks: type: string enum: - locked - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129211,8 +128921,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -129291,8 +129001,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130205,9 +129915,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *675 - organization: *652 - repository: *653 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -131668,8 +131378,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132587,8 +132297,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -132668,9 +132378,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *650 - installation: *651 - issue: &676 + enterprise: *648 + installation: *649 + issue: &674 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133582,8 +133292,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -133662,8 +133372,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134581,8 +134291,8 @@ x-webhooks: user_view_type: type: string type: *189 - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136045,11 +135755,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *650 - installation: *651 - issue: *676 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136069,6 +135779,91 @@ x-webhooks: - repository - organization - app + 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. + + 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 + 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 typed event + type: object + properties: + action: + type: string + enum: + - typed + enterprise: *648 + installation: *649 + issue: *675 + type: *189 + organization: *650 + repository: *651 + sender: *4 + required: + - action + - issue + - type + - 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-unassigned: post: summary: |- @@ -136130,7 +135925,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &705 + assignee: &703 title: User type: object nullable: true @@ -136200,11 +135995,11 @@ x-webhooks: required: - login - id - enterprise: *650 - installation: *651 - issue: *677 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + issue: *675 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136283,12 +136078,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *650 - installation: *651 - issue: *677 - label: *669 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + issue: *675 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136368,8 +136163,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137286,8 +137081,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137367,15 +137162,100 @@ x-webhooks: type: string enum: - unpinned - enterprise: *650 - installation: *651 - issue: *676 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 + sender: *4 + 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-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: + - 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 untyped event + type: object + properties: + action: + type: string + enum: + - untyped + enterprise: *648 + installation: *649 + issue: *675 + type: *189 + organization: *650 + repository: *651 sender: *4 required: - action - issue + - type - repository - sender responses: @@ -137450,11 +137330,11 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - label: *669 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137532,11 +137412,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - label: *669 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137646,11 +137526,11 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - label: *669 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137732,9 +137612,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *650 - installation: *651 - marketplace_purchase: &678 + enterprise: *648 + installation: *649 + marketplace_purchase: &676 title: Marketplace Purchase type: object required: @@ -137817,8 +137697,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *652 - previous_marketplace_purchase: &679 + organization: *650 + previous_marketplace_purchase: &677 title: Marketplace Purchase type: object properties: @@ -137898,7 +137778,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *653 + repository: *651 sender: *4 required: - action @@ -137978,10 +137858,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *650 - installation: *651 - marketplace_purchase: *678 - organization: *652 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138064,7 +137944,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *653 + repository: *651 sender: *4 required: - action @@ -138146,10 +138026,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *650 - installation: *651 - marketplace_purchase: *678 - organization: *652 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138231,7 +138111,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *653 + repository: *651 sender: *4 required: - action @@ -138312,8 +138192,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 marketplace_purchase: title: Marketplace Purchase type: object @@ -138395,9 +138275,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *652 - previous_marketplace_purchase: *679 - repository: *653 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -138477,12 +138357,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *650 - installation: *651 - marketplace_purchase: *678 - organization: *652 - previous_marketplace_purchase: *679 - repository: *653 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -138584,11 +138464,11 @@ x-webhooks: type: string required: - to - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -138688,11 +138568,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -138771,11 +138651,11 @@ x-webhooks: type: string enum: - removed - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -138853,11 +138733,11 @@ x-webhooks: type: string enum: - added - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138933,7 +138813,7 @@ x-webhooks: required: - login - id - team: &680 + team: &678 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -139123,11 +139003,11 @@ x-webhooks: type: string enum: - removed - enterprise: *650 - installation: *651 - member: *670 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139204,7 +139084,7 @@ x-webhooks: required: - login - id - team: *680 + team: *678 required: - action - scope @@ -139286,8 +139166,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *651 - merge_group: &682 + installation: *649 + merge_group: &680 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -139306,15 +139186,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *681 + head_commit: *679 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139400,10 +139280,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *651 - merge_group: *682 - organization: *652 - repository: *653 + installation: *649 + merge_group: *680 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139476,7 +139356,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 + enterprise: *648 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -139584,16 +139464,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *651 - organization: *652 + installation: *649 + organization: *650 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *683 - required: *684 + properties: *681 + required: *682 nullable: true sender: *4 required: @@ -139674,11 +139554,11 @@ x-webhooks: type: string enum: - closed - enterprise: *650 - installation: *651 - milestone: *675 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139757,9 +139637,9 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - milestone: &685 + enterprise: *648 + installation: *649 + milestone: &683 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139896,8 +139776,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139976,11 +139856,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - milestone: *675 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140090,11 +139970,11 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - milestone: *675 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140174,11 +140054,11 @@ x-webhooks: type: string enum: - opened - enterprise: *650 - installation: *651 - milestone: *685 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + milestone: *683 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140257,11 +140137,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *670 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140340,11 +140220,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *670 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140423,9 +140303,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - membership: &686 + enterprise: *648 + installation: *649 + membership: &684 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -140517,8 +140397,8 @@ x-webhooks: - role - organization_url - user - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140596,11 +140476,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *650 - installation: *651 - membership: *686 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + membership: *684 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140679,8 +140559,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -140796,10 +140676,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 - user: *670 + user: *668 required: - action - invitation @@ -140877,11 +140757,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *650 - installation: *651 - membership: *686 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + membership: *684 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140968,11 +140848,11 @@ x-webhooks: properties: from: type: string - enterprise: *650 - installation: *651 - membership: *686 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + membership: *684 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141048,9 +140928,9 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -141549,7 +141429,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &687 + items: &685 title: Ruby Gems metadata type: object properties: @@ -141644,7 +141524,7 @@ x-webhooks: - owner - package_version - registry - repository: *653 + repository: *651 sender: *4 required: - action @@ -141720,9 +141600,9 @@ x-webhooks: type: string enum: - updated - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -142075,7 +141955,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *687 + items: *685 source_url: type: string format: uri @@ -142145,7 +142025,7 @@ x-webhooks: - owner - package_version - registry - repository: *653 + repository: *651 sender: *4 required: - action @@ -142322,12 +142202,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *650 + enterprise: *648 id: type: integer - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - id @@ -142404,7 +142284,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &688 + personal_access_token_request: &686 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -142550,10 +142430,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *650 - organization: *652 + enterprise: *648 + organization: *650 sender: *4 - installation: *651 + installation: *649 required: - action - personal_access_token_request @@ -142630,11 +142510,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *688 - enterprise: *650 - organization: *652 + personal_access_token_request: *686 + enterprise: *648 + organization: *650 sender: *4 - installation: *651 + installation: *649 required: - action - personal_access_token_request @@ -142710,11 +142590,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *688 - enterprise: *650 - organization: *652 + personal_access_token_request: *686 + enterprise: *648 + organization: *650 sender: *4 - installation: *651 + installation: *649 required: - action - personal_access_token_request @@ -142789,11 +142669,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *688 - organization: *652 - enterprise: *650 + personal_access_token_request: *686 + organization: *650 + enterprise: *648 sender: *4 - installation: *651 + installation: *649 required: - action - personal_access_token_request @@ -142898,7 +142778,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *689 + last_response: *687 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -142930,8 +142810,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 zen: description: Random string of GitHub zen. @@ -143176,10 +143056,10 @@ x-webhooks: - from required: - note - enterprise: *650 - installation: *651 - organization: *652 - project_card: &690 + enterprise: *648 + installation: *649 + organization: *650 + project_card: &688 title: Project Card type: object properties: @@ -143298,7 +143178,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *653 + repository: *651 sender: *4 required: - action @@ -143379,11 +143259,11 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - project_card: *690 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *688 + repository: *651 sender: *4 required: - action @@ -143463,9 +143343,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 project_card: title: Project Card type: object @@ -143593,8 +143473,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *683 - required: *684 + properties: *681 + required: *682 nullable: true sender: *4 required: @@ -143688,11 +143568,11 @@ x-webhooks: - from required: - note - enterprise: *650 - installation: *651 - organization: *652 - project_card: *690 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *688 + repository: *651 sender: *4 required: - action @@ -143786,9 +143666,9 @@ x-webhooks: - from required: - column_id - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 project_card: allOf: - title: Project Card @@ -143978,7 +143858,7 @@ x-webhooks: type: string required: - after_id - repository: *653 + repository: *651 sender: *4 required: - action @@ -144058,10 +143938,10 @@ x-webhooks: type: string enum: - closed - enterprise: *650 - installation: *651 - organization: *652 - project: &692 + enterprise: *648 + installation: *649 + organization: *650 + project: &690 title: Project type: object properties: @@ -144185,7 +144065,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *653 + repository: *651 sender: *4 required: - action @@ -144265,10 +144145,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - project_column: &691 + enterprise: *648 + installation: *649 + organization: *650 + project_column: &689 title: Project Column type: object properties: @@ -144307,7 +144187,7 @@ x-webhooks: - name - created_at - updated_at - repository: *653 + repository: *651 sender: *4 required: - action @@ -144386,18 +144266,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - project_column: *691 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *689 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *683 - required: *684 + properties: *681 + required: *682 nullable: true sender: *4 required: @@ -144487,11 +144367,11 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 - project_column: *691 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *689 + repository: *651 sender: *4 required: - action @@ -144571,11 +144451,11 @@ x-webhooks: type: string enum: - moved - enterprise: *650 - installation: *651 - organization: *652 - project_column: *691 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *689 + repository: *651 sender: *4 required: - action @@ -144655,11 +144535,11 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - project: *692 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project: *690 + repository: *651 sender: *4 required: - action @@ -144739,18 +144619,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - project: *692 + enterprise: *648 + installation: *649 + organization: *650 + project: *690 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *683 - required: *684 + properties: *681 + required: *682 nullable: true sender: *4 required: @@ -144852,11 +144732,11 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 - project: *692 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project: *690 + repository: *651 sender: *4 required: - action @@ -144935,11 +144815,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *650 - installation: *651 - organization: *652 - project: *692 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + project: *690 + repository: *651 sender: *4 required: - action @@ -145020,9 +144900,9 @@ x-webhooks: type: string enum: - closed - installation: *651 - organization: *652 - projects_v2: &693 + installation: *649 + organization: *650 + projects_v2: &691 title: Projects v2 Project description: A projects v2 project type: object @@ -145165,9 +145045,9 @@ x-webhooks: type: string enum: - created - installation: *651 - organization: *652 - projects_v2: *693 + installation: *649 + organization: *650 + projects_v2: *691 sender: *4 required: - action @@ -145248,9 +145128,9 @@ x-webhooks: type: string enum: - deleted - installation: *651 - organization: *652 - projects_v2: *693 + installation: *649 + organization: *650 + projects_v2: *691 sender: *4 required: - action @@ -145367,9 +145247,9 @@ x-webhooks: type: string to: type: string - installation: *651 - organization: *652 - projects_v2: *693 + installation: *649 + organization: *650 + projects_v2: *691 sender: *4 required: - action @@ -145452,7 +145332,7 @@ x-webhooks: type: string enum: - archived - changes: &697 + changes: &695 type: object properties: archived_at: @@ -145466,9 +145346,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *651 - organization: *652 - projects_v2_item: &694 + installation: *649 + organization: *650 + projects_v2_item: &692 title: Projects v2 Item description: An item belonging to a project type: object @@ -145602,9 +145482,9 @@ x-webhooks: nullable: true to: type: string - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -145686,9 +145566,9 @@ x-webhooks: type: string enum: - created - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -145769,9 +145649,9 @@ x-webhooks: type: string enum: - deleted - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -145877,7 +145757,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &695 + - &693 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -145895,7 +145775,7 @@ x-webhooks: required: - id - name - - &696 + - &694 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -145918,8 +145798,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *695 - - *696 + - *693 + - *694 required: - field_value - type: object @@ -145935,9 +145815,9 @@ x-webhooks: nullable: true required: - body - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -146032,9 +145912,9 @@ x-webhooks: to: type: string nullable: true - installation: *651 - organization: *652 - projects_v2_item: *694 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -146117,10 +145997,10 @@ x-webhooks: type: string enum: - restored - changes: *697 - installation: *651 - organization: *652 - projects_v2_item: *694 + changes: *695 + installation: *649 + organization: *650 + projects_v2_item: *692 sender: *4 required: - action @@ -146202,9 +146082,9 @@ x-webhooks: type: string enum: - reopened - installation: *651 - organization: *652 - projects_v2: *693 + installation: *649 + organization: *650 + projects_v2: *691 sender: *4 required: - action @@ -146285,9 +146165,9 @@ x-webhooks: type: string enum: - created - installation: *651 - organization: *652 - projects_v2_status_update: &698 + installation: *649 + organization: *650 + projects_v2_status_update: &696 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146414,9 +146294,9 @@ x-webhooks: type: string enum: - deleted - installation: *651 - organization: *652 - projects_v2_status_update: *698 + installation: *649 + organization: *650 + projects_v2_status_update: *696 sender: *4 required: - action @@ -146552,9 +146432,9 @@ x-webhooks: type: string format: date nullable: true - installation: *651 - organization: *652 - projects_v2_status_update: *698 + installation: *649 + organization: *650 + projects_v2_status_update: *696 sender: *4 required: - action @@ -146625,10 +146505,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - repository @@ -146705,13 +146585,13 @@ x-webhooks: type: string enum: - assigned - assignee: *670 - enterprise: *650 - installation: *651 - number: &699 + assignee: *668 + enterprise: *648 + installation: *649 + number: &697 description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -148994,7 +148874,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -149076,11 +148956,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -151358,7 +151238,7 @@ x-webhooks: - draft reason: type: string - repository: *653 + repository: *651 sender: *4 required: - action @@ -151440,11 +151320,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -153722,7 +153602,7 @@ x-webhooks: - draft reason: type: string - repository: *653 + repository: *651 sender: *4 required: - action @@ -153804,13 +153684,13 @@ x-webhooks: type: string enum: - closed - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: &700 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: &698 allOf: - - *521 + - *519 - type: object properties: allow_auto_merge: @@ -153872,7 +153752,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *653 + repository: *651 sender: *4 required: - action @@ -153953,12 +153833,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -154038,11 +153918,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *650 - milestone: *504 - number: *699 - organization: *652 - pull_request: &701 + enterprise: *648 + milestone: *502 + number: *697 + organization: *650 + pull_request: &699 title: Pull Request type: object properties: @@ -156305,7 +156185,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -156384,11 +156264,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -158670,7 +158550,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *653 + repository: *651 sender: *4 required: - action @@ -158794,12 +158674,12 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -158879,11 +158759,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -161150,7 +161030,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -161230,11 +161110,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *650 - installation: *651 - label: *669 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + label: *667 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -163516,7 +163396,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -163597,10 +163477,10 @@ x-webhooks: type: string enum: - locked - enterprise: *650 - installation: *651 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -165880,7 +165760,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -165960,12 +165840,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *650 - milestone: *504 - number: *699 - organization: *652 - pull_request: *701 - repository: *653 + enterprise: *648 + milestone: *502 + number: *697 + organization: *650 + pull_request: *699 + repository: *651 sender: *4 required: - action @@ -166044,12 +165924,12 @@ x-webhooks: type: string enum: - opened - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -166130,12 +166010,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -166215,12 +166095,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *650 - installation: *651 - number: *699 - organization: *652 - pull_request: *700 - repository: *653 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 + pull_request: *698 + repository: *651 sender: *4 required: - action @@ -166586,9 +166466,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -168758,7 +168638,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *653 + repository: *651 sender: *4 required: - action @@ -168838,7 +168718,7 @@ x-webhooks: type: string enum: - deleted - comment: &703 + comment: &701 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -169123,9 +169003,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -171283,7 +171163,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *653 + repository: *651 sender: *4 required: - action @@ -171363,11 +171243,11 @@ x-webhooks: type: string enum: - edited - changes: *702 - comment: *703 - enterprise: *650 - installation: *651 - organization: *652 + changes: *700 + comment: *701 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -173528,7 +173408,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *653 + repository: *651 sender: *4 required: - action @@ -173609,9 +173489,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -175784,7 +175664,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 + repository: *651 review: description: The review that was affected. type: object @@ -176027,9 +175907,9 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -178083,8 +177963,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 - review: &704 + repository: *651 + review: &702 description: The review that was affected. type: object properties: @@ -178313,12 +178193,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -180601,7 +180481,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 requested_reviewer: title: User type: object @@ -180685,12 +180565,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -182980,7 +182860,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183172,12 +183052,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -185462,7 +185342,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 requested_reviewer: title: User type: object @@ -185547,12 +185427,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *650 - installation: *651 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *652 + organization: *650 pull_request: title: Pull Request type: object @@ -187828,7 +187708,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188009,9 +187889,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -190186,8 +190066,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 - review: *704 + repository: *651 + review: *702 sender: *4 required: - action @@ -190267,9 +190147,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -192339,7 +192219,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 + repository: *651 sender: *4 thread: type: object @@ -192722,9 +192602,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -194780,7 +194660,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *653 + repository: *651 sender: *4 thread: type: object @@ -195166,10 +195046,10 @@ x-webhooks: type: string before: type: string - enterprise: *650 - installation: *651 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -197440,7 +197320,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -197522,11 +197402,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *705 - enterprise: *650 - installation: *651 - number: *699 - organization: *652 + assignee: *703 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -199809,7 +199689,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -199888,11 +199768,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *650 - installation: *651 - label: *669 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + label: *667 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -202165,7 +202045,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -202246,10 +202126,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *650 - installation: *651 - number: *699 - organization: *652 + enterprise: *648 + installation: *649 + number: *697 + organization: *650 pull_request: title: Pull Request type: object @@ -204514,7 +204394,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *653 + repository: *651 sender: *4 required: - action @@ -204714,7 +204594,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *650 + enterprise: *648 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -204806,8 +204686,8 @@ x-webhooks: - url - author - committer - installation: *651 - organization: *652 + installation: *649 + organization: *650 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205382,9 +205262,9 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -205830,7 +205710,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *687 + items: *685 summary: type: string tag_name: @@ -205884,7 +205764,7 @@ x-webhooks: - owner - package_version - registry - repository: *653 + repository: *651 sender: *4 required: - action @@ -205962,9 +205842,9 @@ x-webhooks: type: string enum: - updated - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -206272,7 +206152,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *687 + items: *685 summary: type: string tag_name: @@ -206321,7 +206201,7 @@ x-webhooks: - owner - package_version - registry - repository: *653 + repository: *651 sender: *4 required: - action @@ -206398,10 +206278,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - release: &706 + enterprise: *648 + installation: *649 + organization: *650 + release: &704 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206706,7 +206586,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *653 + repository: *651 sender: *4 required: - action @@ -206783,11 +206663,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - release: *706 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + release: *704 + repository: *651 sender: *4 required: - action @@ -206904,11 +206784,11 @@ x-webhooks: type: boolean required: - to - enterprise: *650 - installation: *651 - organization: *652 - release: *706 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + release: *704 + repository: *651 sender: *4 required: - action @@ -206986,9 +206866,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207297,7 +207177,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *653 + repository: *651 sender: *4 required: - action @@ -207373,10 +207253,10 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 - release: &707 + enterprise: *648 + installation: *649 + organization: *650 + release: &705 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207682,7 +207562,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *653 + repository: *651 sender: *4 required: - action @@ -207758,11 +207638,11 @@ x-webhooks: type: string enum: - released - enterprise: *650 - installation: *651 - organization: *652 - release: *706 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + release: *704 + repository: *651 sender: *4 required: - action @@ -207838,11 +207718,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *650 - installation: *651 - organization: *652 - release: *707 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + release: *705 + repository: *651 sender: *4 required: - action @@ -207918,11 +207798,11 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - repository_advisory: *581 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *579 sender: *4 required: - action @@ -207998,11 +207878,11 @@ x-webhooks: type: string enum: - reported - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - repository_advisory: *581 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *579 sender: *4 required: - action @@ -208078,10 +207958,10 @@ x-webhooks: type: string enum: - archived - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208158,10 +208038,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208239,10 +208119,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208326,10 +208206,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208441,10 +208321,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208516,10 +208396,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 status: type: string @@ -208600,10 +208480,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208680,10 +208560,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208777,10 +208657,10 @@ x-webhooks: - name required: - repository - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -208860,10 +208740,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *241 sender: *4 required: @@ -208942,10 +208822,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *241 sender: *4 required: @@ -209024,10 +208904,10 @@ x-webhooks: type: string enum: - edited - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *241 changes: type: object @@ -209332,10 +209212,10 @@ x-webhooks: - from required: - owner - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -209413,10 +209293,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -209494,7 +209374,7 @@ x-webhooks: type: string enum: - create - alert: &708 + alert: &706 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209615,10 +209495,10 @@ x-webhooks: type: string enum: - open - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -209824,10 +209704,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -209905,11 +209785,11 @@ x-webhooks: type: string enum: - reopen - alert: *708 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *706 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210108,10 +209988,10 @@ x-webhooks: enum: - fixed - open - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210189,7 +210069,7 @@ x-webhooks: type: string enum: - created - alert: &709 + alert: &707 type: object properties: number: *54 @@ -210300,10 +210180,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210384,11 +210264,11 @@ x-webhooks: type: string enum: - created - alert: *709 - installation: *651 - location: *710 - organization: *652 - repository: *653 + alert: *707 + installation: *649 + location: *708 + organization: *650 + repository: *651 sender: *4 required: - location @@ -210626,11 +210506,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *709 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *707 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210708,11 +210588,11 @@ x-webhooks: type: string enum: - reopened - alert: *709 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *707 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210790,11 +210670,11 @@ x-webhooks: type: string enum: - resolved - alert: *709 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *707 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -210872,11 +210752,11 @@ x-webhooks: type: string enum: - validated - alert: *709 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + alert: *707 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -211002,10 +210882,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *653 - enterprise: *650 - installation: *651 - organization: *652 + repository: *651 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -211083,11 +210963,11 @@ x-webhooks: type: string enum: - published - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - security_advisory: &711 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: &709 description: The details of the security advisory, including summary, description, and severity. type: object @@ -211270,11 +211150,11 @@ x-webhooks: type: string enum: - updated - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 - security_advisory: *711 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: *709 sender: *4 required: - action @@ -211347,10 +211227,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211535,10 +211415,10 @@ x-webhooks: type: object properties: security_and_analysis: *234 - enterprise: *650 - installation: *651 - organization: *652 - repository: *289 + enterprise: *648 + installation: *649 + organization: *650 + repository: *287 sender: *4 required: - changes @@ -211616,12 +211496,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: &712 + sponsorship: &710 type: object properties: created_at: @@ -211922,12 +211802,12 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - sponsorship @@ -212015,12 +211895,12 @@ x-webhooks: type: string required: - from - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - changes @@ -212097,17 +211977,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &713 + effective_date: &711 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: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - sponsorship @@ -212181,7 +212061,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &714 + changes: &712 type: object properties: tier: @@ -212225,13 +212105,13 @@ x-webhooks: - from required: - tier - effective_date: *713 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + effective_date: *711 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - changes @@ -212308,13 +212188,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *714 - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + changes: *712 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *712 + sponsorship: *710 required: - action - changes @@ -212388,10 +212268,10 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212474,10 +212354,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212897,15 +212777,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *650 + enterprise: *648 id: description: The unique identifier of the status. type: integer - installation: *651 + installation: *649 name: type: string - organization: *652 - repository: *653 + organization: *650 + repository: *651 sender: *4 sha: description: The Commit SHA. @@ -213020,9 +212900,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213112,9 +212992,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213204,9 +213084,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213296,9 +213176,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *651 - organization: *652 - repository: *653 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213375,12 +213255,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - team: &715 + team: &713 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -213570,9 +213450,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -214030,7 +213910,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - team @@ -214106,9 +213986,9 @@ x-webhooks: type: string enum: - created - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -214566,7 +214446,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - team @@ -214643,9 +214523,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -215103,7 +214983,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - team @@ -215247,9 +215127,9 @@ x-webhooks: - from required: - permissions - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -215707,7 +215587,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - changes @@ -215785,9 +215665,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *650 - installation: *651 - organization: *652 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -216245,7 +216125,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *715 + team: *713 required: - action - team @@ -216321,10 +216201,10 @@ x-webhooks: type: string enum: - started - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216397,16 +216277,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *650 + enterprise: *648 inputs: type: object nullable: true additionalProperties: true - installation: *651 - organization: *652 + installation: *649 + organization: *650 ref: type: string - repository: *653 + repository: *651 sender: *4 workflow: type: string @@ -216488,10 +216368,10 @@ x-webhooks: type: string enum: - completed - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -216728,7 +216608,7 @@ x-webhooks: type: string required: - conclusion - deployment: *436 + deployment: *434 required: - action - repository @@ -216807,10 +216687,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -217070,7 +216950,7 @@ x-webhooks: required: - status - steps - deployment: *436 + deployment: *434 required: - action - repository @@ -217149,10 +217029,10 @@ x-webhooks: type: string enum: - queued - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -217287,7 +217167,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *436 + deployment: *434 required: - action - repository @@ -217366,10 +217246,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -217505,7 +217385,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *436 + deployment: *434 required: - action - repository @@ -217585,12 +217465,12 @@ x-webhooks: type: string enum: - completed - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *665 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -218589,12 +218469,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *665 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -219578,12 +219458,12 @@ x-webhooks: type: string enum: - requested - enterprise: *650 - installation: *651 - organization: *652 - repository: *653 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *665 + workflow: *663 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 4669962931..a334ade8d2 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -33550,364 +33550,6 @@ } } }, - "/enterprises/{enterprise}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for enterprise members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nThe time zone in the response is in UTC time, that means that the cutoff time for the \"day\" is UTC time.\n\nOnly owners and billing managers can view Copilot usage metrics for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 5000, - "total_acceptances_count": 3000, - "total_lines_suggested": 7000, - "total_lines_accepted": 3500, - "total_active_users": 15, - "total_chat_acceptances": 45, - "total_chat_turns": 350, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 3000, - "acceptances_count": 2000, - "lines_suggested": 3000, - "lines_accepted": 1500, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 1000, - "acceptances_count": 500, - "lines_suggested": 2000, - "lines_accepted": 1000, - "active_users": 5 - }, - { - "language": "javascript", - "editor": "vscode", - "suggestions_count": 1000, - "acceptances_count": 500, - "lines_suggested": 2000, - "lines_accepted": 1000, - "active_users": 5 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 5200, - "total_acceptances_count": 5100, - "total_lines_suggested": 5300, - "total_lines_accepted": 5000, - "total_active_users": 15, - "total_chat_acceptances": 57, - "total_chat_turns": 455, - "total_active_chat_users": 12, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 3100, - "acceptances_count": 3000, - "lines_suggested": 3200, - "lines_accepted": 3100, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 1100, - "acceptances_count": 1000, - "lines_suggested": 1200, - "lines_accepted": 1100, - "active_users": 5 - }, - { - "language": "javascript", - "editor": "vscode", - "suggestions_count": 1000, - "acceptances_count": 900, - "lines_suggested": 1100, - "lines_accepted": 1000, - "active_users": 5 - } - ] - } - ] - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "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": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -48778,17 +48420,17 @@ } } }, - "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "/enterprises/{enterprise}/{security_product}/{enablement}": { + "post": { + "summary": "Enable or disable a security feature", + "description": "> [!WARNING]\n> **Closing down notice:** The ability to enable or disable a security feature for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nEnables or disables the specified security feature for all repositories in an enterprise.\n\nThe authenticated user must be an administrator of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ - "copilot" + "enterprise-admin" ], - "operationId": "copilot/usage-metrics-for-enterprise-team", + "operationId": "secret-scanning/post-security-product-enablement-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature" }, "parameters": [ { @@ -48801,412 +48443,45 @@ } }, { - "name": "team_slug", - "description": "The slug of the team name.", + "name": "security_product", "in": "path", + "description": "The security feature to enable or disable.", "required": true, "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 + "type": "string", + "enum": [ + "advanced_security", + "advanced_security_user_namespace", + "dependabot_alerts", + "secret_scanning", + "secret_scanning_push_protection", + "secret_scanning_non_provider_patterns" + ] } }, { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", + "name": "enablement", + "in": "path", + "description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the enterprise.\n`disable_all` means to disable the specified security feature for all repositories in the enterprise.", + "required": true, "schema": { - "type": "integer", - "default": 28 + "type": "string", + "enum": [ + "enable_all", + "disable_all" + ] } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - } - } - } - } + "204": { + "description": "Action started" }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "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": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, - "/enterprises/{enterprise}/{security_product}/{enablement}": { - "post": { - "summary": "Enable or disable a security feature", - "description": "> [!WARNING]\n> **Closing down notice:** The ability to enable or disable a security feature for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nEnables or disables the specified security feature for all repositories in an enterprise.\n\nThe authenticated user must be an administrator of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", - "tags": [ - "enterprise-admin" - ], - "operationId": "secret-scanning/post-security-product-enablement-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "security_product", - "in": "path", - "description": "The security feature to enable or disable.", - "required": true, - "schema": { - "type": "string", - "enum": [ - "advanced_security", - "advanced_security_user_namespace", - "dependabot_alerts", - "secret_scanning", - "secret_scanning_push_protection", - "secret_scanning_non_provider_patterns" - ] - } - }, - { - "name": "enablement", - "in": "path", - "description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the enterprise.\n`disable_all` means to disable the specified security feature for all repositories in the enterprise.", - "required": true, - "schema": { - "type": "string", - "enum": [ - "enable_all", - "disable_all" - ] - } - } - ], - "responses": { - "204": { - "description": "Action started" - }, - "422": { - "description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement" - }, - "404": { - "description": "Resource not found", + "422": { + "description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement" + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -105102,17 +104377,17 @@ } } }, - "/orgs/{org}/copilot/usage": { + "/orgs/{org}/credential-authorizations": { "get": { - "summary": "Get a summary of Copilot usage for organization members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nOrganization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", + "summary": "List SAML SSO authorizations for an organization", + "description": "Lists all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://docs.github.com/enterprise-cloud@latest//articles/about-authentication-with-saml-single-sign-on).\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", "tags": [ - "copilot" + "orgs" ], - "operationId": "copilot/usage-metrics-for-org", + "operationId": "orgs/list-saml-sso-authorizations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization" }, "parameters": [ { @@ -105125,39 +104400,28 @@ } }, { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", - "required": false, "schema": { - "type": "string" + "type": "integer", + "default": 30 } }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "Page token", "in": "query", "schema": { - "type": "integer", - "default": 1 + "type": "integer" } }, { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "name": "login", + "description": "Limits the list of credentials authorizations for an organization to a specific login", "in": "query", "schema": { - "type": "integer", - "default": 28 + "type": "string" } } ], @@ -105169,176 +104433,120 @@ "schema": { "type": "array", "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", + "title": "Credential Authorization", + "description": "Credential Authorization", "type": "object", "properties": { - "day": { + "login": { "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." + "example": "monalisa", + "description": "User login that owns the underlying credential." }, - "total_suggestions_count": { + "credential_id": { "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." + "example": 1, + "description": "Unique identifier for the authorization of the credential. Use this to revoke authorization of the underlying token or key." }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." + "credential_type": { + "type": "string", + "example": "SSH Key", + "description": "Human-readable description of the credential type." }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." + "token_last_eight": { + "type": "string", + "example": "12345678", + "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token." }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." + "credential_authorized_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "Date when the credential was authorized for use." }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." + "scopes": { + "type": "array", + "example": [ + "user", + "repo" + ], + "description": "List of oauth scopes the token has been granted.", + "items": { + "type": "string" + } }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." + "fingerprint": { + "type": "string", + "example": "jklmnop12345678", + "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key." }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." + "credential_accessed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "Date when the credential was last accessed. May be null if it was never accessed", + "nullable": true }, - "total_active_chat_users": { + "authorized_credential_id": { "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." + "nullable": true, + "example": 12345678, + "description": "The ID of the underlying token that was authorized by the user. This will remain unchanged across authorizations of the token." }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", + "authorized_credential_title": { + "type": "string", "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } + "example": "my ssh key", + "description": "The title given to the ssh key. This will only be present when the credential is an ssh key." + }, + "authorized_credential_note": { + "type": "string", + "nullable": true, + "example": "my token", + "description": "The note given to the token. This will only be present when the credential is a token." + }, + "authorized_credential_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "The expiry for the token. This will only be present when the credential is a token." } }, "required": [ - "day", - "breakdown" - ], - "additionalProperties": false + "login", + "credential_id", + "credential_type", + "credential_authorized_at", + "credential_accessed_at", + "authorized_credential_id" + ] } }, "examples": { "default": { "value": [ { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } + "login": "octocat", + "credential_id": 161195, + "credential_type": "personal access token", + "token_last_eight": "71c3fc11", + "credential_authorized_at": "2011-01-26T19:06:43Z", + "credential_accessed_at": "2011-01-26T19:06:43Z", + "authorized_credential_expires_at": "2011-02-25T19:06:43Z", + "scopes": [ + "user", + "repo" ] }, { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } + "login": "hubot", + "credential_id": 161196, + "credential_type": "personal access token", + "token_last_eight": "Ae178B4a", + "credential_authorized_at": "2019-03-29T19:06:43Z", + "credential_accessed_at": "2011-01-26T19:06:43Z", + "authorized_credential_expires_at": "2019-04-28T19:06:43Z", + "scopes": [ + "repo" ] } ] @@ -105346,344 +104554,53 @@ } } } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/credential-authorizations/{credential_id}": { + "delete": { + "summary": "Remove a SAML SSO authorization for an organization", + "description": "Removes a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/remove-saml-sso-authorization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, - "/orgs/{org}/credential-authorizations": { - "get": { - "summary": "List SAML SSO authorizations for an organization", - "description": "Lists all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://docs.github.com/enterprise-cloud@latest//articles/about-authentication-with-saml-single-sign-on).\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", - "tags": [ - "orgs" - ], - "operationId": "orgs/list-saml-sso-authorizations", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "Page token", - "in": "query", - "schema": { - "type": "integer" - } - }, - { - "name": "login", - "description": "Limits the list of credentials authorizations for an organization to a specific login", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Credential Authorization", - "description": "Credential Authorization", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "monalisa", - "description": "User login that owns the underlying credential." - }, - "credential_id": { - "type": "integer", - "example": 1, - "description": "Unique identifier for the authorization of the credential. Use this to revoke authorization of the underlying token or key." - }, - "credential_type": { - "type": "string", - "example": "SSH Key", - "description": "Human-readable description of the credential type." - }, - "token_last_eight": { - "type": "string", - "example": "12345678", - "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token." - }, - "credential_authorized_at": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "Date when the credential was authorized for use." - }, - "scopes": { - "type": "array", - "example": [ - "user", - "repo" - ], - "description": "List of oauth scopes the token has been granted.", - "items": { - "type": "string" - } - }, - "fingerprint": { - "type": "string", - "example": "jklmnop12345678", - "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key." - }, - "credential_accessed_at": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "Date when the credential was last accessed. May be null if it was never accessed", - "nullable": true - }, - "authorized_credential_id": { - "type": "integer", - "nullable": true, - "example": 12345678, - "description": "The ID of the underlying token that was authorized by the user. This will remain unchanged across authorizations of the token." - }, - "authorized_credential_title": { - "type": "string", - "nullable": true, - "example": "my ssh key", - "description": "The title given to the ssh key. This will only be present when the credential is an ssh key." - }, - "authorized_credential_note": { - "type": "string", - "nullable": true, - "example": "my token", - "description": "The note given to the token. This will only be present when the credential is a token." - }, - "authorized_credential_expires_at": { - "type": "string", - "format": "date-time", - "nullable": true, - "description": "The expiry for the token. This will only be present when the credential is a token." - } - }, - "required": [ - "login", - "credential_id", - "credential_type", - "credential_authorized_at", - "credential_accessed_at", - "authorized_credential_id" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "credential_id": 161195, - "credential_type": "personal access token", - "token_last_eight": "71c3fc11", - "credential_authorized_at": "2011-01-26T19:06:43Z", - "credential_accessed_at": "2011-01-26T19:06:43Z", - "authorized_credential_expires_at": "2011-02-25T19:06:43Z", - "scopes": [ - "user", - "repo" - ] - }, - { - "login": "hubot", - "credential_id": 161196, - "credential_type": "personal access token", - "token_last_eight": "Ae178B4a", - "credential_authorized_at": "2019-03-29T19:06:43Z", - "credential_accessed_at": "2011-01-26T19:06:43Z", - "authorized_credential_expires_at": "2019-04-28T19:06:43Z", - "scopes": [ - "repo" - ] - } - ] - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" - } - } - }, - "/orgs/{org}/credential-authorizations/{credential_id}": { - "delete": { - "summary": "Remove a SAML SSO authorization for an organization", - "description": "Removes a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", - "tags": [ - "orgs" - ], - "operationId": "orgs/remove-saml-sso-authorization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "credential_id", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "description": "Resource not found", + { + "name": "credential_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171063,373 +169980,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for a team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -279042,7 +277592,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], @@ -828942,11 +827492,11 @@ } } }, - "issues-unassigned": { + "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/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": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -829013,110 +827563,13 @@ "content": { "application/json": { "schema": { - "title": "issues unassigned event", + "title": "issues typed event", "type": "object", "properties": { "action": { - "description": "The action that was performed.", "type": "string", "enum": [ - "unassigned" - ] - }, - "assignee": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "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" + "typed" ] }, "enterprise": { @@ -830482,6 +828935,66 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, "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.", @@ -831900,6 +830413,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] @@ -831924,11 +830438,11 @@ } } }, - "issues-unlabeled": { + "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/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": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -831995,13 +830509,110 @@ "content": { "application/json": { "schema": { - "title": "issues unlabeled event", + "title": "issues unassigned event", "type": "object", "properties": { "action": { + "description": "The action that was performed.", "type": "string", "enum": [ - "unlabeled" + "unassigned" + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" ] }, "enterprise": { @@ -832387,16 +830998,5850 @@ "type": "string", "format": "uri" } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "team_discussions": { + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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-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/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": "A label was removed from an issue.", + "operationId": "issues/unlabeled", + "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 unlabeled event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "unlabeled" + ] + }, + "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "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", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "team_discussions": { + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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-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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", + "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 unlocked event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "unlocked" + ] + }, + "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "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", + "required": [ + "active_lock_reason", + "assignees", + "author_association", + "body", + "closed_at", + "comments", + "comments_url", + "created_at", + "events_url", + "html_url", + "id", + "labels_url", + "locked", + "milestone", + "node_id", + "number", + "reactions", + "repository_url", + "title", + "updated_at", + "url", + "user" + ], + "properties": { + "active_lock_reason": { + "type": "string", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + } + } + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + } + } + } + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "nullable": true, + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string", + "nullable": true + }, + "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": { @@ -832404,13 +836849,34 @@ "format": "uri-template" }, "locked": { - "type": "boolean" + "type": "boolean", + "enum": [ + false + ] }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, + "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", @@ -832428,6 +836894,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -832503,8 +836973,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -832514,11 +836983,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "description": { "type": "string", @@ -832570,25 +837035,7 @@ "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" @@ -832601,6 +837048,17 @@ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", "type": "object", "nullable": true, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], "properties": { "created_at": { "type": "string", @@ -832661,9 +837119,7 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" + "workflow_run" ] } }, @@ -832692,6 +837148,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -832777,11 +837237,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -832910,8 +837366,7 @@ "type": "string", "enum": [ "read", - "write", - "admin" + "write" ] }, "organization_secrets": { @@ -833044,18 +837499,7 @@ "nullable": true, "format": "date-time" } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] + } }, "pull_request": { "type": "object", @@ -833086,6 +837530,18 @@ "reactions": { "title": "Reactions", "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], "properties": { "+1": { "type": "integer" @@ -833118,19 +837574,7 @@ "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + } }, "repository_url": { "type": "string", @@ -833249,6 +837693,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -833325,8 +837773,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -833336,77 +837783,9 @@ "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", - "nullable": true - }, - "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", @@ -834850,11 +839229,11 @@ } } }, - "issues-unlocked": { + "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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -834921,13 +839300,13 @@ "content": { "application/json": { "schema": { - "title": "issues unlocked event", + "title": "issues unpinned event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unlocked" + "unpinned" ] }, "enterprise": { @@ -835023,30 +839402,6 @@ "title": "Issue", "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "locked", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], "properties": { "active_lock_reason": { "type": "string", @@ -835063,10 +839418,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -835152,7 +839503,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -835160,10 +839515,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -835249,7 +839600,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -835308,16 +839663,6 @@ "items": { "title": "Label", "type": "object", - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "nullable": true, "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -835345,7 +839690,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -835353,34 +839707,13 @@ "format": "uri-template" }, "locked": { - "type": "boolean", - "enum": [ - false - ] + "type": "boolean" }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, - "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", @@ -835398,10 +839731,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -835487,7 +839816,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -835539,7 +839872,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" @@ -835552,17 +839903,6 @@ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", "type": "object", "nullable": true, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": "string", @@ -835652,10 +839992,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -835741,7 +840077,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -836003,7 +840343,18 @@ "nullable": true, "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -836034,18 +840385,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -836078,7 +840417,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -836197,10 +840548,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -836287,9 +840634,36 @@ "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" + ] }, "organization": { "title": "Organization Simple", @@ -837733,11 +842107,11 @@ } } }, - "issues-unpinned": { + "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/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 was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "An issue type was removed from an issue.", + "operationId": "issues/untyped", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -837804,13 +842178,13 @@ "content": { "application/json": { "schema": { - "title": "issues unpinned event", + "title": "issues untyped event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unpinned" + "untyped" ] }, "enterprise": { @@ -837997,7 +842371,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -838094,7 +842469,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -838310,7 +842686,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -838467,7 +842844,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -838714,7 +843093,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -839128,7 +843508,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -839169,6 +843550,66 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, "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.", @@ -840587,6 +845028,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 43b06ff6da..b8bb4ccf33 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &342 + type: &340 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &181 + schema: &180 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &667 + - &665 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &139 + properties: &138 id: description: Unique identifier of the GitHub app example: 37 @@ -1279,7 +1279,7 @@ paths: type: string example: '"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"' - required: &140 + required: &139 - id - node_id - owner @@ -1584,7 +1584,7 @@ paths: schema: type: integer default: 30 - - &264 + - &262 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 @@ -1600,7 +1600,7 @@ paths: application/json: schema: type: array - items: &265 + items: &263 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1680,7 +1680,7 @@ paths: - installation_id - repository_id examples: - default: &266 + default: &264 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1712,7 +1712,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &677 + schema: &675 title: Scim Error description: Scim Error type: object @@ -1739,7 +1739,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &180 + schema: &179 title: Validation Error description: Validation Error type: object @@ -1808,7 +1808,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &265 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1922,7 +1922,7 @@ paths: - request - response examples: - default: &268 + default: &266 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2123,7 +2123,7 @@ paths: parameters: - *17 - *19 - - &144 + - &143 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2849,7 +2849,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &324 + properties: &322 id: description: Unique identifier of the repository example: 42 @@ -2869,7 +2869,7 @@ paths: title: License Simple description: License Simple type: object - properties: &155 + properties: &154 key: type: string example: mit @@ -2891,7 +2891,7 @@ paths: html_url: type: string format: uri - required: &156 + required: &155 - key - name - url @@ -3278,7 +3278,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &325 + required: &323 - archive_url - assignees_url - blobs_url @@ -7291,7 +7291,7 @@ paths: description: Response content: application/json: - schema: &182 + schema: &181 type: object properties: total_active_caches_count: @@ -7306,7 +7306,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &183 + default: &182 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7491,7 +7491,7 @@ paths: - public_ip_enabled - platform examples: - default: &184 + default: &183 value: total_count: 2 runners: @@ -7777,7 +7777,7 @@ paths: description: Response content: application/json: - schema: &185 + schema: &184 type: object properties: public_ips: @@ -7802,7 +7802,7 @@ paths: required: - public_ips examples: - default: &186 + default: &185 value: public_ips: current_usage: 17 @@ -7842,7 +7842,7 @@ paths: type: array items: *44 examples: - default: &187 + default: &186 value: id: 4-core cpu_cores: 4 @@ -8099,7 +8099,7 @@ paths: - all - local_only - selected - selected_actions_url: &190 + selected_actions_url: &189 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` @@ -8467,7 +8467,7 @@ paths: description: Success response content: application/json: - schema: &193 + schema: &192 type: object properties: default_workflow_permissions: &52 @@ -8515,7 +8515,7 @@ paths: required: true content: application/json: - schema: &194 + schema: &193 type: object properties: default_workflow_permissions: *52 @@ -9351,7 +9351,7 @@ paths: application/json: schema: type: array - items: &198 + items: &197 title: Runner Application description: Runner Application type: object @@ -9376,7 +9376,7 @@ paths: - download_url - filename examples: - default: &199 + default: &198 value: - os: osx architecture: x64 @@ -9460,7 +9460,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &200 + '201': &199 description: Response content: application/json: @@ -9575,7 +9575,7 @@ paths: - token - expires_at examples: - default: &201 + default: &200 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9615,7 +9615,7 @@ paths: application/json: schema: *64 examples: - default: &202 + default: &201 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9647,7 +9647,7 @@ paths: application/json: schema: *61 examples: - default: &203 + default: &202 value: id: 23 name: MBP @@ -9862,7 +9862,7 @@ paths: - *40 - *60 responses: - '200': &204 + '200': &203 description: Response content: application/json: @@ -9918,7 +9918,7 @@ paths: parameters: - *40 - *60 - - &205 + - &204 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10009,7 +10009,7 @@ paths: required: true content: application/json: - schema: &212 + schema: &211 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10081,7 +10081,7 @@ paths: required: false schema: type: string - - &213 + - &212 name: include description: |- The event types to include: @@ -10099,7 +10099,7 @@ paths: - web - git - all - - &214 + - &213 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10107,7 +10107,7 @@ paths: required: false schema: type: string - - &215 + - &214 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10115,7 +10115,7 @@ paths: required: false schema: type: string - - &216 + - &215 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10137,7 +10137,7 @@ paths: application/json: schema: type: array - items: &217 + items: &216 type: object properties: "@timestamp": @@ -10259,7 +10259,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &218 + default: &217 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10860,7 +10860,7 @@ paths: in: query schema: type: string - - &220 + - &219 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10868,7 +10868,7 @@ paths: required: false schema: type: string - - &221 + - &220 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10876,7 +10876,7 @@ paths: required: false schema: type: string - - &222 + - &221 name: time_period description: |- The time period to filter by. @@ -10892,7 +10892,7 @@ paths: - week - month default: day - - &223 + - &222 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10918,7 +10918,7 @@ paths: application/json: schema: type: array - items: &224 + items: &223 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11035,7 +11035,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &227 + items: &226 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11079,7 +11079,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &225 + default: &224 value: - id: 21 number: 42 @@ -11170,7 +11170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &228 + - &227 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`, @@ -11180,7 +11180,7 @@ paths: schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - - &229 + - &228 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 @@ -11203,7 +11203,7 @@ paths: be returned. in: query required: false - schema: &230 + schema: &229 type: string description: State of a code scanning alert. enum: @@ -11228,7 +11228,7 @@ paths: application/json: schema: type: array - items: &231 + items: &230 type: object properties: number: &100 @@ -11257,7 +11257,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &458 + instances_url: &456 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11292,7 +11292,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &459 + dismissed_reason: &457 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11301,13 +11301,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &460 + dismissed_comment: &458 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &461 + rule: &459 type: object properties: id: @@ -11360,7 +11360,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &462 + tool: &460 type: object properties: name: *87 @@ -11370,15 +11370,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *88 - most_recent_instance: &463 + most_recent_instance: &461 type: object properties: - ref: &456 + ref: &454 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &473 + analysis_key: &471 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11389,7 +11389,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &474 + category: &472 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11734,7 +11734,7 @@ paths: - most_recent_instance - repository examples: - default: &232 + default: &231 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12541,7 +12541,7 @@ paths: description: Response content: application/json: - schema: &234 + schema: &233 type: array description: A list of default code security configurations items: @@ -12557,7 +12557,7 @@ paths: default configuration: *90 examples: - default: &235 + default: &234 value: - default_for_new_repos: public configuration: @@ -12988,7 +12988,7 @@ paths: default: value: default_for_new_repos: all - configuration: &233 + configuration: &232 value: id: 1325 target_type: organization @@ -13071,7 +13071,7 @@ paths: application/json: schema: type: array - items: &236 + items: &235 type: object description: Repositories associated with a code security configuration and attachment status @@ -13095,7 +13095,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &237 + repository: &236 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13560,7 +13560,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &239 + items: &238 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13578,7 +13578,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &286 + - &284 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13637,7 +13637,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &302 + properties: &300 id: description: Unique identifier of the team type: integer @@ -13693,7 +13693,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &303 + required: &301 - id - node_id - url @@ -13812,7 +13812,7 @@ paths: - created_at additionalProperties: false examples: - default: &240 + default: &239 value: total_seats: 2 seats: @@ -14363,225 +14363,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/enterprises/{enterprise}/copilot/usage": - get: - summary: Get a summary of Copilot usage for enterprise members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, - and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - The time zone in the response is in UTC time, that means that the cutoff time for the "day" is UTC time. - - Only owners and billing managers can view Copilot usage metrics for the enterprise. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members - parameters: - - *40 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &137 - title: Copilot Usage Metrics - description: Summary of Copilot usage. - type: object - properties: - day: - type: string - format: date - description: The date for which the usage metrics are reported, - in `YYYY-MM-DD` format. - total_suggestions_count: - type: integer - description: The total number of Copilot code completion suggestions - shown to users. - total_acceptances_count: - type: integer - description: The total number of Copilot code completion suggestions - accepted by users. - total_lines_suggested: - type: integer - description: The total number of lines of code completions suggested - by Copilot. - total_lines_accepted: - type: integer - description: The total number of lines of code completions accepted - by users. - total_active_users: - type: integer - description: The total number of users who were shown Copilot - code completion suggestions during the day specified. - total_chat_acceptances: - type: integer - description: The total instances of users who accepted code - suggested by Copilot Chat in the IDE (panel and inline). - total_chat_turns: - type: integer - description: The total number of chat turns (prompt and response - pairs) sent between users and Copilot Chat in the IDE. - total_active_chat_users: - type: integer - description: The total number of users who interacted with Copilot - Chat in the IDE during the day specified. - breakdown: - type: array - description: Breakdown of Copilot code completions usage by - language and editor - nullable: true - items: - type: object - description: Breakdown of Copilot usage by editor for this - language - additionalProperties: true - properties: - language: - type: string - description: The language in which Copilot suggestions - were shown to users in the specified editor. - editor: - type: string - description: The editor in which Copilot suggestions were - shown to users for the specified language. - suggestions_count: - type: integer - description: The number of Copilot suggestions shown to - users in the editor specified during the day specified. - acceptances_count: - type: integer - description: The number of Copilot suggestions accepted - by users in the editor specified during the day specified. - lines_suggested: - type: integer - description: The number of lines of code suggested by - Copilot in the editor specified during the day specified. - lines_accepted: - type: integer - description: The number of lines of code accepted by users - in the editor specified during the day specified. - active_users: - type: integer - description: The number of users who were shown Copilot - completion suggestions in the editor specified during - the day specified. - required: - - day - - breakdown - additionalProperties: false - examples: - default: - value: - - day: '2023-10-15' - total_suggestions_count: 5000 - total_acceptances_count: 3000 - total_lines_suggested: 7000 - total_lines_accepted: 3500 - total_active_users: 15 - total_chat_acceptances: 45 - total_chat_turns: 350 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 3000 - acceptances_count: 2000 - lines_suggested: 3000 - lines_accepted: 1500 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 1000 - acceptances_count: 500 - lines_suggested: 2000 - lines_accepted: 1000 - active_users: 5 - - language: javascript - editor: vscode - suggestions_count: 1000 - acceptances_count: 500 - lines_suggested: 2000 - lines_accepted: 1000 - active_users: 5 - - day: '2023-10-16' - total_suggestions_count: 5200 - total_acceptances_count: 5100 - total_lines_suggested: 5300 - total_lines_accepted: 5000 - total_active_users: 15 - total_chat_acceptances: 57 - total_chat_turns: 455 - total_active_chat_users: 12 - breakdown: - - language: python - editor: vscode - suggestions_count: 3100 - acceptances_count: 3000 - lines_suggested: 3200 - lines_accepted: 3100 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 1100 - acceptances_count: 1000 - lines_suggested: 1200 - lines_accepted: 1100 - active_users: 5 - - language: javascript - editor: vscode - suggestions_count: 1000 - acceptances_count: 900 - lines_suggested: 1100 - lines_accepted: 1000 - active_users: 5 - '500': *99 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -14601,7 +14382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &247 + - &245 name: state in: query description: |- @@ -14610,7 +14391,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &248 + - &246 name: severity in: query description: |- @@ -14619,7 +14400,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &249 + - &247 name: ecosystem in: query description: |- @@ -14628,14 +14409,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &250 + - &248 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &251 + - &249 name: epss_percentage in: query description: |- @@ -14647,7 +14428,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 - - &252 + - &250 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14657,7 +14438,7 @@ paths: enum: - development - runtime - - &253 + - &251 name: sort in: query description: |- @@ -14675,7 +14456,7 @@ paths: - *86 - *84 - *85 - - &254 + - &252 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14688,7 +14469,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &255 + - &253 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14708,7 +14489,7 @@ paths: application/json: schema: type: array - items: &256 + items: &254 type: object description: A Dependabot alert. properties: @@ -14771,7 +14552,7 @@ paths: - unknown - direct - transitive - security_advisory: &515 + security_advisory: &513 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15003,7 +14784,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: &516 + auto_dismissed_at: &514 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15029,7 +14810,7 @@ paths: - repository additionalProperties: false examples: - default: &257 + default: &255 value: - number: 2 state: dismissed @@ -15495,7 +15276,7 @@ paths: - name - created_on examples: - default: &352 + default: &350 value: total_count: 2 network_configurations: @@ -15718,7 +15499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *40 - - &353 + - &351 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15730,7 +15511,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &352 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15764,7 +15545,7 @@ paths: - subnet_id - region examples: - default: &355 + default: &353 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15977,7 +15758,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *40 - - &171 + - &170 name: org description: The organization name. The name is not case sensitive. in: path @@ -16066,7 +15847,7 @@ paths: required: true content: application/json: - schema: &322 + schema: &320 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16432,7 +16213,7 @@ paths: type: object description: A repository rule. oneOf: - - &625 + - &623 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16444,7 +16225,7 @@ paths: type: string enum: - creation - - &626 + - &624 title: update description: Only allow users with bypass permission to update matching refs. @@ -16465,7 +16246,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &628 + - &626 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16477,7 +16258,7 @@ paths: type: string enum: - deletion - - &629 + - &627 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16489,7 +16270,7 @@ paths: type: string enum: - required_linear_history - - &630 + - &628 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16565,7 +16346,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &631 + - &629 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16589,7 +16370,7 @@ paths: type: string required: - required_deployment_environments - - &632 + - &630 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16601,7 +16382,7 @@ paths: type: string enum: - required_signatures - - &633 + - &631 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16663,7 +16444,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &634 + - &632 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16710,7 +16491,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &635 + - &633 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16722,7 +16503,7 @@ paths: type: string enum: - non_fast_forward - - &636 + - &634 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16758,7 +16539,7 @@ paths: required: - operator - pattern - - &637 + - &635 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16794,115 +16575,115 @@ paths: required: - operator - pattern - - &638 - title: committer_email_pattern - description: Parameters to be used for the committer_email_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - committer_email_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the pattern - matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &639 - title: branch_name_pattern - description: Parameters to be used for the branch_name_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - branch_name_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the pattern - matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &640 - title: tag_name_pattern - description: Parameters to be used for the tag_name_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - tag_name_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the pattern - matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &641 + - &636 + title: committer_email_pattern + description: Parameters to be used for the committer_email_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - committer_email_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the pattern + matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &637 + title: branch_name_pattern + description: Parameters to be used for the branch_name_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - branch_name_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the pattern + matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &638 + title: tag_name_pattern + description: Parameters to be used for the tag_name_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - tag_name_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the pattern + matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &639 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16926,7 +16707,7 @@ paths: type: string required: - restricted_file_paths - - &642 + - &640 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16950,7 +16731,7 @@ paths: maximum: 256 required: - max_file_path_length - - &643 + - &641 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16973,7 +16754,7 @@ paths: type: string required: - restricted_file_extensions - - &644 + - &642 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16997,7 +16778,7 @@ paths: maximum: 100 required: - max_file_size - - &645 + - &643 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17046,7 +16827,7 @@ paths: - repository_id required: - workflows - - &646 + - &644 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17203,7 +16984,7 @@ paths: nullable: true anyOf: - *121 - - &329 + - &327 title: Organization ruleset conditions type: object description: |- @@ -17484,7 +17265,7 @@ paths: type: string format: date-time examples: - default: &331 + default: &329 value: - version_id: 3 actor: @@ -17537,7 +17318,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &330 allOf: - *131 - type: object @@ -17592,7 +17373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &333 + - &331 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17603,7 +17384,7 @@ paths: enum: - open - resolved - - &334 + - &332 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17613,7 +17394,7 @@ paths: required: false schema: type: string - - &335 + - &333 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17622,7 +17403,7 @@ paths: required: false schema: type: string - - &336 + - &334 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. @@ -17638,7 +17419,7 @@ paths: - *17 - *84 - *85 - - &337 + - &335 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17647,7 +17428,7 @@ paths: required: false schema: type: string - - &338 + - &336 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17656,7 +17437,7 @@ paths: schema: type: boolean default: false - - &339 + - &337 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17672,7 +17453,7 @@ paths: application/json: schema: type: array - items: &340 + items: &338 type: object properties: number: *100 @@ -17691,14 +17472,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &659 + state: &657 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &660 + resolution: &658 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17800,7 +17581,7 @@ paths: is base64 encoded nullable: true examples: - default: &341 + default: &339 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18063,7 +17844,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &342 type: object properties: total_minutes_used: @@ -18133,7 +17914,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &345 + default: &343 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18171,7 +17952,7 @@ paths: description: Success content: application/json: - schema: &346 + schema: &344 type: object properties: total_advanced_security_committers: @@ -18226,7 +18007,7 @@ paths: required: - repositories examples: - default: &347 + default: &345 value: total_advanced_security_committers: 2 total_count: 2 @@ -18465,7 +18246,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &346 type: object properties: total_gigabytes_bandwidth_used: @@ -18483,7 +18264,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &349 + default: &347 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18515,7 +18296,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &348 type: object properties: days_left_in_billing_cycle: @@ -18533,7 +18314,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &351 + default: &349 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18558,7 +18339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - &172 + - &171 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18567,7 +18348,7 @@ paths: required: false schema: type: integer - - &173 + - &172 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 @@ -18576,7 +18357,7 @@ paths: required: false schema: type: integer - - &174 + - &173 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18585,7 +18366,7 @@ paths: required: false schema: type: integer - - &175 + - &174 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18606,7 +18387,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &176 + schema: &175 type: object properties: usageItems: @@ -18659,7 +18440,7 @@ paths: - netAmount - organizationName examples: - default: &177 + default: &176 value: usageItems: - date: '2023-08-01' @@ -18759,148 +18540,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for an enterprise team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-enterprise-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team - parameters: - - *40 - - &301 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *137 - examples: - default: &241 - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 - '500': *99 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/enterprises/{enterprise}/{security_product}/{enablement}": post: summary: Enable or disable a security feature @@ -18984,7 +18623,7 @@ paths: application/json: schema: type: array - items: &166 + items: &165 title: Event description: Event type: object @@ -18994,7 +18633,7 @@ paths: type: type: string nullable: true - actor: &138 + actor: &137 title: Actor description: Actor type: object @@ -19034,18 +18673,18 @@ paths: - id - name - url - org: *138 + org: *137 payload: type: object properties: action: type: string - issue: &154 + issue: &153 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &564 + properties: &562 id: type: integer format: int64 @@ -19156,7 +18795,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &500 + properties: &498 url: type: string format: uri @@ -19226,7 +18865,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &501 + required: &499 - closed_issues - creator - description @@ -19305,7 +18944,7 @@ paths: timeline_url: type: string format: uri - type: &287 + type: &285 title: Issue Type description: The type of issue. type: object @@ -19364,9 +19003,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - author_association: &141 + properties: *138 + required: *139 + author_association: &140 title: author_association type: string example: OWNER @@ -19380,7 +19019,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &142 + reactions: &141 title: Reaction Rollup type: object properties: @@ -19430,7 +19069,7 @@ paths: - total - completed - percent_completed - required: &565 + required: &563 - assignee - closed_at - comments @@ -19452,7 +19091,7 @@ paths: - author_association - created_at - updated_at - comment: &562 + comment: &560 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19500,7 +19139,7 @@ paths: issue_url: type: string format: uri - author_association: *141 + author_association: *140 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -19510,9 +19149,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - reactions: *142 + properties: *138 + required: *139 + reactions: *141 required: - id - node_id @@ -19688,7 +19327,7 @@ paths: _links: type: object properties: - timeline: &143 + timeline: &142 title: Link With Type description: Hypermedia Link with Type type: object @@ -19700,17 +19339,17 @@ paths: required: - href - type - user: *143 - security_advisories: *143 - current_user: *143 - current_user_public: *143 - current_user_actor: *143 - current_user_organization: *143 + user: *142 + security_advisories: *142 + current_user: *142 + current_user_public: *142 + current_user_actor: *142 + current_user_organization: *142 current_user_organizations: type: array - items: *143 - repository_discussions: *143 - repository_discussions_category: *143 + items: *142 + repository_discussions: *142 + repository_discussions_category: *142 required: - timeline - user @@ -19772,7 +19411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *144 + - *143 - *17 - *19 responses: @@ -19782,7 +19421,7 @@ paths: application/json: schema: type: array - items: &145 + items: &144 title: Base Gist description: Base Gist type: object @@ -19881,7 +19520,7 @@ paths: - created_at - updated_at examples: - default: &146 + default: &145 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20002,7 +19641,7 @@ paths: description: Response content: application/json: - schema: &147 + schema: &146 title: Gist Simple description: Gist Simple type: object @@ -20019,7 +19658,7 @@ paths: url: type: string format: uri - user: &716 + user: &714 title: Public User description: Public User type: object @@ -20381,7 +20020,7 @@ paths: truncated: type: boolean examples: - default: &148 + default: &147 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20485,7 +20124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *144 + - *143 - *17 - *19 responses: @@ -20495,9 +20134,9 @@ paths: application/json: schema: type: array - items: *145 + items: *144 examples: - default: *146 + default: *145 headers: Link: *39 '422': *15 @@ -20519,7 +20158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *144 + - *143 - *17 - *19 responses: @@ -20529,9 +20168,9 @@ paths: application/json: schema: type: array - items: *145 + items: *144 examples: - default: *146 + default: *145 headers: Link: *39 '401': *25 @@ -20559,7 +20198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &149 + - &148 name: gist_id description: The unique identifier of the gist. in: path @@ -20571,10 +20210,10 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: - default: *148 - '403': &152 + default: *147 + '403': &151 description: Forbidden Gist content: application/json: @@ -20622,7 +20261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *149 + - *148 requestBody: required: true content: @@ -20682,9 +20321,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: - updateGist: *148 + updateGist: *147 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -20842,7 +20481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *149 + - *148 responses: '204': description: Response @@ -20871,7 +20510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *149 + - *148 - *17 - *19 responses: @@ -20881,7 +20520,7 @@ paths: application/json: schema: type: array - items: &150 + items: &149 title: Gist Comment description: A comment made to a gist. type: object @@ -20916,7 +20555,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *141 + author_association: *140 required: - url - id @@ -20981,7 +20620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *149 + - *148 requestBody: required: true content: @@ -21006,9 +20645,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: &151 + default: &150 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21066,8 +20705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *149 - - &153 + - *148 + - &152 name: comment_id description: The unique identifier of the comment. in: path @@ -21080,12 +20719,12 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: *151 + default: *150 '304': *37 '404': *6 - '403': *152 + '403': *151 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21107,8 +20746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *149 - - *153 + - *148 + - *152 requestBody: required: true content: @@ -21133,9 +20772,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: *151 + default: *150 '404': *6 x-github: githubCloudOnly: false @@ -21152,8 +20791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *149 - - *153 + - *148 + - *152 responses: '204': description: Response @@ -21176,7 +20815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *149 + - *148 - *17 - *19 responses: @@ -21277,7 +20916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *149 + - *148 - *17 - *19 responses: @@ -21287,7 +20926,7 @@ paths: application/json: schema: type: array - items: *147 + items: *146 examples: default: value: @@ -21352,13 +20991,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *149 + - *148 responses: '201': description: Response content: application/json: - schema: *145 + schema: *144 examples: default: value: @@ -21429,7 +21068,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *149 + - *148 responses: '204': description: Response if gist is starred @@ -21459,7 +21098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *149 + - *148 responses: '204': description: Response @@ -21481,7 +21120,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *149 + - *148 responses: '204': description: Response @@ -21510,7 +21149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *149 + - *148 - name: sha in: path required: true @@ -21521,9 +21160,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: - default: *148 + default: *147 '422': *15 '404': *6 '403': *29 @@ -21889,7 +21528,7 @@ paths: - closed - all default: open - - &290 + - &288 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -21908,7 +21547,7 @@ paths: - comments default: created - *86 - - *144 + - *143 - name: collab in: query required: false @@ -21938,9 +21577,9 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: &291 + default: &289 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22224,8 +21863,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 examples: default: value: @@ -22509,7 +22148,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &157 + X-CommonMarker-Version: &156 example: 0.17.4 schema: type: string @@ -22564,7 +22203,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *157 + X-CommonMarker-Version: *156 content: text/html: schema: @@ -22593,7 +22232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &160 + - &159 name: account_id description: account_id parameter in: path @@ -22605,7 +22244,7 @@ paths: description: Response content: application/json: - schema: &159 + schema: &158 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22635,7 +22274,7 @@ paths: nullable: true id: type: integer - plan: &158 + plan: &157 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -22724,7 +22363,7 @@ paths: nullable: true updated_at: type: string - plan: *158 + plan: *157 required: - url - id @@ -22732,7 +22371,7 @@ paths: - login - marketplace_purchase examples: - default: &161 + default: &160 value: url: https://api.github.com/orgs/github type: Organization @@ -22817,9 +22456,9 @@ paths: application/json: schema: type: array - items: *158 + items: *157 examples: - default: &162 + default: &161 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -22859,14 +22498,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &163 + - &162 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &164 + - &163 name: sort description: The property to sort the results by. in: query @@ -22896,9 +22535,9 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: - default: &165 + default: &164 value: - url: https://api.github.com/orgs/github type: Organization @@ -22972,15 +22611,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *160 + - *159 responses: '200': description: Response content: application/json: - schema: *159 + schema: *158 examples: - default: *161 + default: *160 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -23012,9 +22651,9 @@ paths: application/json: schema: type: array - items: *158 + items: *157 examples: - default: *162 + default: *161 headers: Link: *39 '401': *25 @@ -23037,8 +22676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: + - *162 - *163 - - *164 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23058,9 +22697,9 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: - default: *165 + default: *164 headers: Link: *39 '401': *25 @@ -23324,14 +22963,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &375 + - &373 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &376 + - &374 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23348,7 +22987,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -23402,7 +23041,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &389 + '301': &387 description: Moved permanently content: application/json: @@ -23424,7 +23063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &594 + - &592 name: all description: If `true`, show notifications marked as read. in: query @@ -23432,7 +23071,7 @@ paths: schema: type: boolean default: false - - &595 + - &593 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23441,8 +23080,8 @@ paths: schema: type: boolean default: false - - *144 - - &596 + - *143 + - &594 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: @@ -23467,18 +23106,18 @@ paths: application/json: schema: type: array - items: &167 + items: &166 title: Thread description: Thread type: object properties: id: type: string - repository: &197 + repository: &196 title: Minimal Repository description: Minimal Repository type: object - properties: &259 + properties: &257 id: type: integer format: int64 @@ -23754,7 +23393,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &326 + security_and_analysis: &324 nullable: true type: object properties: @@ -23818,7 +23457,7 @@ paths: enum: - enabled - disabled - required: &260 + required: &258 - archive_url - assignees_url - blobs_url @@ -23906,7 +23545,7 @@ paths: - url - subscription_url examples: - default: &597 + default: &595 value: - id: '1' repository: @@ -24072,7 +23711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &168 + - &167 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -24086,7 +23725,7 @@ paths: description: Response content: application/json: - schema: *167 + schema: *166 examples: default: value: @@ -24189,7 +23828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *168 + - *167 responses: '205': description: Reset Content @@ -24212,7 +23851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *168 + - *167 responses: '204': description: No content @@ -24235,13 +23874,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *168 + - *167 responses: '200': description: Response content: application/json: - schema: &169 + schema: &168 title: Thread Subscription description: Thread Subscription type: object @@ -24278,7 +23917,7 @@ paths: - url - subscribed examples: - default: &170 + default: &169 value: subscribed: true ignored: false @@ -24309,7 +23948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *168 + - *167 requestBody: required: false content: @@ -24330,9 +23969,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: - default: *170 + default: *169 '304': *37 '403': *29 '401': *25 @@ -24355,7 +23994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *168 + - *167 responses: '204': description: Response @@ -24452,7 +24091,7 @@ paths: type: array items: *58 examples: - default: &734 + default: &732 value: - login: github id: 1 @@ -24516,7 +24155,7 @@ paths: type: integer custom_roles: type: array - items: &242 + items: &240 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24564,7 +24203,7 @@ paths: - created_at - updated_at examples: - default: &243 + default: &241 value: id: 8030 name: Security Engineer @@ -24610,19 +24249,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: + - *170 - *171 - *172 - *173 - *174 - - *175 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *176 + schema: *175 examples: - default: *177 + default: *176 '400': *14 '403': *29 '500': *99 @@ -24652,13 +24291,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: &178 + schema: &177 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -24961,7 +24600,7 @@ paths: - updated_at - archived_at examples: - default-response: &179 + default-response: &178 value: login: github id: 1 @@ -25054,7 +24693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *171 + - *170 requestBody: required: false content: @@ -25277,17 +24916,17 @@ paths: description: Response content: application/json: - schema: *178 + schema: *177 examples: - default: *179 + default: *178 '422': description: Validation failed content: application/json: schema: oneOf: + - *179 - *180 - - *181 '409': *94 x-github: githubCloudOnly: false @@ -25311,7 +24950,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *171 + - *170 responses: '202': *95 '404': *6 @@ -25336,15 +24975,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *182 + schema: *181 examples: - default: *183 + default: *182 headers: Link: *39 x-github: @@ -25367,7 +25006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -25385,7 +25024,7 @@ paths: type: integer repository_cache_usages: type: array - items: &394 + items: &392 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25440,7 +25079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -25460,7 +25099,7 @@ paths: type: array items: *41 examples: - default: *184 + default: *183 headers: Link: *39 x-github: @@ -25480,7 +25119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -25567,7 +25206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25603,7 +25242,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25638,15 +25277,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *185 + schema: *184 examples: - default: *186 + default: *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25664,7 +25303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25682,7 +25321,7 @@ paths: type: array items: *44 examples: - default: *187 + default: *186 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25700,7 +25339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25744,7 +25383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *46 responses: '200': @@ -25773,7 +25412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *46 requestBody: required: true @@ -25830,7 +25469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *46 responses: '202': @@ -25859,13 +25498,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *171 + - *170 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &188 + schema: &187 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -25879,7 +25518,7 @@ paths: required: - include_claim_keys examples: - default: &189 + default: &188 value: include_claim_keys: - repo @@ -25901,20 +25540,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: application/json: - schema: *188 + schema: *187 examples: - default: *189 + default: *188 responses: '201': description: Empty response content: application/json: - schema: &208 + schema: &207 title: Empty Object description: An object without any properties. type: object @@ -25944,7 +25583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25953,7 +25592,7 @@ paths: schema: type: object properties: - enabled_repositories: &191 + enabled_repositories: &190 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -25967,7 +25606,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *48 - selected_actions_url: *190 + selected_actions_url: *189 required: - enabled_repositories examples: @@ -25996,7 +25635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -26007,7 +25646,7 @@ paths: schema: type: object properties: - enabled_repositories: *191 + enabled_repositories: *190 allowed_actions: *48 required: - enabled_repositories @@ -26035,7 +25674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -26055,7 +25694,7 @@ paths: type: array items: *63 examples: - default: &728 + default: &726 value: total_count: 1 repositories: @@ -26195,7 +25834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -26239,8 +25878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *171 - - &192 + - *170 + - &191 name: repository_id description: The unique identifier of the repository. in: path @@ -26268,8 +25907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *171 - - *192 + - *170 + - *191 responses: '204': description: Response @@ -26292,7 +25931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -26323,7 +25962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -26355,13 +25994,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: default: *54 x-github: @@ -26384,7 +26023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *171 + - *170 responses: '204': description: Success response @@ -26395,7 +26034,7 @@ paths: required: false content: application/json: - schema: *194 + schema: *193 examples: default: *54 x-github: @@ -26417,7 +26056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *171 + - *170 - *17 - *19 - name: visible_to_repository @@ -26442,7 +26081,7 @@ paths: type: number runner_groups: type: array - items: &195 + items: &194 type: object properties: id: @@ -26558,7 +26197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -26630,9 +26269,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *194 examples: - default: &196 + default: &195 value: id: 2 name: octo-runner-group @@ -26667,14 +26306,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *171 + - *170 - *57 responses: '200': description: Response content: application/json: - schema: *195 + schema: *194 examples: default: value: @@ -26710,7 +26349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *171 + - *170 - *57 requestBody: required: true @@ -26765,9 +26404,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *194 examples: - default: *196 + default: *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26786,7 +26425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *171 + - *170 - *57 responses: '204': @@ -26810,7 +26449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *171 + - *170 - *57 - *17 - *19 @@ -26831,7 +26470,7 @@ paths: type: array items: *41 examples: - default: *184 + default: *183 headers: Link: *39 x-github: @@ -26853,7 +26492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *171 + - *170 - *57 - *19 - *17 @@ -26872,9 +26511,9 @@ paths: type: number repositories: type: array - items: *197 + items: *196 examples: - default: &719 + default: &717 value: total_count: 1 repositories: @@ -27126,7 +26765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *171 + - *170 - *57 requestBody: required: true @@ -27171,9 +26810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *171 + - *170 - *57 - - *192 + - *191 responses: '204': description: Response @@ -27195,9 +26834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *171 + - *170 - *57 - - *192 + - *191 responses: '204': description: Response @@ -27220,7 +26859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *171 + - *170 - *57 - *17 - *19 @@ -27262,7 +26901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *171 + - *170 - *57 requestBody: required: true @@ -27307,7 +26946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *171 + - *170 - *57 - *60 responses: @@ -27331,7 +26970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *171 + - *170 - *57 - *60 responses: @@ -27363,7 +27002,7 @@ paths: in: query schema: type: string - - *171 + - *170 - *17 - *19 responses: @@ -27407,7 +27046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -27415,9 +27054,9 @@ paths: application/json: schema: type: array - items: *198 + items: *197 examples: - default: *199 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27439,7 +27078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -27482,7 +27121,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *200 + '201': *199 '404': *6 '422': *7 '409': *94 @@ -27513,7 +27152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *171 + - *170 responses: '201': description: Response @@ -27521,7 +27160,7 @@ paths: application/json: schema: *64 examples: - default: *201 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27549,7 +27188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *171 + - *170 responses: '201': description: Response @@ -27557,7 +27196,7 @@ paths: application/json: schema: *64 examples: - default: *202 + default: *201 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27579,7 +27218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 responses: '200': @@ -27588,7 +27227,7 @@ paths: application/json: schema: *61 examples: - default: *203 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27609,7 +27248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *171 + - *170 - *60 responses: '204': @@ -27635,7 +27274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 responses: '200': *66 @@ -27660,7 +27299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 requestBody: required: true @@ -27709,7 +27348,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 requestBody: required: true @@ -27759,10 +27398,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 responses: - '200': *204 + '200': *203 '404': *6 x-github: githubCloudOnly: false @@ -27789,9 +27428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 - - *205 + - *204 responses: '200': *66 '404': *6 @@ -27818,7 +27457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *171 + - *170 - *17 - *19 responses: @@ -27836,7 +27475,7 @@ paths: type: integer secrets: type: array - items: &206 + items: &205 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27909,13 +27548,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: &414 + schema: &412 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27944,7 +27583,7 @@ paths: - key_id - key examples: - default: &415 + default: &413 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27969,8 +27608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *171 - - &207 + - *170 + - &206 name: secret_name description: The name of the secret. in: path @@ -27982,7 +27621,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *205 examples: default: value: @@ -28012,8 +27651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -28070,7 +27709,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -28096,8 +27735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '204': description: Response @@ -28123,8 +27762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - *19 - *17 responses: @@ -28142,9 +27781,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: &211 + default: &210 value: total_count: 1 repositories: @@ -28236,8 +27875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -28289,8 +27928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -28323,8 +27962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -28356,8 +27995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *171 - - &399 + - *170 + - &397 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/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -28381,7 +28020,7 @@ paths: type: integer variables: type: array - items: &209 + items: &208 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28466,7 +28105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *171 + - *170 requestBody: required: true content: @@ -28514,7 +28153,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -28539,8 +28178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *171 - - &210 + - *170 + - &209 name: name description: The name of the variable. in: path @@ -28552,7 +28191,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -28582,8 +28221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 requestBody: required: true content: @@ -28645,8 +28284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 responses: '204': description: Response @@ -28672,8 +28311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 - *19 - *17 responses: @@ -28691,9 +28330,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: *211 + default: *210 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28719,8 +28358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 requestBody: required: true content: @@ -28769,8 +28408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 - name: repository_id in: path required: true @@ -28804,8 +28443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 - name: repository_id in: path required: true @@ -28836,7 +28475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -28863,11 +28502,11 @@ paths: required: true content: application/json: - schema: *212 + schema: *211 examples: default: *70 parameters: - - *171 + - *170 responses: '200': description: Response @@ -28891,7 +28530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -28919,7 +28558,7 @@ paths: - *17 - *84 - *85 - - *171 + - *170 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -28970,7 +28609,7 @@ paths: bundle_url: type: string examples: - default: &428 + default: &426 value: attestations: - bundle: @@ -29088,7 +28727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *171 + - *170 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -29096,10 +28735,10 @@ paths: required: false schema: type: string + - *212 - *213 - *214 - *215 - - *216 - *17 responses: '200': @@ -29108,9 +28747,9 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: - default: *218 + default: *217 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29127,7 +28766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -29139,7 +28778,7 @@ paths: type: array items: *4 examples: - default: &292 + default: &290 value: - login: octocat id: 1 @@ -29177,8 +28816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *171 - - &219 + - *170 + - &218 name: username description: The handle for the GitHub user account. in: path @@ -29209,8 +28848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -29230,8 +28869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -29257,17 +28896,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *171 - - &226 + - *170 + - &225 name: repository_name description: The name of the repository to filter on. in: query schema: type: string + - *219 - *220 - *221 - *222 - - *223 - *17 - *19 responses: @@ -29277,9 +28916,9 @@ paths: application/json: schema: type: array - items: *224 + items: *223 examples: - default: *225 + default: *224 '404': *6 '500': *99 "/orgs/{org}/bypass-requests/secret-scanning": @@ -29302,12 +28941,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *171 - - *226 + - *170 + - *225 + - *219 - *220 - *221 - *222 - - *223 - *17 - *19 responses: @@ -29317,7 +28956,7 @@ paths: application/json: schema: type: array - items: &445 + items: &443 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -29431,7 +29070,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *227 + items: *226 url: type: string format: uri @@ -29442,7 +29081,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &446 + default: &444 value: - id: 21 number: 42 @@ -29526,9 +29165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *171 + - *170 + - *227 - *228 - - *229 - *84 - *85 - *19 @@ -29539,7 +29178,7 @@ paths: be returned. in: query required: false - schema: *230 + schema: *229 - name: sort description: The property by which to sort the results. in: query @@ -29555,7 +29194,7 @@ paths: be returned. in: query required: false - schema: &457 + schema: &455 type: string description: Severity of a code scanning alert. enum: @@ -29573,9 +29212,9 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: - default: *232 + default: *231 headers: Link: *39 '404': *6 @@ -29601,7 +29240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *171 + - *170 - name: target_type in: query description: The target type of the code security configuration @@ -29712,7 +29351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *171 + - *170 requestBody: required: true content: @@ -29912,7 +29551,7 @@ paths: application/json: schema: *90 examples: - default: *233 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29934,15 +29573,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *234 + schema: *233 examples: - default: *235 + default: *234 '304': *37 '403': *29 '404': *6 @@ -29968,7 +29607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *171 + - *170 requestBody: required: true content: @@ -30017,7 +29656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *171 + - *170 - *92 responses: '200': @@ -30026,7 +29665,7 @@ paths: application/json: schema: *90 examples: - default: *233 + default: *232 '304': *37 '403': *29 '404': *6 @@ -30050,7 +29689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *171 + - *170 - *92 requestBody: required: true @@ -30285,7 +29924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *171 + - *170 - *92 responses: '204': *118 @@ -30316,7 +29955,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *171 + - *170 - *92 requestBody: required: true @@ -30380,7 +30019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *171 + - *170 - *92 requestBody: required: true @@ -30426,7 +30065,7 @@ paths: default: value: default_for_new_repos: all - configuration: *233 + configuration: *232 '403': *29 '404': *6 x-github: @@ -30450,7 +30089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *171 + - *170 - *92 - name: per_page description: The number of results per page (max 100). For more information, @@ -30479,13 +30118,13 @@ paths: application/json: schema: type: array - items: *236 + items: *235 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *237 + repository: *236 '403': *29 '404': *6 x-github: @@ -30509,7 +30148,7 @@ paths: parameters: - *17 - *19 - - *171 + - *170 responses: '200': description: Response @@ -30525,7 +30164,7 @@ paths: type: integer codespaces: type: array - items: &293 + items: &291 type: object title: Codespace description: A codespace. @@ -30550,12 +30189,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *197 + repository: *196 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &486 + properties: &484 name: type: string description: The name of the machine. @@ -30597,7 +30236,7 @@ paths: - ready - in_progress nullable: true - required: &487 + required: &485 - name - display_name - operating_system @@ -30802,7 +30441,7 @@ paths: - pulls_url - recent_folders examples: - default: &294 + default: &292 value: total_count: 3 codespaces: @@ -31234,7 +30873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *171 + - *170 deprecated: true requestBody: required: true @@ -31301,7 +30940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *171 + - *170 deprecated: true requestBody: required: true @@ -31356,7 +30995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *171 + - *170 requestBody: required: true content: @@ -31408,7 +31047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *171 + - *170 - *17 - *19 responses: @@ -31426,7 +31065,7 @@ paths: type: integer secrets: type: array - items: &238 + items: &237 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -31465,7 +31104,7 @@ paths: - updated_at - visibility examples: - default: &488 + default: &486 value: total_count: 2 secrets: @@ -31497,13 +31136,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: &489 + schema: &487 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -31532,7 +31171,7 @@ paths: - key_id - key examples: - default: &490 + default: &488 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31555,16 +31194,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '200': description: Response content: application/json: - schema: *238 + schema: *237 examples: - default: &492 + default: &490 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31591,8 +31230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -31647,7 +31286,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -31673,8 +31312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '204': description: Response @@ -31699,8 +31338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - *19 - *17 responses: @@ -31718,9 +31357,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: *211 + default: *210 '404': *6 x-github: githubCloudOnly: false @@ -31742,8 +31381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -31793,8 +31432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -31827,8 +31466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -31867,7 +31506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *171 + - *170 responses: '200': description: OK @@ -32008,7 +31647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *171 + - *170 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -32031,9 +31670,9 @@ paths: currently being billed. seats: type: array - items: *239 + items: *238 examples: - default: *240 + default: *239 headers: Link: *39 '500': *99 @@ -32069,7 +31708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *171 + - *170 requestBody: content: application/json: @@ -32147,7 +31786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *171 + - *170 requestBody: content: application/json: @@ -32227,7 +31866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *171 + - *170 requestBody: content: application/json: @@ -32304,7 +31943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *171 + - *170 requestBody: content: application/json: @@ -32385,7 +32024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *171 + - *170 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32429,75 +32068,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/copilot/usage": - get: - summary: Get a summary of Copilot usage for organization members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members - parameters: - - *171 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *137 - examples: - default: *241 - '500': *99 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/credential-authorizations": get: summary: List SAML SSO authorizations for an organization @@ -32514,7 +32084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *171 + - *170 - *17 - name: page description: Page token @@ -32658,7 +32228,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *171 + - *170 - name: credential_id in: path required: true @@ -32689,7 +32259,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *171 + - *170 responses: '200': description: Response - list of custom role names @@ -32704,7 +32274,7 @@ paths: type: integer custom_roles: type: array - items: *242 + items: *240 examples: default: value: @@ -32791,12 +32361,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *171 + - *170 requestBody: required: true content: application/json: - schema: &245 + schema: &243 type: object properties: name: @@ -32837,9 +32407,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '422': *15 '404': *6 x-github: @@ -32863,8 +32433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *171 - - &244 + - *170 + - &242 name: role_id description: The unique identifier of the role. in: path @@ -32876,9 +32446,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '404': *6 x-github: githubCloudOnly: true @@ -32900,13 +32470,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *171 - - *244 + - *170 + - *242 requestBody: required: true content: application/json: - schema: &246 + schema: &244 type: object properties: name: @@ -32944,9 +32514,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '422': *15 '404': *6 x-github: @@ -32970,8 +32540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '204': description: Response @@ -32999,12 +32569,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *171 + - *170 requestBody: required: true content: application/json: - schema: *245 + schema: *243 examples: default: value: @@ -33018,9 +32588,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '422': *15 '404': *6 x-github: @@ -33050,16 +32620,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '200': description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '404': *6 x-github: githubCloudOnly: true @@ -33087,13 +32657,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *171 - - *244 + - *170 + - *242 requestBody: required: true content: application/json: - schema: *246 + schema: *244 examples: default: value: @@ -33108,9 +32678,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '422': *15 '404': *6 x-github: @@ -33140,8 +32710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '204': description: Response @@ -33169,19 +32739,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *171 + - *170 + - *245 + - *246 - *247 - *248 - *249 - *250 - *251 - - *252 - - *253 - *86 - *84 - *85 - - *254 - - *255 + - *252 + - *253 - *17 responses: '200': @@ -33190,9 +32760,9 @@ paths: application/json: schema: type: array - items: *256 + items: *254 examples: - default: *257 + default: *255 '304': *37 '400': *14 '403': *29 @@ -33218,7 +32788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *171 + - *170 - *17 - *19 responses: @@ -33236,7 +32806,7 @@ paths: type: integer secrets: type: array - items: &258 + items: &256 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33307,13 +32877,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: &519 + schema: &517 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33330,7 +32900,7 @@ paths: - key_id - key examples: - default: &520 + default: &518 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33353,14 +32923,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '200': description: Response content: application/json: - schema: *258 + schema: *256 examples: default: value: @@ -33388,8 +32958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -33444,7 +33014,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -33468,8 +33038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '204': description: Response @@ -33493,8 +33063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - *19 - *17 responses: @@ -33512,9 +33082,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: *211 + default: *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33535,8 +33105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -33586,8 +33156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -33618,8 +33188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -33649,7 +33219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -33657,7 +33227,7 @@ paths: application/json: schema: type: array - items: &305 + items: &303 title: Package description: A software package type: object @@ -33707,8 +33277,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *259 - required: *260 + properties: *257 + required: *258 nullable: true created_at: type: string @@ -33727,7 +33297,7 @@ paths: - created_at - updated_at examples: - default: &306 + default: &304 value: - id: 197 name: hello_docker @@ -33805,7 +33375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *171 + - *170 - *17 - *19 responses: @@ -33815,7 +33385,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: 200-response: value: @@ -33885,7 +33455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *171 + - *170 - name: group_id description: The unique identifier of the group. in: path @@ -33911,7 +33481,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &368 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -33992,7 +33562,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &371 + default: &369 value: group_id: '123' group_name: Octocat admins @@ -34030,7 +33600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *171 + - *170 - *17 - name: page description: Page token @@ -34047,7 +33617,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &366 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34084,7 +33654,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &369 + default: &367 value: groups: - group_id: '123' @@ -34118,7 +33688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *171 + - *170 - *17 - *19 responses: @@ -34128,7 +33698,7 @@ paths: application/json: schema: type: array - items: &283 + items: &281 title: Organization Invitation description: Organization Invitation type: object @@ -34175,7 +33745,7 @@ paths: - invitation_teams_url - node_id examples: - default: &284 + default: &282 value: - id: 1 login: monalisa @@ -34234,7 +33804,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -34242,7 +33812,7 @@ paths: application/json: schema: type: array - items: &327 + items: &325 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -34256,7 +33826,7 @@ paths: - name - description examples: - default: &328 + default: &326 value: - name: add_assignee description: Assign or remove a user @@ -34287,7 +33857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *171 + - *170 - *17 - *19 responses: @@ -34297,7 +33867,7 @@ paths: application/json: schema: type: array - items: &261 + items: &259 title: Org Hook description: Org Hook type: object @@ -34406,7 +33976,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *171 + - *170 requestBody: required: true content: @@ -34466,9 +34036,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *259 examples: - default: &262 + default: &260 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -34512,8 +34082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *171 - - &263 + - *170 + - &261 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. @@ -34526,9 +34096,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *259 examples: - default: *262 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -34549,8 +34119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 requestBody: required: false content: @@ -34595,7 +34165,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *259 examples: default: value: @@ -34634,8 +34204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 responses: '204': description: Response @@ -34660,8 +34230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *171 - - *263 + - *170 + - *261 responses: '200': description: Response @@ -34689,8 +34259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *171 - - *263 + - *170 + - *261 requestBody: required: false content: @@ -34738,10 +34308,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 - *17 - - *264 + - *262 responses: '200': description: Response @@ -34749,9 +34319,9 @@ paths: application/json: schema: type: array - items: *265 + items: *263 examples: - default: *266 + default: *264 '400': *14 '422': *15 x-github: @@ -34774,17 +34344,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 - *16 responses: '200': description: Response content: application/json: - schema: *267 + schema: *265 examples: - default: *268 + default: *266 '400': *14 '422': *15 x-github: @@ -34807,8 +34377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 - *16 responses: '202': *95 @@ -34834,8 +34404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 responses: '204': description: Response @@ -34857,8 +34427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *171 - - &273 + - *170 + - &271 name: actor_type in: path description: The type of the actor @@ -34871,14 +34441,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &274 + - &272 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &269 + - &267 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`.' @@ -34886,7 +34456,7 @@ paths: required: true schema: type: string - - &270 + - &268 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) @@ -34979,13 +34549,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *171 - - *269 - - *270 + - *170 + - *267 + - *268 - *19 - *17 - *86 - - &279 + - &277 name: sort description: The property to sort the results by. in: query @@ -35063,15 +34633,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *171 - - *269 - - *270 + - *170 + - *267 + - *268 responses: '200': description: Response content: application/json: - schema: &271 + schema: &269 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -35087,7 +34657,7 @@ paths: type: integer format: int64 examples: - default: &272 + default: &270 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -35107,24 +34677,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *171 - - &275 + - *170 + - &273 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *269 - - *270 + - *267 + - *268 responses: '200': description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: enabledForGitHubApps: true category: orgs @@ -35142,19 +34712,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *171 - - *269 - - *270 - - *273 - - *274 + - *170 + - *267 + - *268 + - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: enabledForGitHubApps: true category: orgs @@ -35171,10 +34741,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *171 - - *269 - - *270 - - &276 + - *170 + - *267 + - *268 + - &274 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35187,7 +34757,7 @@ paths: description: Response content: application/json: - schema: &277 + schema: &275 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35203,7 +34773,7 @@ paths: type: integer format: int64 examples: - default: &278 + default: &276 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35239,19 +34809,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *171 - - *275 - - *269 - - *270 - - *276 + - *170 + - *273 + - *267 + - *268 + - *274 responses: '200': description: Response content: application/json: - schema: *277 + schema: *275 examples: - default: *278 + default: *276 x-github: enabledForGitHubApps: true category: orgs @@ -35268,20 +34838,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *171 - - *273 + - *170 + - *271 + - *272 + - *267 + - *268 - *274 - - *269 - - *270 - - *276 responses: '200': description: Response content: application/json: - schema: *277 + schema: *275 examples: - default: *278 + default: *276 x-github: enabledForGitHubApps: true category: orgs @@ -35298,14 +34868,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *171 - - *275 - - *269 - - *270 + - *170 + - *273 + - *267 + - *268 - *19 - *17 - *86 - - *279 + - *277 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -35378,7 +34948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *171 + - *170 responses: '200': description: Response @@ -35386,7 +34956,7 @@ paths: application/json: schema: *22 examples: - default: &558 + default: &556 value: id: 1 account: @@ -35455,7 +35025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -35544,7 +35114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -35552,12 +35122,12 @@ paths: application/json: schema: anyOf: - - &281 + - &279 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &280 + limit: &278 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -35582,7 +35152,7 @@ paths: properties: {} additionalProperties: false examples: - default: &282 + default: &280 value: limit: collaborators_only origin: organization @@ -35606,18 +35176,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: application/json: - schema: &559 + schema: &557 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *280 + limit: *278 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -35641,9 +35211,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: - default: *282 + default: *280 '422': *15 x-github: githubCloudOnly: false @@ -35661,7 +35231,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -35687,7 +35257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *171 + - *170 - *17 - *19 - name: role @@ -35721,9 +35291,9 @@ paths: application/json: schema: type: array - items: *283 + items: *281 examples: - default: *284 + default: *282 headers: Link: *39 '404': *6 @@ -35747,7 +35317,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *171 + - *170 requestBody: required: false content: @@ -35801,7 +35371,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *281 examples: default: value: @@ -35857,8 +35427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *171 - - &285 + - *170 + - &283 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35891,8 +35461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *171 - - *285 + - *170 + - *283 - *17 - *19 responses: @@ -35902,9 +35472,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: &304 + default: &302 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35939,7 +35509,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -35947,7 +35517,7 @@ paths: application/json: schema: type: array - items: *287 + items: *285 examples: default: value: @@ -35985,7 +35555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -36036,9 +35606,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *285 examples: - default: &288 + default: &286 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -36070,8 +35640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *171 - - &289 + - *170 + - &287 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -36128,9 +35698,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *285 examples: - default: *288 + default: *286 '404': *6 '422': *7 x-github: @@ -36154,8 +35724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *171 - - *289 + - *170 + - *287 responses: '204': description: Response @@ -36188,7 +35758,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *171 + - *170 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -36218,7 +35788,7 @@ paths: - closed - all default: open - - *290 + - *288 - name: type description: Can be the name of an issue type. in: query @@ -36237,7 +35807,7 @@ paths: - comments default: created - *86 - - *144 + - *143 - *17 - *19 responses: @@ -36247,9 +35817,9 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: *291 + default: *289 headers: Link: *39 '404': *6 @@ -36271,7 +35841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *171 + - *170 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -36307,7 +35877,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '422': *15 @@ -36327,8 +35897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response if requester is an organization member and user is @@ -36359,8 +35929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -36386,8 +35956,8 @@ paths: parameters: - *17 - *19 - - *171 - - *219 + - *170 + - *218 responses: '200': description: Response @@ -36403,9 +35973,9 @@ paths: type: integer codespaces: type: array - items: *293 + items: *291 examples: - default: *294 + default: *292 '304': *37 '500': *99 '401': *25 @@ -36430,9 +36000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *171 - - *219 - - &295 + - *170 + - *218 + - &293 name: codespace_name in: path required: true @@ -36465,17 +36035,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *171 - - *219 - - *295 + - *170 + - *218 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: &485 + default: &483 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36648,14 +36218,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *239 + schema: *238 examples: default: value: @@ -36723,14 +36293,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '200': description: Response content: application/json: - schema: &296 + schema: &294 title: Org Membership description: Org Membership type: object @@ -36782,7 +36352,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &297 + response-if-user-has-an-active-admin-membership-with-organization: &295 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36850,8 +36420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 requestBody: required: false content: @@ -36879,9 +36449,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *294 examples: - response-if-user-already-had-membership-with-organization: *297 + response-if-user-already-had-membership-with-organization: *295 '422': *15 '403': *29 x-github: @@ -36902,8 +36472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -36928,7 +36498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *171 + - *170 - *17 - *19 - name: exclude @@ -36949,7 +36519,7 @@ paths: application/json: schema: type: array - items: &298 + items: &296 title: Migration description: A migration. type: object @@ -37202,7 +36772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *171 + - *170 requestBody: required: true content: @@ -37278,7 +36848,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *296 examples: default: value: @@ -37456,8 +37026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *171 - - &299 + - *170 + - &297 name: migration_id description: The unique identifier of the migration. in: path @@ -37484,7 +37054,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *298 + schema: *296 examples: default: value: @@ -37653,8 +37223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *171 - - *299 + - *170 + - *297 responses: '302': description: Response @@ -37675,8 +37245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *171 - - *299 + - *170 + - *297 responses: '204': description: Response @@ -37699,9 +37269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *171 - - *299 - - &733 + - *170 + - *297 + - &731 name: repo_name description: repo_name parameter in: path @@ -37728,8 +37298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *171 - - *299 + - *170 + - *297 - *17 - *19 responses: @@ -37739,9 +37309,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: &311 + default: &309 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37880,7 +37450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -37934,7 +37504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response - list of organization roles @@ -37950,7 +37520,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &300 + items: &298 title: Organization Role description: Organization roles type: object @@ -38110,7 +37680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *171 + - *170 requestBody: required: true content: @@ -38157,7 +37727,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *298 examples: default: value: @@ -38208,8 +37778,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *171 - - *301 + - *170 + - &299 + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string responses: '204': description: Response @@ -38234,9 +37810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *171 - - *301 - - *244 + - *170 + - *299 + - *242 responses: '204': description: Response @@ -38265,9 +37841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *171 - - *301 - - *244 + - *170 + - *299 + - *242 responses: '204': description: Response @@ -38292,8 +37868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -38318,9 +37894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *171 - - *219 - - *244 + - *170 + - *218 + - *242 responses: '204': description: Response @@ -38350,9 +37926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *171 - - *219 - - *244 + - *170 + - *218 + - *242 responses: '204': description: Response @@ -38380,14 +37956,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '200': description: Response content: application/json: - schema: *300 + schema: *298 examples: default: value: @@ -38444,8 +38020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *171 - - *244 + - *170 + - *242 requestBody: required: true content: @@ -38484,7 +38060,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *298 examples: default: value: @@ -38537,8 +38113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '204': description: Response @@ -38563,8 +38139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *171 - - *244 + - *170 + - *242 - *17 - *19 responses: @@ -38642,8 +38218,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *302 - required: *303 + properties: *300 + required: *301 nullable: true required: - id @@ -38658,7 +38234,7 @@ paths: - slug - parent examples: - default: *304 + default: *302 headers: Link: *39 '404': @@ -38687,8 +38263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *171 - - *244 + - *170 + - *242 - *17 - *19 responses: @@ -38716,13 +38292,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &343 + items: &341 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *302 - required: *303 + properties: *300 + required: *301 name: nullable: true type: string @@ -38817,7 +38393,7 @@ paths: - type - url examples: - default: *292 + default: *290 headers: Link: *39 '404': @@ -38841,7 +38417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *171 + - *170 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38865,7 +38441,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -38890,8 +38466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *171 - - *219 + - *170 + - *218 requestBody: required: false content: @@ -38948,8 +38524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -39006,8 +38582,8 @@ paths: - docker - nuget - container - - *171 - - &735 + - *170 + - &733 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39043,12 +38619,12 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: *306 + default: *304 '403': *29 '401': *25 - '400': &737 + '400': &735 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39070,7 +38646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &307 + - &305 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 @@ -39088,20 +38664,20 @@ paths: - docker - nuget - container - - &308 + - &306 name: package_name description: The name of the package. in: path required: true schema: type: string - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *305 + schema: *303 examples: default: value: @@ -39153,9 +38729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *307 - - *308 - - *171 + - *305 + - *306 + - *170 responses: '204': description: Response @@ -39187,9 +38763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *307 - - *308 - - *171 + - *305 + - *306 + - *170 - name: token description: package token schema: @@ -39221,9 +38797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *307 - - *308 - - *171 + - *305 + - *306 + - *170 - *19 - *17 - name: state @@ -39243,7 +38819,7 @@ paths: application/json: schema: type: array - items: &309 + items: &307 title: Package Version description: A version of a software package type: object @@ -39368,10 +38944,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *307 - - *308 - - *171 - - &310 + - *305 + - *306 + - *170 + - &308 name: package_version_id description: Unique identifier of the package version. in: path @@ -39383,7 +38959,7 @@ paths: description: Response content: application/json: - schema: *309 + schema: *307 examples: default: value: @@ -39419,10 +38995,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *307 + - *305 + - *306 + - *170 - *308 - - *171 - - *310 responses: '204': description: Response @@ -39454,10 +39030,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *307 + - *305 + - *306 + - *170 - *308 - - *171 - - *310 responses: '204': description: Response @@ -39484,10 +39060,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *171 + - *170 - *17 - *19 - - &312 + - &310 name: sort description: The property by which to sort the results. in: query @@ -39498,7 +39074,7 @@ paths: - created_at default: created_at - *86 - - &313 + - &311 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -39509,7 +39085,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &314 + - &312 name: repository description: The name of the repository to use to filter the results. in: query @@ -39517,7 +39093,7 @@ paths: schema: type: string example: Hello-World - - &315 + - &313 name: permission description: The permission to use to filter the results. in: query @@ -39525,7 +39101,7 @@ paths: schema: type: string example: issues_read - - &316 + - &314 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) @@ -39535,7 +39111,7 @@ paths: schema: type: string format: date-time - - &317 + - &315 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) @@ -39545,7 +39121,7 @@ paths: schema: type: string format: date-time - - &318 + - &316 name: token_id description: The ID of the token in: query @@ -39709,7 +39285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *171 + - *170 requestBody: required: true content: @@ -39775,7 +39351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *171 + - *170 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39836,7 +39412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *171 + - *170 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39856,9 +39432,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -39881,17 +39457,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *171 + - *170 - *17 - *19 - - *312 + - *310 - *86 + - *311 + - *312 - *313 - *314 - *315 - *316 - - *317 - - *318 responses: '500': *99 '422': *15 @@ -40040,7 +39616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *171 + - *170 requestBody: required: true content: @@ -40100,7 +39676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *171 + - *170 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -40152,7 +39728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *171 + - *170 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -40171,9 +39747,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -40199,7 +39775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -40217,7 +39793,7 @@ paths: type: integer configurations: type: array - items: &319 + items: &317 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40293,7 +39869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -40423,7 +39999,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &320 + org-private-registry-with-selected-visibility: &318 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40466,7 +40042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -40516,16 +40092,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *171 - - *207 + - *170 + - *206 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *319 + schema: *317 examples: - default: *320 + default: *318 '404': *6 x-github: githubCloudOnly: false @@ -40548,8 +40124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -40628,8 +40204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *171 - - *207 + - *170 + - *206 responses: '204': description: Response @@ -40654,7 +40230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *171 + - *170 - name: state description: Indicates the state of the projects to return. in: query @@ -40675,7 +40251,7 @@ paths: application/json: schema: type: array - items: &321 + items: &319 title: Project description: Projects are a way to organize columns and cards of work. @@ -40822,7 +40398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *171 + - *170 requestBody: required: true content: @@ -40848,7 +40424,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: default: value: @@ -40886,7 +40462,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &386 + '410': &384 description: Gone content: application/json: @@ -40913,7 +40489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -40950,7 +40526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -41014,7 +40590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *171 + - *170 - *116 responses: '200': @@ -41046,13 +40622,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *171 + - *170 - *116 requestBody: required: true content: application/json: - schema: *322 + schema: *320 examples: default: value: @@ -41093,7 +40669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *171 + - *170 - *116 responses: '204': *118 @@ -41117,7 +40693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *171 + - *170 - *17 - *19 - name: repository_query @@ -41155,7 +40731,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &323 + items: &321 title: Custom Property Value description: Custom property name and associated value type: object @@ -41222,7 +40798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *171 + - *170 requestBody: required: true content: @@ -41242,7 +40818,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *323 + items: *321 required: - repository_names - properties @@ -41283,7 +40859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *171 + - *170 - *17 - *19 responses: @@ -41295,7 +40871,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -41314,8 +40890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response if user is a public member @@ -41339,8 +40915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -41361,8 +40937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -41386,7 +40962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *171 + - *170 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -41433,9 +41009,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -41456,7 +41032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *171 + - *170 requestBody: required: true content: @@ -41638,7 +41214,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &386 title: Full Repository description: Full Repository type: object @@ -41915,8 +41491,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *324 - required: *325 + properties: *322 + required: *323 nullable: true temp_clone_token: type: string @@ -42003,8 +41579,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true organization: title: Simple User @@ -42031,7 +41607,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &507 + properties: &505 url: type: string format: uri @@ -42047,12 +41623,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &508 + required: &506 - url - key - name - html_url - security_and_analysis: *326 + security_and_analysis: *324 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42136,7 +41712,7 @@ paths: - network_count - subscribers_count examples: - default: &390 + default: &388 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42654,7 +42230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -42662,9 +42238,9 @@ paths: application/json: schema: type: array - items: *327 + items: *325 examples: - default: *328 + default: *326 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42686,10 +42262,10 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 - *17 - *19 - - &647 + - &645 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42754,7 +42330,7 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 requestBody: description: Request body required: true @@ -42780,7 +42356,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *126 - conditions: *329 + conditions: *327 rules: type: array description: An array of rules within the ruleset. @@ -42824,7 +42400,7 @@ paths: application/json: schema: *128 examples: - default: &330 + default: &328 value: id: 21 name: super cool ruleset @@ -42878,8 +42454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *171 - - &648 + - *170 + - &646 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 @@ -42889,16 +42465,16 @@ paths: schema: type: string x-multi-segment: true - - *226 - - *222 - - &649 + - *225 + - *221 + - &647 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 - - &650 + - &648 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -42918,7 +42494,7 @@ paths: description: Response content: application/json: - schema: &651 + schema: &649 title: Rule Suites description: Response type: array @@ -42973,7 +42549,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &652 + default: &650 value: - id: 21 actor_id: 12 @@ -43016,8 +42592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *171 - - &653 + - *170 + - &651 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43033,7 +42609,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &652 title: Rule Suite description: Response type: object @@ -43132,7 +42708,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &655 + default: &653 value: id: 21 actor_id: 12 @@ -43193,7 +42769,7 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43207,7 +42783,7 @@ paths: application/json: schema: *128 examples: - default: *330 + default: *328 '404': *6 '500': *99 put: @@ -43225,7 +42801,7 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43256,7 +42832,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *126 - conditions: *329 + conditions: *327 rules: description: An array of rules within the ruleset. type: array @@ -43297,7 +42873,7 @@ paths: application/json: schema: *128 examples: - default: *330 + default: *328 '404': *6 '500': *99 delete: @@ -43315,7 +42891,7 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43338,7 +42914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *171 + - *170 - *17 - *19 - name: ruleset_id @@ -43356,7 +42932,7 @@ paths: type: array items: *131 examples: - default: *331 + default: *329 '404': *6 '500': *99 x-github: @@ -43375,7 +42951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *171 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43393,7 +42969,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *330 examples: default: value: @@ -43455,15 +43031,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *171 + - *170 + - *331 + - *332 - *333 - *334 - - *335 - - *336 - *86 - *19 - *17 - - &657 + - &655 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43473,7 +43049,7 @@ paths: required: false schema: type: string - - &658 + - &656 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43483,9 +43059,9 @@ paths: required: false schema: type: string + - *335 + - *336 - *337 - - *338 - - *339 responses: '200': description: Response @@ -43493,9 +43069,9 @@ paths: application/json: schema: type: array - items: *340 + items: *338 examples: - default: *341 + default: *339 headers: Link: *39 '404': *6 @@ -43521,7 +43097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *171 + - *170 - *86 - name: sort description: The property to sort the results by. @@ -43565,7 +43141,7 @@ paths: application/json: schema: type: array - items: &665 + items: &663 description: A repository security advisory. type: object properties: @@ -43785,7 +43361,7 @@ paths: login: type: string description: The username of the user credited. - type: *342 + type: *340 credits_detailed: type: array nullable: true @@ -43795,7 +43371,7 @@ paths: type: object properties: user: *4 - type: *342 + type: *340 state: type: string description: The state of the user's acceptance of the @@ -43819,7 +43395,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *286 + items: *284 private_fork: readOnly: true nullable: true @@ -43856,7 +43432,7 @@ paths: - private_fork additionalProperties: false examples: - default: &666 + default: &664 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44235,7 +43811,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *171 + - *170 responses: '200': description: Response @@ -44243,9 +43819,9 @@ paths: application/json: schema: type: array - items: *343 + items: *341 examples: - default: *304 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44268,8 +43844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '204': description: Response @@ -44294,8 +43870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '204': description: Response @@ -44324,15 +43900,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *344 + schema: *342 examples: - default: *345 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44356,7 +43932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -44364,9 +43940,9 @@ paths: description: Success content: application/json: - schema: *346 + schema: *344 examples: - default: *347 + default: *345 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44388,15 +43964,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44418,15 +43994,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *350 + schema: *348 examples: - default: *351 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44446,7 +44022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -44466,7 +44042,7 @@ paths: type: array items: *111 examples: - default: *352 + default: *350 headers: Link: *39 x-github: @@ -44487,7 +44063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -44551,7 +44127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *171 + - *170 - *113 responses: '200': @@ -44581,7 +44157,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *171 + - *170 - *113 requestBody: required: true @@ -44642,7 +44218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *171 + - *170 - *113 responses: '204': @@ -44666,16 +44242,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *171 - - *353 + - *170 + - *351 responses: '200': description: Response content: application/json: - schema: *354 + schema: *352 examples: - default: *355 + default: *353 headers: Link: *39 x-github: @@ -44694,7 +44270,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *171 + - *170 - *17 - name: page description: Page token @@ -44713,7 +44289,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &375 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -44759,7 +44335,7 @@ paths: type: string nullable: true examples: - default: &378 + default: &376 value: groups: - group_id: '123' @@ -44804,8 +44380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *171 - - *301 + - *170 + - *299 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -44849,79 +44425,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for a team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team - parameters: - - *171 - - *301 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *137 - examples: - default: *241 - '500': *99 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -44934,7 +44437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *171 + - *170 - *17 - *19 responses: @@ -44944,9 +44447,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 headers: Link: *39 '403': *29 @@ -44968,7 +44471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *171 + - *170 requestBody: required: true content: @@ -45040,7 +44543,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &354 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45103,8 +44606,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *302 - required: *303 + properties: *300 + required: *301 nullable: true members_count: type: integer @@ -45350,7 +44853,7 @@ paths: - repos_count - organization examples: - default: &357 + default: &355 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45420,16 +44923,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *171 - - *301 + - *170 + - *299 responses: '200': description: Response content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '404': *6 x-github: githubCloudOnly: false @@ -45450,8 +44953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *171 - - *301 + - *170 + - *299 requestBody: required: false content: @@ -45513,16 +45016,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '201': description: Response content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '404': *6 '422': *15 '403': *29 @@ -45547,8 +45050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '204': description: Response @@ -45574,8 +45077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *171 - - *301 + - *170 + - *299 - *86 - *17 - *19 @@ -45592,7 +45095,7 @@ paths: application/json: schema: type: array - items: &358 + items: &356 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45671,7 +45174,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *142 + reactions: *141 required: - author - body @@ -45691,7 +45194,7 @@ paths: - updated_at - url examples: - default: &706 + default: &704 value: - author: login: octocat @@ -45765,8 +45268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *171 - - *301 + - *170 + - *299 requestBody: required: true content: @@ -45800,9 +45303,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: &359 + default: &357 value: author: login: octocat @@ -45874,9 +45377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *171 - - *301 - - &360 + - *170 + - *299 + - &358 name: discussion_number description: The number that identifies the discussion. in: path @@ -45888,9 +45391,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *359 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45912,9 +45415,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 requestBody: required: false content: @@ -45937,9 +45440,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: &707 + default: &705 value: author: login: octocat @@ -46009,9 +45512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 responses: '204': description: Response @@ -46037,9 +45540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 - *86 - *17 - *19 @@ -46050,7 +45553,7 @@ paths: application/json: schema: type: array - items: &361 + items: &359 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46107,7 +45610,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *142 + reactions: *141 required: - author - body @@ -46122,7 +45625,7 @@ paths: - updated_at - url examples: - default: &708 + default: &706 value: - author: login: octocat @@ -46190,9 +45693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 requestBody: required: true content: @@ -46214,9 +45717,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: &362 + default: &360 value: author: login: octocat @@ -46282,10 +45785,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *171 - - *301 - - *360 - - &363 + - *170 + - *299 + - *358 + - &361 name: comment_number description: The number that identifies the comment. in: path @@ -46297,9 +45800,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: *362 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46321,10 +45824,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *171 - - *301 - - *360 - - *363 + - *170 + - *299 + - *358 + - *361 requestBody: required: true content: @@ -46346,9 +45849,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: &709 + default: &707 value: author: login: octocat @@ -46412,10 +45915,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *171 - - *301 - - *360 - - *363 + - *170 + - *299 + - *358 + - *361 responses: '204': description: Response @@ -46441,10 +45944,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *171 - - *301 - - *360 - - *363 + - *170 + - *299 + - *358 + - *361 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -46470,7 +45973,7 @@ paths: application/json: schema: type: array - items: &364 + items: &362 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46513,7 +46016,7 @@ paths: - content - created_at examples: - default: &366 + default: &364 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46563,10 +46066,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *171 - - *301 - - *360 - - *363 + - *170 + - *299 + - *358 + - *361 requestBody: required: true content: @@ -46599,9 +46102,9 @@ paths: team discussion comment content: application/json: - schema: *364 + schema: *362 examples: - default: &365 + default: &363 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46630,9 +46133,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46655,11 +46158,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *171 - - *301 - - *360 - - *363 - - &367 + - *170 + - *299 + - *358 + - *361 + - &365 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46691,9 +46194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -46719,9 +46222,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 x-github: @@ -46747,9 +46250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 requestBody: required: true content: @@ -46781,16 +46284,16 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46813,10 +46316,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *171 - - *301 - - *360 - - *367 + - *170 + - *299 + - *358 + - *365 responses: '204': description: Response @@ -46839,16 +46342,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '200': description: Response content: application/json: - schema: *368 + schema: *366 examples: - default: *369 + default: *367 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46867,8 +46370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *171 - - *301 + - *170 + - *299 requestBody: required: true content: @@ -46891,9 +46394,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *368 examples: - default: *371 + default: *369 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46912,8 +46415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '204': description: Response @@ -46937,8 +46440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *171 - - *301 + - *170 + - *299 - *17 - *19 responses: @@ -46948,9 +46451,9 @@ paths: application/json: schema: type: array - items: *283 + items: *281 examples: - default: *284 + default: *282 headers: Link: *39 x-github: @@ -46972,8 +46475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *171 - - *301 + - *170 + - *299 - name: role description: Filters members returned by their role in the team. in: query @@ -46996,7 +46499,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -47026,15 +46529,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *171 - - *301 - - *219 + - *170 + - *299 + - *218 responses: '200': description: Response content: application/json: - schema: &372 + schema: &370 title: Team Membership description: Team Membership type: object @@ -47061,7 +46564,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &710 + response-if-user-is-a-team-maintainer: &708 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47097,9 +46600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *171 - - *301 - - *219 + - *170 + - *299 + - *218 requestBody: required: false content: @@ -47124,9 +46627,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *370 examples: - response-if-users-membership-with-team-is-now-pending: &711 + response-if-users-membership-with-team-is-now-pending: &709 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47161,9 +46664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *171 - - *301 - - *219 + - *170 + - *299 + - *218 responses: '204': description: Response @@ -47188,8 +46691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *171 - - *301 + - *170 + - *299 - *17 - *19 responses: @@ -47199,7 +46702,7 @@ paths: application/json: schema: type: array - items: &373 + items: &371 title: Team Project description: A team's access to a project. type: object @@ -47267,7 +46770,7 @@ paths: - updated_at - permissions examples: - default: &712 + default: &710 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47330,9 +46833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *171 - - *301 - - &374 + - *170 + - *299 + - &372 name: project_id description: The unique identifier of the project. in: path @@ -47344,9 +46847,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *371 examples: - default: &713 + default: &711 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47408,9 +46911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *171 - - *301 - - *374 + - *170 + - *299 + - *372 requestBody: required: false content: @@ -47476,9 +46979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *171 - - *301 - - *374 + - *170 + - *299 + - *372 responses: '204': description: Response @@ -47505,8 +47008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *171 - - *301 + - *170 + - *299 - *17 - *19 responses: @@ -47516,9 +47019,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -47547,16 +47050,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *171 - - *301 - - *375 - - *376 + - *170 + - *299 + - *373 + - *374 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &714 + schema: &712 title: Team Repository description: A team's access to a repository. type: object @@ -47579,8 +47082,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true forks: type: integer @@ -48125,10 +47628,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *171 - - *301 - - *375 - - *376 + - *170 + - *299 + - *373 + - *374 requestBody: required: false content: @@ -48173,10 +47676,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *171 - - *301 - - *375 - - *376 + - *170 + - *299 + - *373 + - *374 responses: '204': description: Response @@ -48202,16 +47705,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '200': description: Response content: application/json: - schema: *377 + schema: *375 examples: - default: *378 + default: *376 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48233,8 +47736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *171 - - *301 + - *170 + - *299 requestBody: required: true content: @@ -48277,7 +47780,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *375 examples: default: value: @@ -48309,8 +47812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *171 - - *301 + - *170 + - *299 - *17 - *19 responses: @@ -48320,9 +47823,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - response-if-child-teams-exist: &715 + response-if-child-teams-exist: &713 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48375,7 +47878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *171 + - *170 - name: security_product in: path description: The security feature to enable or disable. @@ -48449,7 +47952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &379 + - &377 name: card_id description: The unique identifier of the card. in: path @@ -48461,7 +47964,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &378 title: Project Card description: Project cards represent a scope of work. type: object @@ -48528,7 +48031,7 @@ paths: - created_at - updated_at examples: - default: &381 + default: &379 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -48584,7 +48087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *379 + - *377 requestBody: required: false content: @@ -48611,9 +48114,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 '304': *37 '403': *29 '401': *25 @@ -48640,7 +48143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *379 + - *377 responses: '204': description: Response @@ -48684,7 +48187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *379 + - *377 requestBody: required: true content: @@ -48795,7 +48298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &382 + - &380 name: column_id description: The unique identifier of the column. in: path @@ -48807,7 +48310,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &381 title: Project Column description: Project columns contain cards of work. type: object @@ -48853,7 +48356,7 @@ paths: - created_at - updated_at examples: - default: &384 + default: &382 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48888,7 +48391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *382 + - *380 requestBody: required: true content: @@ -48912,9 +48415,9 @@ paths: description: Response content: application/json: - schema: *383 + schema: *381 examples: - default: *384 + default: *382 '304': *37 '403': *29 '401': *25 @@ -48939,7 +48442,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *382 + - *380 responses: '204': description: Response @@ -48968,7 +48471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *382 + - *380 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -48989,7 +48492,7 @@ paths: application/json: schema: type: array - items: *380 + items: *378 examples: default: value: @@ -49048,7 +48551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *382 + - *380 requestBody: required: true content: @@ -49088,9 +48591,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 '304': *37 '403': *29 '401': *25 @@ -49100,8 +48603,8 @@ paths: application/json: schema: oneOf: + - *179 - *180 - - *181 '503': description: Response content: @@ -49146,7 +48649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *382 + - *380 requestBody: required: true content: @@ -49206,15 +48709,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *374 + - *372 responses: '200': description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: &385 + default: &383 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -49271,7 +48774,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *374 + - *372 requestBody: required: false content: @@ -49317,9 +48820,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: *385 + default: *383 '404': description: Not Found if the authenticated user does not have access to the project @@ -49340,7 +48843,7 @@ paths: items: type: string '401': *25 - '410': *386 + '410': *384 '422': *7 x-github: githubCloudOnly: false @@ -49363,7 +48866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *374 + - *372 responses: '204': description: Delete Success @@ -49384,7 +48887,7 @@ paths: items: type: string '401': *25 - '410': *386 + '410': *384 '404': *6 x-github: githubCloudOnly: false @@ -49408,7 +48911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *374 + - *372 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -49435,7 +48938,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '404': *6 @@ -49465,8 +48968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *374 - - *219 + - *372 + - *218 requestBody: required: false content: @@ -49518,8 +49021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *374 - - *219 + - *372 + - *218 responses: '204': description: Response @@ -49550,8 +49053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *374 - - *219 + - *372 + - *218 responses: '200': description: Response @@ -49624,7 +49127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *374 + - *372 - *17 - *19 responses: @@ -49634,7 +49137,7 @@ paths: application/json: schema: type: array - items: *383 + items: *381 examples: default: value: @@ -49672,7 +49175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *374 + - *372 requestBody: required: true content: @@ -49695,7 +49198,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *381 examples: default: value: @@ -49759,7 +49262,7 @@ paths: resources: type: object properties: - core: &387 + core: &385 title: Rate Limit type: object properties: @@ -49776,20 +49279,20 @@ paths: - remaining - reset - used - graphql: *387 - search: *387 - code_search: *387 - source_import: *387 - integration_manifest: *387 - code_scanning_upload: *387 - actions_runner_registration: *387 - scim: *387 - dependency_snapshots: *387 - code_scanning_autofix: *387 + graphql: *385 + search: *385 + code_search: *385 + source_import: *385 + integration_manifest: *385 + code_scanning_upload: *385 + actions_runner_registration: *385 + scim: *385 + dependency_snapshots: *385 + code_scanning_autofix: *385 required: - core - search - rate: *387 + rate: *385 required: - rate - resources @@ -49893,14 +49396,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *388 + schema: *386 examples: default-response: summary: Default response @@ -50405,7 +49908,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *389 + '301': *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50423,8 +49926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -50670,10 +50173,10 @@ paths: description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 - '307': &391 + default: *388 + '307': &389 description: Temporary Redirect content: application/json: @@ -50702,8 +50205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -50725,7 +50228,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *391 + '307': *389 '404': *6 x-github: githubCloudOnly: false @@ -50748,11 +50251,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 - - &406 + - &404 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50775,7 +50278,7 @@ paths: type: integer artifacts: type: array - items: &392 + items: &390 title: Artifact description: An artifact type: object @@ -50853,7 +50356,7 @@ paths: - expires_at - updated_at examples: - default: &407 + default: &405 value: total_count: 2 artifacts: @@ -50914,9 +50417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *375 - - *376 - - &393 + - *373 + - *374 + - &391 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50928,7 +50431,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *390 examples: default: value: @@ -50966,9 +50469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *375 - - *376 - - *393 + - *373 + - *374 + - *391 responses: '204': description: Response @@ -50992,9 +50495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *375 - - *376 - - *393 + - *373 + - *374 + - *391 - name: archive_format in: path required: true @@ -51008,7 +50511,7 @@ paths: 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': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51031,14 +50534,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *394 + schema: *392 examples: default: value: @@ -51064,11 +50567,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 - - &395 + - &393 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 @@ -51102,7 +50605,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &394 title: Repository actions caches description: Repository actions caches type: object @@ -51144,7 +50647,7 @@ paths: - total_count - actions_caches examples: - default: &397 + default: &395 value: total_count: 1 actions_caches: @@ -51176,23 +50679,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *375 - - *376 + - *373 + - *374 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *395 + - *393 responses: '200': description: Response content: application/json: - schema: *396 + schema: *394 examples: - default: *397 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51212,8 +50715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *375 - - *376 + - *373 + - *374 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51244,9 +50747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *375 - - *376 - - &398 + - *373 + - *374 + - &396 name: job_id description: The unique identifier of the job. in: path @@ -51258,7 +50761,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &408 title: Job description: Information of a job execution in a workflow run type: object @@ -51565,9 +51068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *375 - - *376 - - *398 + - *373 + - *374 + - *396 responses: '302': description: Response @@ -51595,9 +51098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *375 - - *376 - - *398 + - *373 + - *374 + - *396 requestBody: required: false content: @@ -51618,7 +51121,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -51642,8 +51145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Status response @@ -51693,8 +51196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -51728,7 +51231,7 @@ paths: description: Empty response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -51757,8 +51260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -51776,7 +51279,7 @@ paths: type: integer secrets: type: array - items: &412 + items: &410 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51796,7 +51299,7 @@ paths: - created_at - updated_at examples: - default: &413 + default: &411 value: total_count: 2 secrets: @@ -51829,9 +51332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *375 - - *376 - - *399 + - *373 + - *374 + - *397 - *19 responses: '200': @@ -51848,7 +51351,7 @@ paths: type: integer variables: type: array - items: &416 + items: &414 title: Actions Variable type: object properties: @@ -51878,7 +51381,7 @@ paths: - created_at - updated_at examples: - default: &417 + default: &415 value: total_count: 2 variables: @@ -51911,8 +51414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -51921,11 +51424,11 @@ paths: schema: type: object properties: - enabled: &400 + enabled: &398 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *48 - selected_actions_url: *190 + selected_actions_url: *189 required: - enabled examples: @@ -51954,8 +51457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -51966,7 +51469,7 @@ paths: schema: type: object properties: - enabled: *400 + enabled: *398 allowed_actions: *48 required: - enabled @@ -51997,14 +51500,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: &401 + schema: &399 type: object properties: access_level: @@ -52022,7 +51525,7 @@ paths: required: - access_level examples: - default: &402 + default: &400 value: access_level: organization x-github: @@ -52047,15 +51550,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: application/json: - schema: *401 + schema: *399 examples: - default: *402 + default: *400 responses: '204': description: Response @@ -52079,8 +51582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -52111,8 +51614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -52144,14 +51647,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: default: *54 x-github: @@ -52174,8 +51677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Success response @@ -52186,7 +51689,7 @@ paths: required: true content: application/json: - schema: *194 + schema: *193 examples: default: *54 x-github: @@ -52215,8 +51718,8 @@ paths: in: query schema: type: string - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -52260,8 +51763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -52269,9 +51772,9 @@ paths: application/json: schema: type: array - items: *198 + items: *197 examples: - default: *199 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52293,8 +51796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -52337,7 +51840,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *200 + '201': *199 '404': *6 '422': *7 '409': *94 @@ -52368,8 +51871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '201': description: Response @@ -52377,7 +51880,7 @@ paths: application/json: schema: *64 examples: - default: *201 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52405,8 +51908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '201': description: Response @@ -52414,7 +51917,7 @@ paths: application/json: schema: *64 examples: - default: *202 + default: *201 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52436,8 +51939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 responses: '200': @@ -52446,7 +51949,7 @@ paths: application/json: schema: *61 examples: - default: *203 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52467,8 +51970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 responses: '204': @@ -52494,8 +51997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 responses: '200': *66 @@ -52520,8 +52023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 requestBody: required: true @@ -52570,8 +52073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 requestBody: required: true @@ -52621,11 +52124,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 responses: - '200': *204 + '200': *203 '404': *6 x-github: githubCloudOnly: false @@ -52652,10 +52155,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 - - *205 + - *204 responses: '200': *66 '404': *6 @@ -52683,9 +52186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *375 - - *376 - - &420 + - *373 + - *374 + - &418 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. @@ -52693,7 +52196,7 @@ paths: required: false schema: type: string - - &421 + - &419 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52701,7 +52204,7 @@ paths: required: false schema: type: string - - &422 + - &420 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52710,7 +52213,7 @@ paths: required: false schema: type: string - - &423 + - &421 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 @@ -52737,7 +52240,7 @@ paths: - pending - *17 - *19 - - &424 + - &422 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/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52746,7 +52249,7 @@ paths: schema: type: string format: date-time - - &403 + - &401 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52755,13 +52258,13 @@ paths: schema: type: boolean default: false - - &425 + - &423 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &426 + - &424 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52784,7 +52287,7 @@ paths: type: integer workflow_runs: type: array - items: &404 + items: &402 title: Workflow Run description: An invocation of a workflow type: object @@ -52879,7 +52382,7 @@ paths: that triggered the run. type: array nullable: true - items: &447 + items: &445 title: Pull Request Minimal type: object properties: @@ -52998,7 +52501,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &451 + properties: &449 id: type: string description: SHA for the commit @@ -53049,7 +52552,7 @@ paths: - name - email nullable: true - required: &452 + required: &450 - id - tree_id - message @@ -53057,8 +52560,8 @@ paths: - author - committer nullable: true - repository: *197 - head_repository: *197 + repository: *196 + head_repository: *196 head_repository_id: type: integer example: 5 @@ -53096,7 +52599,7 @@ paths: - workflow_url - pull_requests examples: - default: &427 + default: &425 value: total_count: 1 workflow_runs: @@ -53332,24 +52835,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *375 - - *376 - - &405 + - *373 + - *374 + - &403 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *403 + - *401 responses: '200': description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: &408 + default: &406 value: id: 30433642 name: Build @@ -53590,9 +53093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '204': description: Response @@ -53615,9 +53118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '200': description: Response @@ -53736,15 +53239,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '201': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -53771,12 +53274,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 - *17 - *19 - - *406 + - *404 responses: '200': description: Response @@ -53792,9 +53295,9 @@ paths: type: integer artifacts: type: array - items: *392 + items: *390 examples: - default: *407 + default: *405 headers: Link: *39 x-github: @@ -53818,25 +53321,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *375 - - *376 - - *405 - - &409 + - *373 + - *374 + - *403 + - &407 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *403 + - *401 responses: '200': description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: *408 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53859,10 +53362,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *375 - - *376 - - *405 - - *409 + - *373 + - *374 + - *403 + - *407 - *17 - *19 responses: @@ -53880,9 +53383,9 @@ paths: type: integer jobs: type: array - items: *410 + items: *408 examples: - default: &411 + default: &409 value: total_count: 1 jobs: @@ -53995,10 +53498,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *375 - - *376 - - *405 - - *409 + - *373 + - *374 + - *403 + - *407 responses: '302': description: Response @@ -54026,15 +53529,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '202': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -54061,9 +53564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 requestBody: required: true content: @@ -54130,15 +53633,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '202': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -54165,9 +53668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 - 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 @@ -54197,9 +53700,9 @@ paths: type: integer jobs: type: array - items: *410 + items: *408 examples: - default: *411 + default: *409 headers: Link: *39 x-github: @@ -54224,9 +53727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '302': description: Response @@ -54253,9 +53756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '204': description: Response @@ -54282,9 +53785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '200': description: Response @@ -54344,7 +53847,7 @@ paths: items: type: object properties: - type: &528 + type: &526 type: string description: The type of reviewer. enum: @@ -54354,7 +53857,7 @@ paths: reviewer: anyOf: - *4 - - *286 + - *284 required: - environment - wait_timer @@ -54429,9 +53932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 requestBody: required: true content: @@ -54478,7 +53981,7 @@ paths: application/json: schema: type: array - items: &523 + items: &521 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54566,8 +54069,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 required: - id - node_id @@ -54584,7 +54087,7 @@ paths: - created_at - updated_at examples: - default: &524 + default: &522 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54640,9 +54143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 requestBody: required: false content: @@ -54663,7 +54166,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -54686,9 +54189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 requestBody: required: false content: @@ -54709,7 +54212,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -54742,9 +54245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '200': description: Response @@ -54881,8 +54384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -54900,9 +54403,9 @@ paths: type: integer secrets: type: array - items: *412 + items: *410 examples: - default: *413 + default: *411 headers: Link: *39 x-github: @@ -54927,16 +54430,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *414 + schema: *412 examples: - default: *415 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54958,17 +54461,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '200': description: Response content: application/json: - schema: *412 + schema: *410 examples: - default: &541 + default: &539 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54994,9 +54497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 requestBody: required: true content: @@ -55027,7 +54530,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -55053,9 +54556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '204': description: Response @@ -55080,9 +54583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *375 - - *376 - - *399 + - *373 + - *374 + - *397 - *19 responses: '200': @@ -55099,9 +54602,9 @@ paths: type: integer variables: type: array - items: *416 + items: *414 examples: - default: *417 + default: *415 headers: Link: *39 x-github: @@ -55124,8 +54627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -55152,7 +54655,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -55177,17 +54680,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *375 - - *376 - - *210 + - *373 + - *374 + - *209 responses: '200': description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: &542 + default: &540 value: name: USERNAME value: octocat @@ -55213,9 +54716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *375 - - *376 - - *210 + - *373 + - *374 + - *209 requestBody: required: true content: @@ -55257,9 +54760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *375 - - *376 - - *210 + - *373 + - *374 + - *209 responses: '204': description: Response @@ -55284,8 +54787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -55303,7 +54806,7 @@ paths: type: integer workflows: type: array - items: &418 + items: &416 title: Workflow description: A GitHub Actions workflow type: object @@ -55410,9 +54913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *375 - - *376 - - &419 + - *373 + - *374 + - &417 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55427,7 +54930,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *416 examples: default: value: @@ -55460,9 +54963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *375 - - *376 - - *419 + - *373 + - *374 + - *417 responses: '204': description: Response @@ -55487,9 +54990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *375 - - *376 - - *419 + - *373 + - *374 + - *417 responses: '204': description: Response @@ -55540,9 +55043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *375 - - *376 - - *419 + - *373 + - *374 + - *417 responses: '204': description: Response @@ -55569,19 +55072,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *375 - - *376 + - *373 + - *374 + - *417 + - *418 - *419 - *420 - *421 - - *422 - - *423 - *17 - *19 + - *422 + - *401 + - *423 - *424 - - *403 - - *425 - - *426 responses: '200': description: Response @@ -55597,9 +55100,9 @@ paths: type: integer workflow_runs: type: array - items: *404 + items: *402 examples: - default: *427 + default: *425 headers: Link: *39 x-github: @@ -55632,9 +55135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *375 - - *376 - - *419 + - *373 + - *374 + - *417 responses: '200': description: Response @@ -55695,8 +55198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *375 - - *376 + - *373 + - *374 - *86 - *17 - *84 @@ -55860,8 +55363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -55873,7 +55376,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '404': *6 @@ -55898,8 +55401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *375 - - *376 + - *373 + - *374 - name: assignee in: path required: true @@ -55935,8 +55438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -56048,8 +55551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *84 - *85 @@ -56103,7 +55606,7 @@ paths: bundle_url: type: string examples: - default: *428 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56123,8 +55626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -56132,7 +55635,7 @@ paths: application/json: schema: type: array - items: &429 + items: &427 title: Autolink reference description: An autolink reference. type: object @@ -56182,8 +55685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -56222,9 +55725,9 @@ paths: description: response content: application/json: - schema: *429 + schema: *427 examples: - default: &430 + default: &428 value: id: 1 key_prefix: TICKET- @@ -56255,9 +55758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *375 - - *376 - - &431 + - *373 + - *374 + - &429 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56269,9 +55772,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *427 examples: - default: *430 + default: *428 '404': *6 x-github: githubCloudOnly: false @@ -56291,9 +55794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *375 - - *376 - - *431 + - *373 + - *374 + - *429 responses: '204': description: Response @@ -56317,8 +55820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response if Dependabot is enabled @@ -56366,8 +55869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -56388,8 +55891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -56409,8 +55912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *375 - - *376 + - *373 + - *374 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56448,7 +55951,7 @@ paths: - url protected: type: boolean - protection: &433 + protection: &431 title: Branch Protection description: Branch Protection type: object @@ -56490,7 +55993,7 @@ paths: required: - contexts - checks - enforce_admins: &436 + enforce_admins: &434 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +56008,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &438 + required_pull_request_reviews: &436 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56526,7 +56029,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *286 + items: *284 apps: description: The list of apps with review dismissal access. @@ -56555,7 +56058,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *286 + items: *284 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56581,7 +56084,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &435 + restrictions: &433 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56888,9 +56391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *375 - - *376 - - &434 + - *373 + - *374 + - &432 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/enterprise-cloud@latest//graphql). @@ -56904,14 +56407,14 @@ paths: description: Response content: application/json: - schema: &444 + schema: &442 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &496 + commit: &494 title: Commit description: Commit type: object @@ -56945,7 +56448,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &432 + properties: &430 name: type: string example: '"Chris Wanstrath"' @@ -56960,7 +56463,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *432 + properties: *430 nullable: true message: type: string @@ -56981,7 +56484,7 @@ paths: required: - sha - url - verification: &548 + verification: &546 title: Verification type: object properties: @@ -57015,12 +56518,12 @@ paths: nullable: true oneOf: - *4 - - *208 + - *207 committer: nullable: true oneOf: - *4 - - *208 + - *207 parents: type: array items: @@ -57051,7 +56554,7 @@ paths: type: integer files: type: array - items: &511 + items: &509 title: Diff Entry description: Diff Entry type: object @@ -57134,7 +56637,7 @@ paths: - self protected: type: boolean - protection: *433 + protection: *431 protection_url: type: string format: uri @@ -57241,7 +56744,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *389 + '301': *387 '404': *6 x-github: githubCloudOnly: false @@ -57263,15 +56766,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *433 + schema: *431 examples: default: value: @@ -57465,9 +56968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -57722,7 +57225,7 @@ paths: url: type: string format: uri - required_status_checks: &441 + required_status_checks: &439 title: Status Check Policy description: Status Check Policy type: object @@ -57798,7 +57301,7 @@ paths: items: *4 teams: type: array - items: *286 + items: *284 apps: type: array items: *5 @@ -57816,7 +57319,7 @@ paths: items: *4 teams: type: array - items: *286 + items: *284 apps: type: array items: *5 @@ -57874,7 +57377,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *435 + restrictions: *433 required_conversation_resolution: type: object properties: @@ -57986,9 +57489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58013,17 +57516,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *436 + schema: *434 examples: - default: &437 + default: &435 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58045,17 +57548,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *436 + schema: *434 examples: - default: *437 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58074,9 +57577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58101,17 +57604,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *438 + schema: *436 examples: - default: &439 + default: &437 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58207,9 +57710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -58307,9 +57810,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *436 examples: - default: *439 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -58330,9 +57833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58359,17 +57862,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *436 + schema: *434 examples: - default: &440 + default: &438 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58392,17 +57895,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *436 + schema: *434 examples: - default: *440 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -58422,9 +57925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58449,17 +57952,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *441 + schema: *439 examples: - default: &442 + default: &440 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58485,9 +57988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -58539,9 +58042,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *439 examples: - default: *442 + default: *440 '404': *6 '422': *15 x-github: @@ -58563,9 +58066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58589,9 +58092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response @@ -58625,9 +58128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -58694,9 +58197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -58760,9 +58263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: content: application/json: @@ -58828,15 +58331,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *435 + schema: *433 examples: default: value: @@ -58927,9 +58430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58952,9 +58455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response @@ -58964,7 +58467,7 @@ paths: type: array items: *5 examples: - default: &443 + default: &441 value: - id: 1 slug: octoapp @@ -59021,9 +58524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59057,7 +58560,7 @@ paths: type: array items: *5 examples: - default: *443 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -59078,9 +58581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59114,7 +58617,7 @@ paths: type: array items: *5 examples: - default: *443 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -59135,9 +58638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59171,7 +58674,7 @@ paths: type: array items: *5 examples: - default: *443 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -59193,9 +58696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response @@ -59203,9 +58706,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 '404': *6 x-github: githubCloudOnly: false @@ -59225,9 +58728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -59263,9 +58766,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -59286,9 +58789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -59324,9 +58827,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -59347,9 +58850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: content: application/json: @@ -59384,9 +58887,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -59408,9 +58911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response @@ -59420,7 +58923,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -59444,9 +58947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59479,7 +58982,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '422': *15 x-github: githubCloudOnly: false @@ -59504,9 +59007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59539,7 +59042,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '422': *15 x-github: githubCloudOnly: false @@ -59564,9 +59067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59599,7 +59102,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '422': *15 x-github: githubCloudOnly: false @@ -59626,9 +59129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59650,7 +59153,7 @@ paths: description: Response content: application/json: - schema: *444 + schema: *442 examples: default: value: @@ -59764,12 +59267,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *375 - - *376 + - *373 + - *374 + - *219 - *220 - *221 - *222 - - *223 - *17 - *19 responses: @@ -59779,9 +59282,9 @@ paths: application/json: schema: type: array - items: *224 + items: *223 examples: - default: *225 + default: *224 '404': *6 '500': *99 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -59801,8 +59304,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *375 - - *376 + - *373 + - *374 - name: bypass_request_number in: path required: true @@ -59816,7 +59319,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *223 examples: default: value: @@ -59875,12 +59378,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *375 - - *376 + - *373 + - *374 + - *219 - *220 - *221 - *222 - - *223 - *17 - *19 responses: @@ -59890,9 +59393,9 @@ paths: application/json: schema: type: array - items: *445 + items: *443 examples: - default: *446 + default: *444 '404': *6 '403': *29 '500': *99 @@ -59916,8 +59419,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *375 - - *376 + - *373 + - *374 - name: bypass_request_number in: path required: true @@ -59929,7 +59432,7 @@ paths: description: A single bypass request. content: application/json: - schema: *445 + schema: *443 examples: default: value: @@ -59987,8 +59490,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *375 - - *376 + - *373 + - *374 - name: bypass_request_number in: path required: true @@ -60059,8 +59562,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *375 - - *376 + - *373 + - *374 - name: bypass_response_id in: path required: true @@ -60093,8 +59596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -60373,7 +59876,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &446 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60484,16 +59987,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *447 - deployment: &766 + items: *445 + deployment: &764 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60560,8 +60063,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 required: - id - node_id @@ -60773,9 +60276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *375 - - *376 - - &449 + - *373 + - *374 + - &447 name: check_run_id description: The unique identifier of the check run. in: path @@ -60787,9 +60290,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: &450 + default: &448 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60889,9 +60392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *375 - - *376 - - *449 + - *373 + - *374 + - *447 requestBody: required: true content: @@ -61131,9 +60634,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: *450 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61153,9 +60656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *375 - - *376 - - *449 + - *373 + - *374 + - *447 - *17 - *19 responses: @@ -61252,15 +60755,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *375 - - *376 - - *449 + - *373 + - *374 + - *447 responses: '201': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -61298,8 +60801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -61321,7 +60824,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &453 + schema: &451 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61385,7 +60888,7 @@ paths: nullable: true pull_requests: type: array - items: *447 + items: *445 nullable: true app: title: GitHub app @@ -61396,9 +60899,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - repository: *197 + properties: *138 + required: *139 + repository: *196 created_at: type: string format: date-time @@ -61407,12 +60910,12 @@ paths: type: string format: date-time nullable: true - head_commit: &792 + head_commit: &790 title: Simple Commit description: A commit. type: object - properties: *451 - required: *452 + properties: *449 + required: *450 latest_check_runs_count: type: integer check_runs_url: @@ -61440,7 +60943,7 @@ paths: - check_runs_url - pull_requests examples: - default: &454 + default: &452 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61731,9 +61234,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *453 + schema: *451 examples: - default: *454 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61752,8 +61255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -61814,7 +61317,7 @@ paths: required: - app_id - setting - repository: *197 + repository: *196 examples: default: value: @@ -62062,9 +61565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *375 - - *376 - - &455 + - *373 + - *374 + - &453 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62076,9 +61579,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *451 examples: - default: *454 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62101,17 +61604,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *375 - - *376 - - *455 - - &504 + - *373 + - *374 + - *453 + - &502 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &505 + - &503 name: status description: Returns check runs with the specified `status`. in: query @@ -62150,9 +61653,9 @@ paths: type: integer check_runs: type: array - items: *448 + items: *446 examples: - default: &506 + default: &504 value: total_count: 1 check_runs: @@ -62254,15 +61757,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *375 - - *376 - - *455 + - *373 + - *374 + - *453 responses: '201': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -62289,21 +61792,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 + - *227 - *228 - - *229 - *19 - *17 - - &471 + - &469 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: *456 - - &472 + schema: *454 + - &470 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62328,13 +61831,13 @@ paths: be returned. in: query required: false - schema: *230 + schema: *229 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *457 + schema: *455 responses: '200': description: Response @@ -62350,7 +61853,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *458 + instances_url: *456 state: *89 fixed_at: *110 dismissed_by: @@ -62361,11 +61864,11 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *459 - dismissed_comment: *460 - rule: *461 - tool: *462 - most_recent_instance: *463 + dismissed_reason: *457 + dismissed_comment: *458 + rule: *459 + tool: *460 + most_recent_instance: *461 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62488,7 +61991,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &464 + '403': &462 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62515,9 +62018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *375 - - *376 - - &465 + - *373 + - *374 + - &463 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62531,7 +62034,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &464 type: object properties: number: *100 @@ -62539,7 +62042,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *458 + instances_url: *456 state: *89 fixed_at: *110 dismissed_by: @@ -62550,8 +62053,8 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *459 - dismissed_comment: *460 + dismissed_reason: *457 + dismissed_comment: *458 rule: type: object properties: @@ -62605,8 +62108,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *462 - most_recent_instance: *463 + tool: *460 + most_recent_instance: *461 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62702,7 +62205,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -62722,9 +62225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 requestBody: required: true content: @@ -62739,8 +62242,8 @@ paths: enum: - open - dismissed - dismissed_reason: *459 - dismissed_comment: *460 + dismissed_reason: *457 + dismissed_comment: *458 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62759,7 +62262,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -62835,7 +62338,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &470 + '403': &468 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62862,15 +62365,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 responses: '200': description: Response content: application/json: - schema: &467 + schema: &465 type: object properties: status: @@ -62896,13 +62399,13 @@ paths: - description - started_at examples: - default: &468 + default: &466 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &469 + '400': &467 description: Bad Request content: application/json: @@ -62913,7 +62416,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': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -62938,29 +62441,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 responses: '200': description: OK content: application/json: - schema: *467 + schema: *465 examples: - default: *468 + default: *466 '202': description: Accepted content: application/json: - schema: *467 + schema: *465 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *469 + '400': *467 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62992,9 +62495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 requestBody: required: false content: @@ -63039,8 +62542,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *469 - '403': *470 + '400': *467 + '403': *468 '404': *6 '422': description: Unprocessable Entity @@ -63064,13 +62567,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 - *19 - *17 - - *471 - - *472 + - *469 + - *470 responses: '200': description: Response @@ -63078,7 +62581,7 @@ paths: application/json: schema: type: array - items: *463 + items: *461 examples: default: value: @@ -63117,7 +62620,7 @@ paths: end_column: 50 classifications: - source - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63151,25 +62654,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 + - *227 - *228 - - *229 - *19 - *17 - - *472 + - *470 - 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: *456 + schema: *454 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &475 + schema: &473 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -63190,23 +62693,23 @@ paths: application/json: schema: type: array - items: &476 + items: &474 type: object properties: - ref: *456 - commit_sha: &484 + ref: *454 + commit_sha: &482 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: *473 + analysis_key: *471 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *474 + category: *472 error: type: string example: error reading field xyz @@ -63230,8 +62733,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *475 - tool: *462 + sarif_id: *473 + tool: *460 deletable: type: boolean warning: @@ -63292,7 +62795,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63328,8 +62831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63342,7 +62845,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *474 examples: response: summary: application/json response @@ -63396,7 +62899,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63478,8 +62981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63532,7 +63035,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': *470 + '403': *468 '404': *6 '503': *132 x-github: @@ -63554,8 +63057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -63563,7 +63066,7 @@ paths: application/json: schema: type: array - items: &477 + items: &475 title: CodeQL Database description: A CodeQL database. type: object @@ -63674,7 +63177,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': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63703,8 +63206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: language in: path description: The language of the CodeQL database. @@ -63716,7 +63219,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *475 examples: default: value: @@ -63748,9 +63251,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': &513 + '302': &511 description: Found - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63772,8 +63275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *375 - - *376 + - *373 + - *374 - name: language in: path description: The language of the CodeQL database. @@ -63783,7 +63286,7 @@ paths: responses: '204': description: Response - '403': *470 + '403': *468 '404': *6 '503': *132 x-github: @@ -63811,8 +63314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -63821,7 +63324,7 @@ paths: type: object additionalProperties: false properties: - language: &478 + language: &476 type: string description: The language targeted by the CodeQL query enum: @@ -63899,7 +63402,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &482 + schema: &480 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63909,7 +63412,7 @@ paths: description: The ID of the variant analysis. controller_repo: *96 actor: *4 - query_language: *478 + query_language: *476 query_pack_url: type: string description: The download url for the query pack. @@ -63956,7 +63459,7 @@ paths: items: type: object properties: - repository: &479 + repository: &477 title: Repository Identifier description: Repository Identifier type: object @@ -63992,7 +63495,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &483 + analysis_status: &481 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64024,7 +63527,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &480 + access_mismatch_repos: &478 type: object properties: repository_count: @@ -64038,7 +63541,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: *479 + items: *477 required: - repository_count - repositories @@ -64060,8 +63563,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *480 - over_limit_repos: *480 + no_codeql_db_repos: *478 + over_limit_repos: *478 required: - access_mismatch_repos - not_found_repos @@ -64077,7 +63580,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &481 + value: &479 summary: Default response value: id: 1 @@ -64229,10 +63732,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *481 + value: *479 repository_lists: summary: Response for a successful variant analysis submission - value: *481 + value: *479 '404': *6 '422': description: Unable to process variant analysis submission @@ -64260,8 +63763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *375 - - *376 + - *373 + - *374 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64273,9 +63776,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *480 examples: - default: *481 + default: *479 '404': *6 '503': *132 x-github: @@ -64298,7 +63801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *375 + - *373 - name: repo in: path description: The name of the controller repository. @@ -64333,7 +63836,7 @@ paths: type: object properties: repository: *96 - analysis_status: *483 + analysis_status: *481 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64458,8 +63961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -64533,7 +64036,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -64554,8 +64057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -64612,7 +64115,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -64637,7 +64140,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *470 + '403': *468 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64702,8 +64205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -64711,7 +64214,7 @@ paths: schema: type: object properties: - commit_sha: *484 + commit_sha: *482 ref: type: string description: |- @@ -64769,7 +64272,7 @@ paths: schema: type: object properties: - id: *475 + id: *473 url: type: string description: The REST API URL for checking the status of the upload. @@ -64783,7 +64286,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': *470 + '403': *468 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64806,8 +64309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *375 - - *376 + - *373 + - *374 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64853,7 +64356,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': *464 + '403': *462 '404': description: Not Found if the sarif id does not match any upload '503': *132 @@ -64878,8 +64381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -64960,8 +64463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *375 - - *376 + - *373 + - *374 - 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 @@ -65081,8 +64584,8 @@ paths: parameters: - *17 - *19 - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -65098,7 +64601,7 @@ paths: type: integer codespaces: type: array - items: *293 + items: *291 examples: default: value: @@ -65396,8 +64899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -65460,17 +64963,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '400': *14 '401': *25 '403': *29 @@ -65499,8 +65002,8 @@ paths: parameters: - *17 - *19 - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -65564,8 +65067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65600,14 +65103,14 @@ paths: type: integer machines: type: array - items: &722 + items: &720 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *486 - required: *487 + properties: *484 + required: *485 examples: - default: &723 + default: &721 value: total_count: 2 machines: @@ -65647,8 +65150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *375 - - *376 + - *373 + - *374 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65732,8 +65235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 - 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 @@ -65799,8 +65302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -65818,7 +65321,7 @@ paths: type: integer secrets: type: array - items: &491 + items: &489 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65838,7 +65341,7 @@ paths: - created_at - updated_at examples: - default: *488 + default: *486 headers: Link: *39 x-github: @@ -65861,16 +65364,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *489 + schema: *487 examples: - default: *490 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65890,17 +65393,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '200': description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: *492 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65920,9 +65423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 requestBody: required: true content: @@ -65950,7 +65453,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -65974,9 +65477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '204': description: Response @@ -66004,8 +65507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *375 - - *376 + - *373 + - *374 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66047,7 +65550,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &493 + properties: &491 login: type: string example: octocat @@ -66140,7 +65643,7 @@ paths: user_view_type: type: string example: public - required: &494 + required: &492 - avatar_url - events_url - followers_url @@ -66214,9 +65717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *375 - - *376 - - *219 + - *373 + - *374 + - *218 responses: '204': description: Response if user is a collaborator @@ -66258,9 +65761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *375 - - *376 - - *219 + - *373 + - *374 + - *218 requestBody: required: false content: @@ -66286,7 +65789,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &561 + schema: &559 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66297,7 +65800,7 @@ paths: example: 42 type: integer format: int64 - repository: *197 + repository: *196 invitee: title: Simple User description: A GitHub user. @@ -66508,9 +66011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *375 - - *376 - - *219 + - *373 + - *374 + - *218 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66539,9 +66042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *375 - - *376 - - *219 + - *373 + - *374 + - *218 responses: '200': description: if user has admin permissions @@ -66561,8 +66064,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *493 - required: *494 + properties: *491 + required: *492 nullable: true required: - permission @@ -66617,8 +66120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -66628,7 +66131,7 @@ paths: application/json: schema: type: array - items: &495 + items: &493 title: Commit Comment description: Commit Comment type: object @@ -66669,8 +66172,8 @@ paths: updated_at: type: string format: date-time - author_association: *141 - reactions: *142 + author_association: *140 + reactions: *141 required: - url - html_url @@ -66686,7 +66189,7 @@ paths: - created_at - updated_at examples: - default: &498 + default: &496 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66745,17 +66248,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '200': description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: &499 + default: &497 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66812,9 +66315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -66836,7 +66339,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: default: value: @@ -66887,9 +66390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '204': description: Response @@ -66910,9 +66413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -66938,9 +66441,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 @@ -66961,9 +66464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -66995,16 +66498,16 @@ paths: description: Reaction exists content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Reaction created content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -67026,10 +66529,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *375 - - *376 - - *153 - - *367 + - *373 + - *374 + - *152 + - *365 responses: '204': description: Response @@ -67078,8 +66581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *375 - - *376 + - *373 + - *374 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67135,9 +66638,9 @@ paths: application/json: schema: type: array - items: *496 + items: *494 examples: - default: &612 + default: &610 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67231,9 +66734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *375 - - *376 - - &497 + - *373 + - *374 + - &495 name: commit_sha description: The SHA of the commit. in: path @@ -67305,9 +66808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *375 - - *376 - - *497 + - *373 + - *374 + - *495 - *17 - *19 responses: @@ -67317,9 +66820,9 @@ paths: application/json: schema: type: array - items: *495 + items: *493 examples: - default: *498 + default: *496 headers: Link: *39 x-github: @@ -67347,9 +66850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *375 - - *376 - - *497 + - *373 + - *374 + - *495 requestBody: required: true content: @@ -67384,9 +66887,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: *499 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67404,7 +66907,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: @@ -67414,9 +66917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *375 - - *376 - - *497 + - *373 + - *374 + - *495 - *17 - *19 responses: @@ -67426,7 +66929,7 @@ paths: application/json: schema: type: array - items: &603 + items: &601 title: Pull Request Simple description: Pull Request Simple type: object @@ -67532,8 +67035,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *500 - required: *501 + properties: *498 + required: *499 nullable: true active_lock_reason: type: string @@ -67578,7 +67081,7 @@ paths: nullable: true requested_teams: type: array - items: *286 + items: *284 nullable: true head: type: object @@ -67629,7 +67132,7 @@ paths: _links: type: object properties: - comments: &502 + comments: &500 title: Link description: Hypermedia Link type: object @@ -67638,13 +67141,13 @@ paths: type: string required: - href - commits: *502 - statuses: *502 - html: *502 - issue: *502 - review_comments: *502 - review_comment: *502 - self: *502 + commits: *500 + statuses: *500 + html: *500 + issue: *500 + review_comments: *500 + review_comment: *500 + self: *500 required: - comments - commits @@ -67654,8 +67157,8 @@ paths: - review_comments - review_comment - self - author_association: *141 - auto_merge: &605 + author_association: *140 + auto_merge: &603 title: Auto merge description: The status of auto merging a pull request. type: object @@ -67718,7 +67221,7 @@ paths: - author_association - auto_merge examples: - default: &604 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68255,11 +67758,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *375 - - *376 + - *373 + - *374 - *19 - *17 - - &503 + - &501 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)" @@ -68274,9 +67777,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *494 examples: - default: &590 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68389,11 +67892,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *375 - - *376 + - *373 + - *374 + - *501 + - *502 - *503 - - *504 - - *505 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68427,9 +67930,9 @@ paths: type: integer check_runs: type: array - items: *448 + items: *446 examples: - default: *506 + default: *504 headers: Link: *39 x-github: @@ -68454,9 +67957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *375 - - *376 - - *503 + - *373 + - *374 + - *501 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68464,7 +67967,7 @@ paths: schema: type: integer example: 1 - - *504 + - *502 - *17 - *19 responses: @@ -68482,7 +67985,7 @@ paths: type: integer check_suites: type: array - items: *453 + items: *451 examples: default: value: @@ -68682,9 +68185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *375 - - *376 - - *503 + - *373 + - *374 + - *501 - *17 - *19 responses: @@ -68751,7 +68254,7 @@ paths: type: string total_count: type: integer - repository: *197 + repository: *196 commit_url: type: string format: uri @@ -68882,9 +68385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *375 - - *376 - - *503 + - *373 + - *374 + - *501 - *17 - *19 responses: @@ -68894,7 +68397,7 @@ paths: application/json: schema: type: array - items: &670 + items: &668 title: Status description: The status of a commit. type: object @@ -68975,7 +68478,7 @@ paths: site_admin: false headers: Link: *39 - '301': *389 + '301': *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69003,8 +68506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -69033,20 +68536,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *507 - required: *508 + properties: *505 + required: *506 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &509 + properties: &507 url: type: string format: uri html_url: type: string format: uri - required: &510 + required: &508 - url - html_url nullable: true @@ -69054,32 +68557,32 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true contributing: title: Community Health File type: object - properties: *509 - required: *510 + properties: *507 + required: *508 nullable: true readme: title: Community Health File type: object - properties: *509 - required: *510 + properties: *507 + required: *508 nullable: true issue_template: title: Community Health File type: object - properties: *509 - required: *510 + properties: *507 + required: *508 nullable: true pull_request_template: title: Community Health File type: object - properties: *509 - required: *510 + properties: *507 + required: *508 nullable: true required: - code_of_conduct @@ -69206,8 +68709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *375 - - *376 + - *373 + - *374 - *19 - *17 - name: basehead @@ -69250,8 +68753,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *496 - merge_base_commit: *496 + base_commit: *494 + merge_base_commit: *494 status: type: string enum: @@ -69271,10 +68774,10 @@ paths: example: 6 commits: type: array - items: *496 + items: *494 files: type: array - items: *511 + items: *509 required: - url - html_url @@ -69560,8 +69063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *375 - - *376 + - *373 + - *374 - name: path description: path parameter in: path @@ -69702,7 +69205,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &512 + response-if-content-is-a-file: &510 summary: Response if content is a file value: type: file @@ -69834,7 +69337,7 @@ paths: - size - type - url - - &617 + - &615 title: Content File description: Content File type: object @@ -70035,7 +69538,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *512 + response-if-content-is-a-file: *510 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70104,7 +69607,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *513 + '302': *511 '304': *37 x-github: githubCloudOnly: false @@ -70127,8 +69630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *375 - - *376 + - *373 + - *374 - name: path description: path parameter in: path @@ -70221,7 +69724,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &512 title: File Commit description: File Commit type: object @@ -70373,7 +69876,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *512 examples: example-for-creating-a-file: value: @@ -70427,7 +69930,7 @@ paths: schema: oneOf: - *3 - - &543 + - &541 description: Repository rule violation was detected type: object properties: @@ -70448,7 +69951,7 @@ paths: items: type: object properties: - placeholder_id: &662 + placeholder_id: &660 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70480,8 +69983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *375 - - *376 + - *373 + - *374 - name: path description: path parameter in: path @@ -70542,7 +70045,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *512 examples: default: value: @@ -70597,8 +70100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *375 - - *376 + - *373 + - *374 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70721,21 +70224,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 + - *245 + - *246 - *247 - *248 - - *249 - - *250 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string + - *249 + - *250 - *251 - - *252 - - *253 - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -70755,8 +70258,8 @@ paths: default: 30 - *84 - *85 - - *254 - - *255 + - *252 + - *253 responses: '200': description: Response @@ -70764,7 +70267,7 @@ paths: application/json: schema: type: array - items: &517 + items: &515 type: object description: A Dependabot alert. properties: @@ -70810,7 +70313,7 @@ paths: - unknown - direct - transitive - security_advisory: *515 + security_advisory: *513 security_vulnerability: *104 url: *105 html_url: *106 @@ -70841,7 +70344,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: *516 + auto_dismissed_at: *514 required: - number - state @@ -71071,9 +70574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *375 - - *376 - - &518 + - *373 + - *374 + - &516 name: alert_number in: path description: |- @@ -71088,7 +70591,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: default: value: @@ -71201,9 +70704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *375 - - *376 - - *518 + - *373 + - *374 + - *516 requestBody: required: true content: @@ -71248,7 +70751,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: default: value: @@ -71377,8 +70880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -71396,7 +70899,7 @@ paths: type: integer secrets: type: array - items: &521 + items: &519 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71449,16 +70952,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *519 + schema: *517 examples: - default: *520 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71478,15 +70981,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '200': description: Response content: application/json: - schema: *521 + schema: *519 examples: default: value: @@ -71512,9 +71015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 requestBody: required: true content: @@ -71542,7 +71045,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -71566,9 +71069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '204': description: Response @@ -71590,8 +71093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *375 - - *376 + - *373 + - *374 - 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 @@ -71751,8 +71254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -71991,8 +71494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -72067,7 +71570,7 @@ paths: - version - url additionalProperties: false - metadata: &522 + metadata: &520 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72100,7 +71603,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *522 + metadata: *520 resolved: type: object description: A collection of resolved package dependencies. @@ -72113,7 +71616,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *522 + metadata: *520 relationship: type: string description: A notation of whether a dependency is requested @@ -72242,8 +71745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *375 - - *376 + - *373 + - *374 - name: sha description: The SHA recorded at creation time. in: query @@ -72283,9 +71786,9 @@ paths: application/json: schema: type: array - items: *523 + items: *521 examples: - default: *524 + default: *522 headers: Link: *39 x-github: @@ -72351,8 +71854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -72433,7 +71936,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *521 examples: simple-example: summary: Simple example @@ -72506,9 +72009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *375 - - *376 - - &525 + - *373 + - *374 + - &523 name: deployment_id description: deployment_id parameter in: path @@ -72520,7 +72023,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *521 examples: default: value: @@ -72585,9 +72088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *375 - - *376 - - *525 + - *373 + - *374 + - *523 responses: '204': description: Response @@ -72609,9 +72112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *375 - - *376 - - *525 + - *373 + - *374 + - *523 - *17 - *19 responses: @@ -72621,7 +72124,7 @@ paths: application/json: schema: type: array - items: &526 + items: &524 title: Deployment Status description: The status of a deployment. type: object @@ -72712,8 +72215,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 required: - id - node_id @@ -72782,9 +72285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *375 - - *376 - - *525 + - *373 + - *374 + - *523 requestBody: required: true content: @@ -72859,9 +72362,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: &527 + default: &525 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72917,9 +72420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *375 - - *376 - - *525 + - *373 + - *374 + - *523 - name: status_id in: path required: true @@ -72930,9 +72433,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: *527 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -72957,8 +72460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -73015,8 +72518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -73033,7 +72536,7 @@ paths: type: integer environments: type: array - items: &529 + items: &527 title: Environment description: Details of a deployment environment type: object @@ -73085,7 +72588,7 @@ paths: type: type: string example: wait_timer - wait_timer: &531 + wait_timer: &529 type: integer example: 30 description: The amount of time to delay a job after @@ -73122,11 +72625,11 @@ paths: items: type: object properties: - type: *528 + type: *526 reviewer: anyOf: - *4 - - *286 + - *284 required: - id - node_id @@ -73146,7 +72649,7 @@ paths: - id - node_id - type - deployment_branch_policy: &532 + deployment_branch_policy: &530 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -73262,9 +72765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *375 - - *376 - - &530 + - *373 + - *374 + - &528 name: environment_name in: path required: true @@ -73277,9 +72780,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *527 examples: - default: &533 + default: &531 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73363,9 +72866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 requestBody: required: false content: @@ -73374,7 +72877,7 @@ paths: type: object nullable: true properties: - wait_timer: *531 + wait_timer: *529 prevent_self_review: type: boolean example: false @@ -73391,13 +72894,13 @@ paths: items: type: object properties: - type: *528 + type: *526 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *532 + deployment_branch_policy: *530 additionalProperties: false examples: default: @@ -73417,9 +72920,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *527 examples: - default: *533 + default: *531 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73443,9 +72946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 responses: '204': description: Default response @@ -73470,9 +72973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 - *17 - *19 responses: @@ -73490,7 +72993,7 @@ paths: example: 2 branch_policies: type: array - items: &534 + items: &532 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73547,9 +73050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 requestBody: required: true content: @@ -73595,9 +73098,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: - example-wildcard: &535 + example-wildcard: &533 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73639,10 +73142,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *375 - - *376 - - *530 - - &536 + - *373 + - *374 + - *528 + - &534 name: branch_policy_id in: path required: true @@ -73654,9 +73157,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: - default: *535 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73675,10 +73178,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *375 - - *376 - - *530 - - *536 + - *373 + - *374 + - *528 + - *534 requestBody: required: true content: @@ -73706,9 +73209,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: - default: *535 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73727,10 +73230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *375 - - *376 - - *530 - - *536 + - *373 + - *374 + - *528 + - *534 responses: '204': description: Response @@ -73755,9 +73258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *530 - - *376 - - *375 + - *528 + - *374 + - *373 responses: '200': description: List of deployment protection rules @@ -73773,7 +73276,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &537 + items: &535 title: Deployment protection rule description: Deployment protection rule type: object @@ -73792,7 +73295,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &538 + app: &536 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73891,9 +73394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *530 - - *376 - - *375 + - *528 + - *374 + - *373 requestBody: content: application/json: @@ -73914,9 +73417,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *537 + schema: *535 examples: - default: &539 + default: &537 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73951,9 +73454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *530 - - *376 - - *375 + - *528 + - *374 + - *373 - *19 - *17 responses: @@ -73972,7 +73475,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *538 + items: *536 examples: default: value: @@ -74007,10 +73510,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *375 - - *376 - - *530 - - &540 + - *373 + - *374 + - *528 + - &538 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74022,9 +73525,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *535 examples: - default: *539 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74045,10 +73548,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *530 - - *376 - - *375 - - *540 + - *528 + - *374 + - *373 + - *538 responses: '204': description: Response @@ -74074,9 +73577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 - *17 - *19 responses: @@ -74094,9 +73597,9 @@ paths: type: integer secrets: type: array - items: *412 + items: *410 examples: - default: *413 + default: *411 headers: Link: *39 x-github: @@ -74121,17 +73624,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 responses: '200': description: Response content: application/json: - schema: *414 + schema: *412 examples: - default: *415 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74153,18 +73656,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *375 - - *376 - - *530 - - *207 + - *373 + - *374 + - *528 + - *206 responses: '200': description: Response content: application/json: - schema: *412 + schema: *410 examples: - default: *541 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74186,10 +73689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *375 - - *376 - - *530 - - *207 + - *373 + - *374 + - *528 + - *206 requestBody: required: true content: @@ -74220,7 +73723,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -74246,10 +73749,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *375 - - *376 - - *530 - - *207 + - *373 + - *374 + - *528 + - *206 responses: '204': description: Default response @@ -74274,10 +73777,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *375 - - *376 - - *530 - - *399 + - *373 + - *374 + - *528 + - *397 - *19 responses: '200': @@ -74294,9 +73797,9 @@ paths: type: integer variables: type: array - items: *416 + items: *414 examples: - default: *417 + default: *415 headers: Link: *39 x-github: @@ -74319,9 +73822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 requestBody: required: true content: @@ -74348,7 +73851,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -74373,18 +73876,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *375 - - *376 - - *530 - - *210 + - *373 + - *374 + - *528 + - *209 responses: '200': description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *542 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74405,10 +73908,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *375 - - *376 - - *210 - - *530 + - *373 + - *374 + - *209 + - *528 requestBody: required: true content: @@ -74450,10 +73953,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *375 - - *376 - - *210 - - *530 + - *373 + - *374 + - *209 + - *528 responses: '204': description: Response @@ -74475,8 +73978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -74486,7 +73989,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: 200-response: value: @@ -74553,8 +74056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *375 - - *376 + - *373 + - *374 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74576,7 +74079,7 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: default: value: @@ -74713,8 +74216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -74746,9 +74249,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 + default: *388 '400': *14 '422': *15 '403': *29 @@ -74769,8 +74272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -74829,8 +74332,8 @@ paths: application/json: schema: oneOf: - - *180 - - *543 + - *179 + - *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,8 +74358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *375 - - *376 + - *373 + - *374 - name: file_sha in: path required: true @@ -74955,8 +74458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -75065,7 +74568,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &542 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75279,15 +74782,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *375 - - *376 - - *497 + - *373 + - *374 + - *495 responses: '200': description: Response content: application/json: - schema: *544 + schema: *542 examples: default: value: @@ -75343,9 +74846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *375 - - *376 - - &545 + - *373 + - *374 + - &543 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. @@ -75362,7 +74865,7 @@ paths: application/json: schema: type: array - items: &546 + items: &544 title: Git Reference description: Git references within a repository type: object @@ -75437,17 +74940,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *375 - - *376 - - *545 + - *373 + - *374 + - *543 responses: '200': description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: &547 + default: &545 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75476,8 +74979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -75506,9 +75009,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: *547 + default: *545 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75534,9 +75037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *375 - - *376 - - *545 + - *373 + - *374 + - *543 requestBody: required: true content: @@ -75565,9 +75068,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: *547 + default: *545 '422': *15 '409': *94 x-github: @@ -75585,9 +75088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *375 - - *376 - - *545 + - *373 + - *374 + - *543 responses: '204': description: Response @@ -75640,8 +75143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -75708,7 +75211,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &547 title: Git Tag description: Metadata for a Git tag type: object @@ -75759,7 +75262,7 @@ paths: - sha - type - url - verification: *548 + verification: *546 required: - sha - url @@ -75769,7 +75272,7 @@ paths: - tag - message examples: - default: &550 + default: &548 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75842,8 +75345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *375 - - *376 + - *373 + - *374 - name: tag_sha in: path required: true @@ -75854,9 +75357,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: - default: *550 + default: *548 '404': *6 '409': *94 x-github: @@ -75880,8 +75383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -75954,7 +75457,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &549 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76066,8 +75569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *375 - - *376 + - *373 + - *374 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76090,7 +75593,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *549 examples: default-response: summary: Default response @@ -76149,8 +75652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -76160,7 +75663,7 @@ paths: application/json: schema: type: array - items: &552 + items: &550 title: Webhook description: Webhooks for repositories. type: object @@ -76214,7 +75717,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &800 + last_response: &798 title: Hook Response type: object properties: @@ -76288,8 +75791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -76341,9 +75844,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *550 examples: - default: &553 + default: &551 value: type: Repository id: 12345678 @@ -76391,17 +75894,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '200': description: Response content: application/json: - schema: *552 + schema: *550 examples: - default: *553 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -76421,9 +75924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 requestBody: required: true content: @@ -76468,9 +75971,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *550 examples: - default: *553 + default: *551 '422': *15 '404': *6 x-github: @@ -76491,9 +75994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '204': description: Response @@ -76517,9 +76020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '200': description: Response @@ -76546,9 +76049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 requestBody: required: false content: @@ -76592,11 +76095,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 - *17 - - *264 + - *262 responses: '200': description: Response @@ -76604,9 +76107,9 @@ paths: application/json: schema: type: array - items: *265 + items: *263 examples: - default: *266 + default: *264 '400': *14 '422': *15 x-github: @@ -76625,18 +76128,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 - *16 responses: '200': description: Response content: application/json: - schema: *267 + schema: *265 examples: - default: *268 + default: *266 '400': *14 '422': *15 x-github: @@ -76655,9 +76158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 - *16 responses: '202': *95 @@ -76680,9 +76183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '204': description: Response @@ -76707,9 +76210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '204': description: Response @@ -76767,14 +76270,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: &554 + schema: &552 title: Import description: A repository import from an external source. type: object @@ -76873,7 +76376,7 @@ paths: - html_url - authors_url examples: - default: &557 + default: &555 value: vcs: subversion use_lfs: true @@ -76889,7 +76392,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': &555 + '503': &553 description: Unavailable due to service under maintenance. content: application/json: @@ -76918,8 +76421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -76967,7 +76470,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: default: value: @@ -76992,7 +76495,7 @@ paths: type: string '422': *15 '404': *6 - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77020,8 +76523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -77070,7 +76573,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: example-1: summary: Example 1 @@ -77118,7 +76621,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': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77141,12 +76644,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77172,9 +76675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *375 - - *376 - - &746 + - *373 + - *374 + - &744 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77188,7 +76691,7 @@ paths: application/json: schema: type: array - items: &556 + items: &554 title: Porter Author description: Porter Author type: object @@ -77242,7 +76745,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': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77267,8 +76770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *375 - - *376 + - *373 + - *374 - name: author_id in: path required: true @@ -77298,7 +76801,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: default: value: @@ -77311,7 +76814,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77335,8 +76838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -77377,7 +76880,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77405,8 +76908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -77433,11 +76936,11 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: - default: *557 + default: *555 '422': *15 - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77460,8 +76963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -77469,8 +76972,8 @@ paths: application/json: schema: *22 examples: - default: *558 - '301': *389 + default: *556 + '301': *387 '404': *6 x-github: githubCloudOnly: false @@ -77490,8 +76993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -77499,12 +77002,12 @@ paths: application/json: schema: anyOf: - - *281 + - *279 - type: object properties: {} additionalProperties: false examples: - default: &560 + default: &558 value: limit: collaborators_only origin: repository @@ -77529,13 +77032,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: application/json: - schema: *559 + schema: *557 examples: default: summary: Example request body @@ -77547,9 +77050,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: - default: *560 + default: *558 '409': description: Response x-github: @@ -77571,8 +77074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -77595,8 +77098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -77606,9 +77109,9 @@ paths: application/json: schema: type: array - items: *561 + items: *559 examples: - default: &739 + default: &737 value: - id: 1 repository: @@ -77739,9 +77242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *375 - - *376 - - *285 + - *373 + - *374 + - *283 requestBody: required: false content: @@ -77770,7 +77273,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *559 examples: default: value: @@ -77901,9 +77404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *375 - - *376 - - *285 + - *373 + - *374 + - *283 responses: '204': description: Response @@ -77934,8 +77437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *375 - - *376 + - *373 + - *374 - 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 @@ -77983,7 +77486,7 @@ paths: required: false schema: type: string - - *290 + - *288 - name: sort description: What to sort results by. in: query @@ -77996,7 +77499,7 @@ paths: - comments default: created - *86 - - *144 + - *143 - *17 - *19 responses: @@ -78006,9 +77509,9 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: &572 + default: &570 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78156,7 +77659,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *389 + '301': *387 '422': *15 '404': *6 x-github: @@ -78185,8 +77688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -78268,9 +77771,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: &567 + default: &565 value: id: 1 node_id: MDU6SXNzdWUx @@ -78426,7 +77929,7 @@ paths: '422': *15 '503': *132 '404': *6 - '410': *386 + '410': *384 x-github: triggersNotification: true githubCloudOnly: false @@ -78454,9 +77957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *375 - - *376 - - *164 + - *373 + - *374 + - *163 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78466,7 +77969,7 @@ paths: enum: - asc - desc - - *144 + - *143 - *17 - *19 responses: @@ -78476,9 +77979,9 @@ paths: application/json: schema: type: array - items: *562 + items: *560 examples: - default: &569 + default: &567 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78536,17 +78039,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '200': description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: &563 + default: &561 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78600,9 +78103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -78624,9 +78127,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 '422': *15 x-github: githubCloudOnly: false @@ -78644,9 +78147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '204': description: Response @@ -78666,9 +78169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -78694,9 +78197,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 @@ -78717,9 +78220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -78751,16 +78254,16 @@ paths: description: Reaction exists content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Reaction created content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -78782,10 +78285,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *375 - - *376 - - *153 - - *367 + - *373 + - *374 + - *152 + - *365 responses: '204': description: Response @@ -78805,8 +78308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -78816,7 +78319,7 @@ paths: application/json: schema: type: array - items: &566 + items: &564 title: Issue Event description: Issue Event type: object @@ -78859,8 +78362,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *564 - required: *565 + properties: *562 + required: *563 nullable: true label: title: Issue Event Label @@ -78904,7 +78407,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *286 + requested_team: *284 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78969,7 +78472,7 @@ paths: required: - from - to - author_association: *141 + author_association: *140 lock_reason: type: string nullable: true @@ -78982,8 +78485,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 required: - id - node_id @@ -79167,8 +78670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *375 - - *376 + - *373 + - *374 - name: event_id in: path required: true @@ -79179,7 +78682,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *564 examples: default: value: @@ -79372,7 +78875,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *386 + '410': *384 '403': *29 x-github: githubCloudOnly: false @@ -79406,9 +78909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *375 - - *376 - - &568 + - *373 + - *374 + - &566 name: issue_number description: The number that identifies the issue. in: path @@ -79420,12 +78923,12 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 - '301': *389 + default: *565 + '301': *387 '404': *6 - '410': *386 + '410': *384 '304': *37 x-github: githubCloudOnly: false @@ -79450,9 +78953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -79555,15 +79058,15 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 '422': *15 '503': *132 '403': *29 - '301': *389 + '301': *387 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79581,9 +79084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -79609,9 +79112,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79627,9 +79130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: content: application/json: @@ -79654,9 +79157,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79678,9 +79181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - name: assignee in: path required: true @@ -79720,10 +79223,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *375 - - *376 - - *568 - - *144 + - *373 + - *374 + - *566 + - *143 - *17 - *19 responses: @@ -79733,13 +79236,13 @@ paths: application/json: schema: type: array - items: *562 + items: *560 examples: - default: *569 + default: *567 headers: Link: *39 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79768,9 +79271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -79792,16 +79295,16 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *386 + '410': *384 '422': *15 '404': *6 x-github: @@ -79821,9 +79324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - *17 - *19 responses: @@ -79837,7 +79340,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &573 + - &571 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79868,8 +79371,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 label: type: object properties: @@ -79891,7 +79394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &572 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79922,8 +79425,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 label: type: object properties: @@ -80011,8 +79514,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 assignee: *4 assigner: *4 required: @@ -80027,7 +79530,7 @@ paths: - performed_via_github_app - assignee - assigner - - &575 + - &573 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80058,8 +79561,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 milestone: type: object properties: @@ -80078,7 +79581,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &574 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80109,8 +79612,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 milestone: type: object properties: @@ -80129,7 +79632,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &575 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80160,8 +79663,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 rename: type: object properties: @@ -80183,7 +79686,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &576 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80214,10 +79717,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 review_requester: *4 - requested_team: *286 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -80230,7 +79733,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &577 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80261,10 +79764,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 review_requester: *4 - requested_team: *286 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -80277,7 +79780,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &578 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80308,8 +79811,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 dismissed_review: type: object properties: @@ -80337,7 +79840,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &579 title: Locked Issue Event description: Locked Issue Event type: object @@ -80368,8 +79871,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 lock_reason: type: string example: '"off-topic"' @@ -80385,7 +79888,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &580 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80416,8 +79919,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 project_card: type: object properties: @@ -80451,7 +79954,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &581 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80482,8 +79985,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 project_card: type: object properties: @@ -80517,7 +80020,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &582 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80548,8 +80051,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 project_card: type: object properties: @@ -80583,7 +80086,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &583 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80674,7 +80177,7 @@ paths: color: red headers: Link: *39 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80691,9 +80194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - *17 - *19 responses: @@ -80703,7 +80206,7 @@ paths: application/json: schema: type: array - items: &570 + items: &568 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80750,7 +80253,7 @@ paths: - color - default examples: - default: &571 + default: &569 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80768,9 +80271,9 @@ paths: default: false headers: Link: *39 - '301': *389 + '301': *387 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80787,9 +80290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -80848,12 +80351,12 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: *571 - '301': *389 + default: *569 + '301': *387 '404': *6 - '410': *386 + '410': *384 '422': *15 x-github: githubCloudOnly: false @@ -80870,9 +80373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -80932,12 +80435,12 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: *571 - '301': *389 + default: *569 + '301': *387 '404': *6 - '410': *386 + '410': *384 '422': *15 x-github: githubCloudOnly: false @@ -80954,15 +80457,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 responses: '204': description: Response - '301': *389 + '301': *387 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80981,9 +80484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - name: name in: path required: true @@ -80996,7 +80499,7 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: default: value: @@ -81007,9 +80510,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *389 + '301': *387 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81029,9 +80532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -81059,7 +80562,7 @@ paths: '204': description: Response '403': *29 - '410': *386 + '410': *384 '404': *6 '422': *15 x-github: @@ -81077,9 +80580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 responses: '204': description: Response @@ -81101,9 +80604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81129,13 +80632,13 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81153,9 +80656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -81187,16 +80690,16 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -81218,10 +80721,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *375 - - *376 - - *568 - - *367 + - *373 + - *374 + - *566 + - *365 responses: '204': description: Response @@ -81250,9 +80753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -81274,9 +80777,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81309,9 +80812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - *17 - *19 responses: @@ -81321,13 +80824,13 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: *572 + default: *570 headers: Link: *39 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81355,9 +80858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -81384,16 +80887,16 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *386 + '410': *384 '422': *15 '404': *6 x-github: @@ -81413,9 +80916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -81446,9 +80949,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 '403': *29 '404': *6 '422': *7 @@ -81470,9 +80973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - *17 - *19 responses: @@ -81487,6 +80990,8 @@ paths: description: Timeline Event type: object anyOf: + - *571 + - *572 - *573 - *574 - *575 @@ -81498,8 +81003,6 @@ paths: - *581 - *582 - *583 - - *584 - - *585 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81542,7 +81045,7 @@ paths: issue_url: type: string format: uri - author_association: *141 + author_association: *140 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -81552,9 +81055,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - reactions: *142 + properties: *138 + required: *139 + reactions: *141 required: - event - actor @@ -81585,7 +81088,7 @@ paths: properties: type: type: string - issue: *154 + issue: *153 required: - event - created_at @@ -81781,7 +81284,7 @@ paths: type: string body_text: type: string - author_association: *141 + author_association: *140 required: - event - id @@ -81804,7 +81307,7 @@ paths: type: string comments: type: array - items: &606 + items: &604 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81893,7 +81396,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *141 + author_association: *140 _links: type: object properties: @@ -81977,7 +81480,7 @@ paths: enum: - line - file - reactions: *142 + reactions: *141 body_html: type: string example: '"

comment body

"' @@ -82013,7 +81516,7 @@ paths: type: string comments: type: array - items: *495 + items: *493 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82044,8 +81547,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 assignee: *4 required: - id @@ -82088,8 +81591,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 assignee: *4 required: - id @@ -82132,8 +81635,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 state_reason: type: string nullable: true @@ -82302,7 +81805,7 @@ paths: headers: Link: *39 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82319,8 +81822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -82330,7 +81833,7 @@ paths: application/json: schema: type: array - items: &586 + items: &584 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82395,8 +81898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -82432,9 +81935,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: - default: &587 + default: &585 value: id: 1 key: ssh-rsa AAA... @@ -82468,9 +81971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *375 - - *376 - - &588 + - *373 + - *374 + - &586 name: key_id description: The unique identifier of the key. in: path @@ -82482,9 +81985,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: - default: *587 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -82502,9 +82005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *375 - - *376 - - *588 + - *373 + - *374 + - *586 responses: '204': description: Response @@ -82524,8 +82027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -82535,9 +82038,9 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: *571 + default: *569 headers: Link: *39 '404': *6 @@ -82558,8 +82061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -82595,9 +82098,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *568 examples: - default: &589 + default: &587 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82629,8 +82132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *375 - - *376 + - *373 + - *374 - name: name in: path required: true @@ -82641,9 +82144,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *568 examples: - default: *589 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -82660,8 +82163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *375 - - *376 + - *373 + - *374 - name: name in: path required: true @@ -82700,7 +82203,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *568 examples: default: value: @@ -82726,8 +82229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *375 - - *376 + - *373 + - *374 - name: name in: path required: true @@ -82753,8 +82256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -82790,8 +82293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '202': *95 '403': @@ -82819,8 +82322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -82846,9 +82349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *375 - - *376 - - *471 + - *373 + - *374 + - *469 responses: '200': description: Response @@ -82910,8 +82413,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true required: - _links @@ -82993,8 +82496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83059,8 +82562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83094,9 +82597,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *496 + schema: *494 examples: - default: *590 + default: *588 '204': description: Response when already merged '404': @@ -83121,8 +82624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *375 - - *376 + - *373 + - *374 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83163,12 +82666,12 @@ paths: application/json: schema: type: array - items: &591 + items: &589 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *500 - required: *501 + properties: *498 + required: *499 examples: default: value: @@ -83224,8 +82727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83265,9 +82768,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &592 + default: &590 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83326,9 +82829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *375 - - *376 - - &593 + - *373 + - *374 + - &591 name: milestone_number description: The number that identifies the milestone. in: path @@ -83340,9 +82843,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *592 + default: *590 '404': *6 x-github: githubCloudOnly: false @@ -83359,9 +82862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *375 - - *376 - - *593 + - *373 + - *374 + - *591 requestBody: required: false content: @@ -83399,9 +82902,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *592 + default: *590 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83417,9 +82920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *375 - - *376 - - *593 + - *373 + - *374 + - *591 responses: '204': description: Response @@ -83440,9 +82943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *375 - - *376 - - *593 + - *373 + - *374 + - *591 - *17 - *19 responses: @@ -83452,9 +82955,9 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: *571 + default: *569 headers: Link: *39 x-github: @@ -83473,12 +82976,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 + - *592 + - *593 + - *143 - *594 - - *595 - - *144 - - *596 - *17 - *19 responses: @@ -83488,9 +82991,9 @@ paths: application/json: schema: type: array - items: *167 + items: *166 examples: - default: *597 + default: *595 headers: Link: *39 x-github: @@ -83514,8 +83017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -83573,14 +83076,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: &598 + schema: &596 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83705,7 +83208,7 @@ paths: - custom_404 - public examples: - default: &599 + default: &597 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83746,8 +83249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83801,9 +83304,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *596 examples: - default: *599 + default: *597 '422': *15 '409': *94 x-github: @@ -83826,8 +83329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83934,8 +83437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -83961,8 +83464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -83972,7 +83475,7 @@ paths: application/json: schema: type: array - items: &600 + items: &598 title: Page Build description: Page Build type: object @@ -84066,8 +83569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *375 - - *376 + - *373 + - *374 responses: '201': description: Response @@ -84112,16 +83615,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *600 + schema: *598 examples: - default: &601 + default: &599 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84169,8 +83672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *375 - - *376 + - *373 + - *374 - name: build_id in: path required: true @@ -84181,9 +83684,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *598 examples: - default: *601 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84203,8 +83706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -84309,9 +83812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *375 - - *376 - - &602 + - *373 + - *374 + - &600 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84369,9 +83872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *375 - - *376 - - *602 + - *373 + - *374 + - *600 responses: '204': *118 '404': *6 @@ -84398,8 +83901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -84630,7 +84133,7 @@ paths: description: Empty response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -84657,8 +84160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Private vulnerability reporting status @@ -84695,8 +84198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': *118 '422': *14 @@ -84717,8 +84220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': *118 '422': *14 @@ -84741,8 +84244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *375 - - *376 + - *373 + - *374 - name: state description: Indicates the state of the projects to return. in: query @@ -84763,7 +84266,7 @@ paths: application/json: schema: type: array - items: *321 + items: *319 examples: default: value: @@ -84803,7 +84306,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *386 + '410': *384 '422': *7 x-github: githubCloudOnly: false @@ -84826,8 +84329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -84853,13 +84356,13 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: *385 + default: *383 '401': *25 '403': *29 '404': *6 - '410': *386 + '410': *384 '422': *7 x-github: githubCloudOnly: false @@ -84882,8 +84385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -84891,7 +84394,7 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: default: value: @@ -84922,8 +84425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -84935,7 +84438,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *323 + items: *321 required: - properties examples: @@ -84985,8 +84488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *375 - - *376 + - *373 + - *374 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85046,9 +84549,9 @@ paths: application/json: schema: type: array - items: *603 + items: *601 examples: - default: *604 + default: *602 headers: Link: *39 '304': *37 @@ -85080,8 +84583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -85146,7 +84649,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &606 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85257,8 +84760,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *500 - required: *501 + properties: *498 + required: *499 nullable: true active_lock_reason: type: string @@ -85303,7 +84806,7 @@ paths: nullable: true requested_teams: type: array - items: *343 + items: *341 nullable: true head: type: object @@ -85342,14 +84845,14 @@ paths: _links: type: object properties: - comments: *502 - commits: *502 - statuses: *502 - html: *502 - issue: *502 - review_comments: *502 - review_comment: *502 - self: *502 + comments: *500 + commits: *500 + statuses: *500 + html: *500 + issue: *500 + review_comments: *500 + review_comment: *500 + self: *500 required: - comments - commits @@ -85359,8 +84862,8 @@ paths: - review_comments - review_comment - self - author_association: *141 - auto_merge: *605 + author_association: *140 + auto_merge: *603 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -85452,7 +84955,7 @@ paths: - merged_by - review_comments examples: - default: &609 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85979,8 +85482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: sort in: query required: false @@ -85999,7 +85502,7 @@ paths: enum: - asc - desc - - *144 + - *143 - *17 - *19 responses: @@ -86009,9 +85512,9 @@ paths: application/json: schema: type: array - items: *606 + items: *604 examples: - default: &611 + default: &609 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86088,17 +85591,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '200': description: Response content: application/json: - schema: *606 + schema: *604 examples: - default: &607 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86173,9 +85676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -86197,9 +85700,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: - default: *607 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86215,9 +85718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '204': description: Response @@ -86238,9 +85741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86266,9 +85769,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 @@ -86289,9 +85792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -86323,16 +85826,16 @@ paths: description: Reaction exists content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Reaction created content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -86354,10 +85857,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *375 - - *376 - - *153 - - *367 + - *373 + - *374 + - *152 + - *365 responses: '204': description: Response @@ -86400,9 +85903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *375 - - *376 - - &610 + - *373 + - *374 + - &608 name: pull_number description: The number that identifies the pull request. in: path @@ -86415,9 +85918,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *608 + schema: *606 examples: - default: *609 + default: *607 '304': *37 '404': *6 '406': @@ -86452,9 +85955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -86496,9 +85999,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: - default: *609 + default: *607 '422': *15 '403': *29 x-github: @@ -86520,9 +86023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: true content: @@ -86582,17 +86085,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '401': *25 '403': *29 '404': *6 @@ -86622,10 +86125,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *375 - - *376 - - *610 - - *164 + - *373 + - *374 + - *608 + - *163 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86635,7 +86138,7 @@ paths: enum: - asc - desc - - *144 + - *143 - *17 - *19 responses: @@ -86645,9 +86148,9 @@ paths: application/json: schema: type: array - items: *606 + items: *604 examples: - default: *611 + default: *609 headers: Link: *39 x-github: @@ -86680,9 +86183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: true content: @@ -86787,7 +86290,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: example-for-a-multi-line-comment: value: @@ -86875,10 +86378,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *375 - - *376 - - *610 - - *153 + - *373 + - *374 + - *608 + - *152 requestBody: required: true content: @@ -86900,7 +86403,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: default: value: @@ -86986,9 +86489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 - *17 - *19 responses: @@ -86998,9 +86501,9 @@ paths: application/json: schema: type: array - items: *496 + items: *494 examples: - default: *612 + default: *610 headers: Link: *39 x-github: @@ -87030,9 +86533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 - *17 - *19 responses: @@ -87042,7 +86545,7 @@ paths: application/json: schema: type: array - items: *511 + items: *509 examples: default: value: @@ -87080,9 +86583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 responses: '204': description: Response if pull request has been merged @@ -87105,9 +86608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -87218,9 +86721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 responses: '200': description: Response @@ -87236,7 +86739,7 @@ paths: items: *4 teams: type: array - items: *286 + items: *284 required: - users - teams @@ -87295,9 +86798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -87334,7 +86837,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: default: value: @@ -87870,9 +87373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: true content: @@ -87906,7 +87409,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: default: value: @@ -88411,9 +87914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 - *17 - *19 responses: @@ -88423,7 +87926,7 @@ paths: application/json: schema: type: array - items: &613 + items: &611 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88492,7 +87995,7 @@ paths: type: string body_text: type: string - author_association: *141 + author_association: *140 required: - id - node_id @@ -88574,9 +88077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -88662,9 +88165,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: &615 + default: &613 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88727,10 +88230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - &614 + - *373 + - *374 + - *608 + - &612 name: review_id description: The unique identifier of the review. in: path @@ -88742,9 +88245,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: &616 + default: &614 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88803,10 +88306,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 requestBody: required: true content: @@ -88829,7 +88332,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: default: value: @@ -88891,18 +88394,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 responses: '200': description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: *615 + default: *613 '422': *7 '404': *6 x-github: @@ -88929,10 +88432,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 - *17 - *19 responses: @@ -89011,13 +88514,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *141 + author_association: *140 _links: type: object properties: - self: *502 - html: *502 - pull_request: *502 + self: *500 + html: *500 + pull_request: *500 required: - self - html @@ -89026,7 +88529,7 @@ paths: type: string body_html: type: string - reactions: *142 + reactions: *141 side: description: The side of the first line of the range for a multi-line comment. @@ -89160,10 +88663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 requestBody: required: true content: @@ -89191,7 +88694,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: default: value: @@ -89254,10 +88757,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 requestBody: required: true content: @@ -89292,9 +88795,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: *616 + default: *614 '404': *6 '422': *7 '403': *29 @@ -89316,9 +88819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -89381,8 +88884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *375 - - *376 + - *373 + - *374 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89395,9 +88898,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: &618 + default: &616 value: type: file encoding: base64 @@ -89439,8 +88942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *375 - - *376 + - *373 + - *374 - name: dir description: The alternate path to look for a README file in: path @@ -89460,9 +88963,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: *618 + default: *616 '404': *6 '422': *15 x-github: @@ -89484,8 +88987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -89495,7 +88998,7 @@ paths: application/json: schema: type: array - items: &619 + items: &617 title: Release description: A release. type: object @@ -89558,7 +89061,7 @@ paths: author: *4 assets: type: array - items: &620 + items: &618 title: Release Asset description: Data related to a release. type: object @@ -89629,7 +89132,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *142 + reactions: *141 required: - assets_url - upload_url @@ -89739,8 +89242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -89816,9 +89319,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: &623 + default: &621 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89921,9 +89424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *375 - - *376 - - &621 + - *373 + - *374 + - &619 name: asset_id description: The unique identifier of the asset. in: path @@ -89935,9 +89438,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: &622 + default: &620 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 @@ -89971,7 +89474,7 @@ paths: type: User site_admin: false '404': *6 - '302': *513 + '302': *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89987,9 +89490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *375 - - *376 - - *621 + - *373 + - *374 + - *619 requestBody: required: false content: @@ -90017,9 +89520,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *622 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90035,9 +89538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *375 - - *376 - - *621 + - *373 + - *374 + - *619 responses: '204': description: Response @@ -90061,8 +89564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -90147,16 +89650,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: *623 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90173,8 +89676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *375 - - *376 + - *373 + - *374 - name: tag description: tag parameter in: path @@ -90187,9 +89690,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: *623 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -90211,9 +89714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *375 - - *376 - - &624 + - *373 + - *374 + - &622 name: release_id description: The unique identifier of the release. in: path @@ -90227,9 +89730,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *619 + schema: *617 examples: - default: *623 + default: *621 '401': description: Unauthorized x-github: @@ -90247,9 +89750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 requestBody: required: false content: @@ -90313,9 +89816,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: *623 + default: *621 '404': description: Not Found if the discussion category name is invalid content: @@ -90336,9 +89839,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 responses: '204': description: Response @@ -90358,9 +89861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 - *17 - *19 responses: @@ -90370,7 +89873,7 @@ paths: application/json: schema: type: array - items: *620 + items: *618 examples: default: value: @@ -90451,9 +89954,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: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 - name: name in: query required: true @@ -90479,7 +89982,7 @@ paths: description: Response for successful upload content: application/json: - schema: *620 + schema: *618 examples: response-for-successful-upload: value: @@ -90533,9 +90036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90559,9 +90062,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 @@ -90582,9 +90085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 requestBody: required: true content: @@ -90614,16 +90117,16 @@ paths: description: Reaction exists content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Reaction created content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -90645,10 +90148,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *375 - - *376 - - *624 - - *367 + - *373 + - *374 + - *622 + - *365 responses: '204': description: Response @@ -90672,9 +90175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 - *17 - *19 responses: @@ -90690,8 +90193,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *625 - - &627 + - *623 + - &625 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90710,66 +90213,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *624 + - *625 - allOf: - *626 + - *625 + - allOf: - *627 + - *625 - allOf: - *628 - - *627 + - *625 - allOf: - *629 - - *627 + - *625 - allOf: - *630 - - *627 + - *625 - allOf: - *631 - - *627 + - *625 - allOf: - *632 - - *627 + - *625 - allOf: - *633 - - *627 + - *625 - allOf: - *634 - - *627 + - *625 - allOf: - *635 - - *627 + - *625 - allOf: - *636 - - *627 + - *625 - allOf: - *637 - - *627 + - *625 - allOf: - *638 - - *627 + - *625 - allOf: - *639 - - *627 + - *625 - allOf: - *640 - - *627 + - *625 - allOf: - *641 - - *627 + - *625 - allOf: - *642 - - *627 + - *625 - allOf: - *643 - - *627 + - *625 - allOf: - *644 - - *627 - - allOf: - - *645 - - *627 - - allOf: - - *646 - - *627 + - *625 examples: default: value: @@ -90808,8 +90311,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 - name: includes_parents @@ -90820,7 +90323,7 @@ paths: schema: type: boolean default: true - - *647 + - *645 responses: '200': description: Response @@ -90875,8 +90378,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 requestBody: description: Request body required: true @@ -90938,7 +90441,7 @@ paths: application/json: schema: *128 examples: - default: &656 + default: &654 value: id: 42 name: super cool ruleset @@ -90985,12 +90488,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *375 - - *376 + - *373 + - *374 + - *646 + - *221 + - *647 - *648 - - *222 - - *649 - - *650 - *17 - *19 responses: @@ -90998,9 +90501,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *652 + default: *650 '404': *6 '500': *99 x-github: @@ -91021,17 +90524,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *375 - - *376 - - *653 + - *373 + - *374 + - *651 responses: '200': description: Response content: application/json: - schema: *654 + schema: *652 examples: - default: *655 + default: *653 '404': *6 '500': *99 x-github: @@ -91059,8 +90562,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91082,7 +90585,7 @@ paths: application/json: schema: *128 examples: - default: *656 + default: *654 '404': *6 '500': *99 put: @@ -91100,8 +90603,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91165,7 +90668,7 @@ paths: application/json: schema: *128 examples: - default: *656 + default: *654 '404': *6 '500': *99 delete: @@ -91183,8 +90686,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91207,8 +90710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 - name: ruleset_id @@ -91226,7 +90729,7 @@ paths: type: array items: *131 examples: - default: *331 + default: *329 '404': *6 '500': *99 x-github: @@ -91245,8 +90748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *375 - - *376 + - *373 + - *374 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91264,7 +90767,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *330 examples: default: value: @@ -91319,20 +90822,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 + - *331 + - *332 - *333 - *334 - - *335 - - *336 - *86 - *19 - *17 - - *657 - - *658 + - *655 + - *656 + - *335 + - *336 - *337 - - *338 - - *339 responses: '200': description: Response @@ -91340,7 +90843,7 @@ paths: application/json: schema: type: array - items: &661 + items: &659 type: object properties: number: *100 @@ -91359,8 +90862,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *659 - resolution: *660 + state: *657 + resolution: *658 resolved_at: type: string format: date-time @@ -91578,15 +91081,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 responses: '200': description: Response content: application/json: - schema: *661 + schema: *659 examples: default: value: @@ -91638,9 +91141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 requestBody: required: true content: @@ -91648,8 +91151,8 @@ paths: schema: type: object properties: - state: *659 - resolution: *660 + state: *657 + resolution: *658 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -91667,7 +91170,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *659 examples: default: value: @@ -91742,9 +91245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 - *19 - *17 responses: @@ -91755,7 +91258,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &821 + items: &819 type: object properties: type: @@ -92114,8 +91617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -92123,14 +91626,14 @@ paths: schema: type: object properties: - reason: &663 + reason: &661 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *662 + placeholder_id: *660 required: - reason - placeholder_id @@ -92147,7 +91650,7 @@ paths: schema: type: object properties: - reason: *663 + reason: *661 expire_at: type: string format: date-time @@ -92190,8 +91693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -92206,7 +91709,7 @@ paths: properties: incremental_scans: type: array - items: &664 + items: &662 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92232,15 +91735,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *664 + items: *662 backfill_scans: type: array - items: *664 + items: *662 custom_pattern_backfill_scans: type: array items: allOf: - - *664 + - *662 - type: object properties: pattern_name: @@ -92310,8 +91813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *375 - - *376 + - *373 + - *374 - *86 - name: sort description: The property to sort the results by. @@ -92355,9 +91858,9 @@ paths: application/json: schema: type: array - items: *665 + items: *663 examples: - default: *666 + default: *664 '400': *14 '404': *6 x-github: @@ -92380,8 +91883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -92454,7 +91957,7 @@ paths: login: type: string description: The username of the user credited. - type: *342 + type: *340 required: - login - type @@ -92541,9 +92044,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: - default: &668 + default: &666 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92776,8 +92279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -92881,7 +92384,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: default: value: @@ -93028,17 +92531,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *375 - - *376 - - *667 + - *373 + - *374 + - *665 responses: '200': description: Response content: application/json: - schema: *665 + schema: *663 examples: - default: *668 + default: *666 '403': *29 '404': *6 x-github: @@ -93062,9 +92565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *375 - - *376 - - *667 + - *373 + - *374 + - *665 requestBody: required: true content: @@ -93137,7 +92640,7 @@ paths: login: type: string description: The username of the user credited. - type: *342 + type: *340 required: - login - type @@ -93223,17 +92726,17 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: - default: *668 - add_credit: *668 + default: *666 + add_credit: *666 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *180 + schema: *179 examples: invalid_state_transition: value: @@ -93264,9 +92767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *375 - - *376 - - *667 + - *373 + - *374 + - *665 responses: '202': *95 '400': *14 @@ -93293,17 +92796,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *375 - - *376 - - *667 + - *373 + - *374 + - *665 responses: '202': description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 + default: *388 '400': *14 '422': *15 '403': *29 @@ -93329,8 +92832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -93429,8 +92932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93439,7 +92942,7 @@ paths: application/json: schema: type: array - items: &669 + items: &667 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93472,8 +92975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -93549,8 +93052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -93646,8 +93149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93801,8 +93304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93812,7 +93315,7 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: default: value: @@ -93845,8 +93348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *375 - - *376 + - *373 + - *374 - name: sha in: path required: true @@ -93900,7 +93403,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *668 examples: default: value: @@ -93954,8 +93457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -93967,7 +93470,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -93987,14 +93490,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &671 + schema: &669 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94062,8 +93565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -94089,7 +93592,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *669 examples: default: value: @@ -94116,8 +93619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -94137,8 +93640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -94217,8 +93720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -94226,7 +93729,7 @@ paths: application/json: schema: type: array - items: &672 + items: &670 title: Tag protection description: Tag protection type: object @@ -94278,8 +93781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -94302,7 +93805,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *670 examples: default: value: @@ -94333,8 +93836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94371,8 +93874,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *375 - - *376 + - *373 + - *374 - name: ref in: path required: true @@ -94408,8 +93911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -94419,9 +93922,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 headers: Link: *39 '404': *6 @@ -94441,8 +93944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *375 - - *376 + - *373 + - *374 - *19 - *17 responses: @@ -94450,7 +93953,7 @@ paths: description: Response content: application/json: - schema: &673 + schema: &671 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94462,7 +93965,7 @@ paths: required: - names examples: - default: &674 + default: &672 value: names: - octocat @@ -94485,8 +93988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -94517,9 +94020,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *671 examples: - default: *674 + default: *672 '404': *6 '422': *7 x-github: @@ -94540,9 +94043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *375 - - *376 - - &675 + - *373 + - *374 + - &673 name: per description: The time frame to display results for. in: query @@ -94571,7 +94074,7 @@ paths: example: 128 clones: type: array - items: &676 + items: &674 title: Traffic type: object properties: @@ -94658,8 +94161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -94749,8 +94252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -94810,9 +94313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *375 - - *376 - - *675 + - *373 + - *374 + - *673 responses: '200': description: Response @@ -94831,7 +94334,7 @@ paths: example: 3782 views: type: array - items: *676 + items: *674 required: - uniques - count @@ -94908,8 +94411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -94945,7 +94448,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *196 examples: default: value: @@ -95183,8 +94686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95207,8 +94710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -95230,8 +94733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -95257,8 +94760,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *375 - - *376 + - *373 + - *374 - name: ref in: path required: true @@ -95350,9 +94853,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 + default: *388 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95393,7 +94896,7 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: default: value: @@ -95503,7 +95006,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &684 + - &682 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -95512,7 +95015,7 @@ paths: schema: type: string example: members - - &689 + - &687 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -95523,7 +95026,7 @@ paths: default: 1 format: int32 example: 1 - - &690 + - &688 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -95565,7 +95068,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &678 + items: &676 allOf: - type: object required: @@ -95640,7 +95143,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &691 + meta: &689 type: object description: The metadata associated with the creation/updates to the user. @@ -95700,31 +95203,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &679 + '400': &677 description: Bad request content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '401': &680 + schema: *675 + '401': &678 description: Authorization failure - '403': &681 + '403': &679 description: Permission denied - '429': &682 + '429': &680 description: Too many requests content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '500': &683 + schema: *675 + '500': &681 description: Internal server error content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 + schema: *675 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95748,7 +95251,7 @@ paths: required: true content: application/json: - schema: &687 + schema: &685 type: object required: - schemas @@ -95804,9 +95307,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *678 + schema: *676 examples: - group: &685 + group: &683 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -95825,13 +95328,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *679 - '401': *680 - '403': *681 - '409': &688 + '400': *677 + '401': *678 + '403': *679 + '409': &686 description: Duplicate record detected - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95848,7 +95351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &686 + - &684 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -95856,22 +95359,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *684 + - *682 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *678 + schema: *676 examples: - default: *685 - '400': *679 - '401': *680 - '403': *681 + default: *683 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95890,13 +95393,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *686 + - *684 - *40 requestBody: required: true content: application/json: - schema: *687 + schema: *685 examples: group: summary: Group @@ -95922,17 +95425,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *678 + schema: *676 examples: - group: *685 - groupWithMembers: *685 - '400': *679 - '401': *680 - '403': *681 + group: *683 + groupWithMembers: *683 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '409': *688 - '429': *682 - '500': *683 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95956,13 +95459,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *686 + - *684 - *40 requestBody: required: true content: application/json: - schema: &698 + schema: &696 type: object required: - Operations @@ -96022,17 +95525,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *678 + schema: *676 examples: - updateGroup: *685 - addMembers: *685 - '400': *679 - '401': *680 - '403': *681 + updateGroup: *683 + addMembers: *683 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '409': *688 - '429': *682 - '500': *683 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96048,17 +95551,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *686 + - *684 - *40 responses: '204': description: Group was deleted, no content - '400': *679 - '401': *680 - '403': *681 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96092,8 +95595,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *689 - - *690 + - *687 + - *688 - *40 responses: '200': @@ -96126,7 +95629,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &693 + items: &691 allOf: - type: object required: @@ -96205,7 +95708,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &692 + roles: &690 type: array description: The roles assigned to the user. items: @@ -96261,7 +95764,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *691 + meta: *689 startIndex: type: integer description: A starting index for the returned page @@ -96298,11 +95801,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *679 - '401': *680 - '403': *681 - '429': *682 - '500': *683 + '400': *677 + '401': *678 + '403': *679 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96326,7 +95829,7 @@ paths: required: true content: application/json: - schema: &696 + schema: &694 type: object required: - schemas @@ -96408,9 +95911,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *692 + roles: *690 examples: - user: &697 + user: &695 summary: User value: schemas: @@ -96457,9 +95960,9 @@ paths: description: User has been created content: application/scim+json: - schema: *693 + schema: *691 examples: - user: &694 + user: &692 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -96485,13 +95988,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *694 - '400': *679 - '401': *680 - '403': *681 - '409': *688 - '429': *682 - '500': *683 + enterpriseOwner: *692 + '400': *677 + '401': *678 + '403': *679 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96508,7 +96011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &695 + - &693 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -96521,15 +96024,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *693 + schema: *691 examples: - default: *694 - '400': *679 - '401': *680 - '403': *681 + default: *692 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96551,30 +96054,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *695 + - *693 - *40 requestBody: required: true content: application/json: - schema: *696 + schema: *694 examples: - user: *697 + user: *695 responses: '200': description: User was updated content: application/scim+json: - schema: *693 + schema: *691 examples: - user: *694 - '400': *679 - '401': *680 - '403': *681 + user: *692 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '409': *688 - '429': *682 - '500': *683 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96609,13 +96112,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *695 + - *693 - *40 requestBody: required: true content: application/json: - schema: *698 + schema: *696 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -96655,18 +96158,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *693 - examples: - userMultiValuedProperties: *694 - userSingleValuedProperties: *694 - disableUser: *694 - '400': *679 - '401': *680 - '403': *681 + schema: *691 + examples: + userMultiValuedProperties: *692 + userSingleValuedProperties: *692 + disableUser: *692 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '409': *688 - '429': *682 - '500': *683 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96686,17 +96189,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *695 + - *693 - *40 responses: '204': description: User was deleted, no content - '400': *679 - '401': *680 - '403': *681 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96729,7 +96232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *171 + - *170 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -96783,7 +96286,7 @@ paths: example: 1 Resources: type: array - items: &699 + items: &697 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97014,22 +96517,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &700 + '404': &698 description: Resource not found content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '403': &701 + schema: *675 + '403': &699 description: Forbidden content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '400': *679 - '429': *682 + schema: *675 + '400': *677 + '429': *680 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97049,15 +96552,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *171 + - *170 responses: '201': description: Response content: application/scim+json: - schema: *699 + schema: *697 examples: - default: &702 + default: &700 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97080,17 +96583,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *700 - '403': *701 - '500': *683 + '404': *698 + '403': *699 + '500': *681 '409': description: Conflict content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '400': *679 + schema: *675 + '400': *677 requestBody: required: true content: @@ -97182,18 +96685,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *171 - - *695 + - *170 + - *693 responses: '200': description: Response content: application/scim+json: - schema: *699 + schema: *697 examples: - default: *702 - '404': *700 - '403': *701 + default: *700 + '404': *698 + '403': *699 '304': *37 x-github: githubCloudOnly: true @@ -97216,19 +96719,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *171 - - *695 + - *170 + - *693 responses: '200': description: Response content: application/scim+json: - schema: *699 + schema: *697 examples: - default: *702 + default: *700 '304': *37 - '404': *700 - '403': *701 + '404': *698 + '403': *699 requestBody: required: true content: @@ -97336,20 +96839,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *171 - - *695 + - *170 + - *693 responses: '200': description: Response content: application/scim+json: - schema: *699 + schema: *697 examples: - default: *702 + default: *700 '304': *37 - '404': *700 - '403': *701 - '400': *679 + '404': *698 + '403': *699 + '400': *677 '429': description: Response content: @@ -97439,13 +96942,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *171 - - *695 + - *170 + - *693 responses: '204': description: Response - '404': *700 - '403': *701 + '404': *698 + '403': *699 '304': *37 x-github: githubCloudOnly: true @@ -97560,7 +97063,7 @@ paths: html_url: type: string format: uri - repository: *197 + repository: *196 score: type: number file_size: @@ -97578,7 +97081,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &703 + text_matches: &701 title: Search Result Text Matches type: array items: @@ -97741,7 +97244,7 @@ paths: enum: - author-date - committer-date - - &704 + - &702 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 @@ -97812,7 +97315,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *432 + properties: *430 nullable: true comment_count: type: integer @@ -97832,7 +97335,7 @@ paths: url: type: string format: uri - verification: *548 + verification: *546 required: - author - committer @@ -97851,7 +97354,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *432 + properties: *430 nullable: true parents: type: array @@ -97864,12 +97367,12 @@ paths: type: string sha: type: string - repository: *197 + repository: *196 score: type: number node_id: type: string - text_matches: *703 + text_matches: *701 required: - sha - node_id @@ -98052,7 +97555,7 @@ paths: - interactions - created - updated - - *704 + - *702 - *17 - *19 - name: advanced_search @@ -98179,8 +97682,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *500 - required: *501 + properties: *498 + required: *499 nullable: true comments: type: integer @@ -98194,7 +97697,7 @@ paths: type: string format: date-time nullable: true - text_matches: *703 + text_matches: *701 pull_request: type: object properties: @@ -98227,7 +97730,7 @@ paths: type: string score: type: number - author_association: *141 + author_association: *140 draft: type: boolean repository: *63 @@ -98238,7 +97741,7 @@ paths: timeline_url: type: string format: uri - type: *287 + type: *285 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -98248,9 +97751,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - reactions: *142 + properties: *138 + required: *139 + reactions: *141 required: - assignee - closed_at @@ -98422,7 +97925,7 @@ paths: enum: - created - updated - - *704 + - *702 - *17 - *19 responses: @@ -98466,7 +97969,7 @@ paths: nullable: true score: type: number - text_matches: *703 + text_matches: *701 required: - id - node_id @@ -98552,7 +98055,7 @@ paths: - forks - help-wanted-issues - updated - - *704 + - *702 - *17 - *19 responses: @@ -98771,8 +98274,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true permissions: type: object @@ -98791,7 +98294,7 @@ paths: - admin - pull - push - text_matches: *703 + text_matches: *701 temp_clone_token: type: string allow_merge_commit: @@ -99092,7 +98595,7 @@ paths: type: string format: uri nullable: true - text_matches: *703 + text_matches: *701 related: type: array nullable: true @@ -99285,7 +98788,7 @@ paths: - followers - repositories - joined - - *704 + - *702 - *17 - *19 responses: @@ -99389,7 +98892,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *703 + text_matches: *701 blog: type: string nullable: true @@ -99468,7 +98971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &705 + - &703 name: team_id description: The unique identifier of the team. in: path @@ -99480,9 +98983,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '404': *6 x-github: githubCloudOnly: false @@ -99509,7 +99012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *705 + - *703 requestBody: required: true content: @@ -99572,16 +99075,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '201': description: Response content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '404': *6 '422': *15 '403': *29 @@ -99609,7 +99112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *705 + - *703 responses: '204': description: Response @@ -99640,7 +99143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *705 + - *703 - *86 - *17 - *19 @@ -99651,9 +99154,9 @@ paths: application/json: schema: type: array - items: *358 + items: *356 examples: - default: *706 + default: *704 headers: Link: *39 x-github: @@ -99682,7 +99185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *705 + - *703 requestBody: required: true content: @@ -99716,9 +99219,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *359 + default: *357 x-github: triggersNotification: true githubCloudOnly: false @@ -99745,16 +99248,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 responses: '200': description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *359 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99779,8 +99282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 requestBody: required: false content: @@ -99803,9 +99306,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *707 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99830,8 +99333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 responses: '204': description: Response @@ -99860,8 +99363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *705 - - *360 + - *703 + - *358 - *86 - *17 - *19 @@ -99872,9 +99375,9 @@ paths: application/json: schema: type: array - items: *361 + items: *359 examples: - default: *708 + default: *706 headers: Link: *39 x-github: @@ -99903,8 +99406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *705 - - *360 + - *703 + - *358 requestBody: required: true content: @@ -99926,9 +99429,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: *362 + default: *360 x-github: triggersNotification: true githubCloudOnly: false @@ -99955,17 +99458,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: *362 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99990,9 +99493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 requestBody: required: true content: @@ -100014,9 +99517,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: *709 + default: *707 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100041,9 +99544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 responses: '204': description: Response @@ -100072,9 +99575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -100100,9 +99603,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 x-github: @@ -100131,9 +99634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 requestBody: required: true content: @@ -100165,9 +99668,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100193,8 +99696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -100220,9 +99723,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 x-github: @@ -100251,8 +99754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 requestBody: required: true content: @@ -100284,9 +99787,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100310,7 +99813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *705 + - *703 - *17 - *19 responses: @@ -100320,9 +99823,9 @@ paths: application/json: schema: type: array - items: *283 + items: *281 examples: - default: *284 + default: *282 headers: Link: *39 x-github: @@ -100348,7 +99851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *705 + - *703 - name: role description: Filters members returned by their role in the team. in: query @@ -100371,7 +99874,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '404': *6 @@ -100399,8 +99902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '204': description: if user is a member @@ -100436,8 +99939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '204': description: Response @@ -100476,8 +99979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '204': description: Response @@ -100513,16 +100016,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '200': description: Response content: application/json: - schema: *372 + schema: *370 examples: - response-if-user-is-a-team-maintainer: *710 + response-if-user-is-a-team-maintainer: *708 '404': *6 x-github: githubCloudOnly: false @@ -100555,8 +100058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *705 - - *219 + - *703 + - *218 requestBody: required: false content: @@ -100581,9 +100084,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *370 examples: - response-if-users-membership-with-team-is-now-pending: *711 + response-if-users-membership-with-team-is-now-pending: *709 '403': description: Forbidden if team synchronization is set up '422': @@ -100617,8 +100120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '204': description: Response @@ -100646,7 +100149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *705 + - *703 - *17 - *19 responses: @@ -100656,9 +100159,9 @@ paths: application/json: schema: type: array - items: *373 + items: *371 examples: - default: *712 + default: *710 headers: Link: *39 '404': *6 @@ -100684,16 +100187,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *705 - - *374 + - *703 + - *372 responses: '200': description: Response content: application/json: - schema: *373 + schema: *371 examples: - default: *713 + default: *711 '404': description: Not Found if project is not managed by this team x-github: @@ -100717,8 +100220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *705 - - *374 + - *703 + - *372 requestBody: required: false content: @@ -100785,8 +100288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *705 - - *374 + - *703 + - *372 responses: '204': description: Response @@ -100813,7 +100316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *705 + - *703 - *17 - *19 responses: @@ -100823,9 +100326,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 '404': *6 @@ -100855,15 +100358,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *705 - - *375 - - *376 + - *703 + - *373 + - *374 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *714 + schema: *712 examples: alternative-response-with-extra-repository-information: value: @@ -101014,9 +100517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *705 - - *375 - - *376 + - *703 + - *373 + - *374 requestBody: required: false content: @@ -101066,9 +100569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *705 - - *375 - - *376 + - *703 + - *373 + - *374 responses: '204': description: Response @@ -101097,15 +100600,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *705 + - *703 responses: '200': description: Response content: application/json: - schema: *377 + schema: *375 examples: - default: *378 + default: *376 '403': *29 '404': *6 x-github: @@ -101132,7 +100635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *705 + - *703 requestBody: required: true content: @@ -101189,7 +100692,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *375 examples: default: value: @@ -101220,7 +100723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *705 + - *703 - *17 - *19 responses: @@ -101230,9 +100733,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - response-if-child-teams-exist: *715 + response-if-child-teams-exist: *713 headers: Link: *39 '404': *6 @@ -101265,7 +100768,7 @@ paths: application/json: schema: oneOf: - - &717 + - &715 title: Private User description: Private User type: object @@ -101468,7 +100971,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *716 + - *714 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -101621,7 +101124,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: default: value: @@ -101700,7 +101203,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '304': *37 '404': *6 '403': *29 @@ -101723,7 +101226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *219 + - *218 responses: '204': description: If the user is blocked @@ -101751,7 +101254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *219 + - *218 responses: '204': description: Response @@ -101775,7 +101278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *219 + - *218 responses: '204': description: Response @@ -101824,9 +101327,9 @@ paths: type: integer codespaces: type: array - items: *293 + items: *291 examples: - default: *294 + default: *292 '304': *37 '500': *99 '401': *25 @@ -101965,17 +101468,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '401': *25 '403': *29 '404': *6 @@ -102019,7 +101522,7 @@ paths: type: integer secrets: type: array - items: &718 + items: &716 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102059,7 +101562,7 @@ paths: - visibility - selected_repositories_url examples: - default: *488 + default: *486 headers: Link: *39 x-github: @@ -102129,13 +101632,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *207 + - *206 responses: '200': description: Response content: application/json: - schema: *718 + schema: *716 examples: default: value: @@ -102165,7 +101668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *207 + - *206 requestBody: required: true content: @@ -102210,7 +101713,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -102238,7 +101741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *207 + - *206 responses: '204': description: Response @@ -102263,7 +101766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *207 + - *206 responses: '200': description: Response @@ -102279,9 +101782,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: *719 + default: *717 '401': *25 '403': *29 '404': *6 @@ -102306,7 +101809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *207 + - *206 requestBody: required: true content: @@ -102360,7 +101863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *207 + - *206 - name: repository_id in: path required: true @@ -102393,7 +101896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *207 + - *206 - name: repository_id in: path required: true @@ -102425,15 +101928,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '304': *37 '500': *99 '401': *25 @@ -102459,7 +101962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 requestBody: required: false content: @@ -102489,9 +101992,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '401': *25 '403': *29 '404': *6 @@ -102513,7 +102016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '202': *95 '304': *37 @@ -102542,13 +102045,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '202': description: Response content: application/json: - schema: &720 + schema: &718 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -102589,7 +102092,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &721 + default: &719 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -102621,7 +102124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *295 + - *293 - name: export_id in: path required: true @@ -102634,9 +102137,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *721 + default: *719 '404': *6 x-github: githubCloudOnly: false @@ -102657,7 +102160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *295 + - *293 responses: '200': description: Response @@ -102673,9 +102176,9 @@ paths: type: integer machines: type: array - items: *722 + items: *720 examples: - default: *723 + default: *721 '304': *37 '500': *99 '401': *25 @@ -102704,7 +102207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *295 + - *293 requestBody: required: true content: @@ -102754,13 +102257,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *388 + repository: *386 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *486 - required: *487 + properties: *484 + required: *485 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -103534,15 +103037,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '304': *37 '500': *99 '400': *14 @@ -103574,15 +103077,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '500': *99 '401': *25 '403': *29 @@ -103612,9 +103115,9 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: &736 + default: &734 value: - id: 197 name: hello_docker @@ -103715,7 +103218,7 @@ paths: application/json: schema: type: array - items: &724 + items: &722 title: Email description: Email type: object @@ -103780,9 +103283,9 @@ paths: application/json: schema: type: array - items: *724 + items: *722 examples: - default: &738 + default: &736 value: - email: octocat@github.com verified: true @@ -103857,7 +103360,7 @@ paths: application/json: schema: type: array - items: *724 + items: *722 examples: default: value: @@ -103967,7 +103470,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '304': *37 @@ -104000,7 +103503,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '304': *37 @@ -104022,7 +103525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *219 + - *218 responses: '204': description: if the person is followed by the authenticated user @@ -104052,7 +103555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *219 + - *218 responses: '204': description: Response @@ -104077,7 +103580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *219 + - *218 responses: '204': description: Response @@ -104113,7 +103616,7 @@ paths: application/json: schema: type: array - items: &725 + items: &723 title: GPG Key description: A unique encryption key type: object @@ -104244,7 +103747,7 @@ paths: - subkeys - revoked examples: - default: &749 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -104329,9 +103832,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *723 examples: - default: &726 + default: &724 value: id: 3 name: Octocat's GPG Key @@ -104388,7 +103891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &727 + - &725 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -104400,9 +103903,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *723 examples: - default: *726 + default: *724 '404': *6 '304': *37 '403': *29 @@ -104425,7 +103928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *727 + - *725 responses: '204': description: Response @@ -104616,7 +104119,7 @@ paths: type: array items: *63 examples: - default: *728 + default: *726 headers: Link: *39 '404': *6 @@ -104641,7 +104144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *192 + - *191 responses: '204': description: Response @@ -104667,7 +104170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *192 + - *191 responses: '204': description: Response @@ -104701,12 +104204,12 @@ paths: application/json: schema: anyOf: - - *281 + - *279 - type: object properties: {} additionalProperties: false examples: - default: *282 + default: *280 '204': description: Response when there are no restrictions x-github: @@ -104730,7 +104233,7 @@ paths: required: true content: application/json: - schema: *559 + schema: *557 examples: default: value: @@ -104741,7 +104244,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: default: value: @@ -104822,7 +104325,7 @@ paths: - closed - all default: open - - *290 + - *288 - name: sort description: What to sort results by. in: query @@ -104835,7 +104338,7 @@ paths: - comments default: created - *86 - - *144 + - *143 - *17 - *19 responses: @@ -104845,9 +104348,9 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: *291 + default: *289 headers: Link: *39 '404': *6 @@ -104880,7 +104383,7 @@ paths: application/json: schema: type: array - items: &729 + items: &727 title: Key description: Key type: object @@ -104977,9 +104480,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *727 examples: - default: &730 + default: &728 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105012,15 +104515,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *588 + - *586 responses: '200': description: Response content: application/json: - schema: *729 + schema: *727 examples: - default: *730 + default: *728 '404': *6 '304': *37 '403': *29 @@ -105043,7 +104546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *588 + - *586 responses: '204': description: Response @@ -105076,7 +104579,7 @@ paths: application/json: schema: type: array - items: &731 + items: &729 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -105133,7 +104636,7 @@ paths: - id - type - login - plan: *158 + plan: *157 required: - billing_cycle - next_billing_date @@ -105144,7 +104647,7 @@ paths: - account - plan examples: - default: &732 + default: &730 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -105206,9 +104709,9 @@ paths: application/json: schema: type: array - items: *731 + items: *729 examples: - default: *732 + default: *730 headers: Link: *39 '304': *37 @@ -105248,7 +104751,7 @@ paths: application/json: schema: type: array - items: *296 + items: *294 examples: default: value: @@ -105350,13 +104853,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *296 + schema: *294 examples: default: value: @@ -105414,7 +104917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *171 + - *170 requestBody: required: true content: @@ -105439,7 +104942,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *294 examples: default: value: @@ -105507,7 +105010,7 @@ paths: application/json: schema: type: array - items: *298 + items: *296 examples: default: value: @@ -105760,7 +105263,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *296 examples: default: value: @@ -105940,7 +105443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *299 + - *297 - name: exclude in: query required: false @@ -105953,7 +105456,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *296 examples: default: value: @@ -106147,7 +105650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *299 + - *297 responses: '302': description: Response @@ -106173,7 +105676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *299 + - *297 responses: '204': description: Response @@ -106202,8 +105705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *299 - - *733 + - *297 + - *731 responses: '204': description: Response @@ -106227,7 +105730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *299 + - *297 - *17 - *19 responses: @@ -106237,9 +105740,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 '404': *6 @@ -106276,7 +105779,7 @@ paths: type: array items: *58 examples: - default: *734 + default: *732 headers: Link: *39 '304': *37 @@ -106318,7 +105821,7 @@ paths: - docker - nuget - container - - *735 + - *733 - *19 - *17 responses: @@ -106328,10 +105831,10 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: *736 - '400': *737 + default: *734 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106351,16 +105854,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *307 - - *308 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *305 + schema: *303 examples: - default: &750 + default: &748 value: id: 40201 name: octo-name @@ -106473,8 +105976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *307 - - *308 + - *305 + - *306 responses: '204': description: Response @@ -106504,8 +106007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *307 - - *308 + - *305 + - *306 - name: token description: package token schema: @@ -106537,8 +106040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *307 - - *308 + - *305 + - *306 - *19 - *17 - name: state @@ -106558,7 +106061,7 @@ paths: application/json: schema: type: array - items: *309 + items: *307 examples: default: value: @@ -106607,15 +106110,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *307 + - *305 + - *306 - *308 - - *310 responses: '200': description: Response content: application/json: - schema: *309 + schema: *307 examples: default: value: @@ -106651,9 +106154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *307 + - *305 + - *306 - *308 - - *310 responses: '204': description: Response @@ -106683,9 +106186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *307 + - *305 + - *306 - *308 - - *310 responses: '204': description: Response @@ -106741,7 +106244,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: default: value: @@ -106813,9 +106316,9 @@ paths: application/json: schema: type: array - items: *724 + items: *722 examples: - default: *738 + default: *736 headers: Link: *39 '304': *37 @@ -106928,7 +106431,7 @@ paths: type: array items: *63 examples: - default: &745 + default: &743 summary: Default response value: - id: 1296269 @@ -107230,9 +106733,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 + default: *388 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107270,9 +106773,9 @@ paths: application/json: schema: type: array - items: *561 + items: *559 examples: - default: *739 + default: *737 headers: Link: *39 '304': *37 @@ -107295,7 +106798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *285 + - *283 responses: '204': description: Response @@ -107318,7 +106821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *285 + - *283 responses: '204': description: Response @@ -107351,7 +106854,7 @@ paths: application/json: schema: type: array - items: &740 + items: &738 title: Social account description: Social media account type: object @@ -107366,7 +106869,7 @@ paths: - provider - url examples: - default: &741 + default: &739 value: - provider: twitter url: https://twitter.com/github @@ -107428,9 +106931,9 @@ paths: application/json: schema: type: array - items: *740 + items: *738 examples: - default: *741 + default: *739 '422': *15 '304': *37 '404': *6 @@ -107517,7 +107020,7 @@ paths: application/json: schema: type: array - items: &742 + items: &740 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -107537,7 +107040,7 @@ paths: - title - created_at examples: - default: &751 + default: &749 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107603,9 +107106,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *740 examples: - default: &743 + default: &741 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107636,7 +107139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &744 + - &742 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -107648,9 +107151,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *740 examples: - default: *743 + default: *741 '404': *6 '304': *37 '403': *29 @@ -107673,7 +107176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *744 + - *742 responses: '204': description: Response @@ -107702,7 +107205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &752 + - &750 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 @@ -107727,11 +107230,11 @@ paths: type: array items: *63 examples: - default-response: *745 + default-response: *743 application/vnd.github.v3.star+json: schema: type: array - items: &753 + items: &751 title: Starred Repository description: Starred Repository type: object @@ -107887,8 +107390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response if this repository is starred by you @@ -107916,8 +107419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -107941,8 +107444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -107975,9 +107478,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 '304': *37 @@ -108014,7 +107517,7 @@ paths: application/json: schema: type: array - items: *356 + items: *354 examples: default: value: @@ -108092,7 +107595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *160 + - *159 responses: '200': description: Response @@ -108100,10 +107603,10 @@ paths: application/json: schema: oneOf: - - *717 - - *716 + - *715 + - *714 examples: - default-response: &747 + default-response: &745 summary: Default response value: login: octocat @@ -108138,7 +107641,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &748 + response-with-git-hub-plan-information: &746 summary: Response with GitHub plan information value: login: octocat @@ -108198,7 +107701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *746 + - *744 - *17 responses: '200': @@ -108209,7 +107712,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: example: ; rel="next" @@ -108239,7 +107742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *219 + - *218 responses: '200': description: Response @@ -108247,11 +107750,11 @@ paths: application/json: schema: oneOf: - - *717 - - *716 + - *715 + - *714 examples: - default-response: *747 - response-with-git-hub-plan-information: *748 + default-response: *745 + response-with-git-hub-plan-information: *746 '404': *6 x-github: githubCloudOnly: false @@ -108277,7 +107780,7 @@ paths: - *17 - *84 - *85 - - *219 + - *218 - name: subject_digest description: Subject Digest in: path @@ -108327,12 +107830,12 @@ paths: bundle_url: type: string examples: - default: *428 + default: *426 '201': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -108358,7 +107861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *219 + - *218 responses: '200': description: Response @@ -108366,9 +107869,9 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: *736 + default: *734 '403': *29 '401': *25 x-github: @@ -108391,7 +107894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108401,7 +107904,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -108472,8 +107975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *219 - - *171 + - *218 + - *170 - *17 - *19 responses: @@ -108483,7 +107986,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -108562,7 +108065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108572,7 +108075,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -108639,7 +108142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108651,7 +108154,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -108670,7 +108173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108682,7 +108185,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -108701,7 +108204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *219 + - *218 - name: target_user in: path required: true @@ -108728,8 +108231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *219 - - *144 + - *218 + - *143 - *17 - *19 responses: @@ -108739,9 +108242,9 @@ paths: application/json: schema: type: array - items: *145 + items: *144 examples: - default: *146 + default: *145 headers: Link: *39 '422': *15 @@ -108762,7 +108265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108772,9 +108275,9 @@ paths: application/json: schema: type: array - items: *725 + items: *723 examples: - default: *749 + default: *747 headers: Link: *39 x-github: @@ -108798,7 +108301,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *219 + - *218 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -108870,7 +108373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *219 + - *218 responses: '200': description: Response @@ -108878,7 +108381,7 @@ paths: application/json: schema: *22 examples: - default: *558 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108896,7 +108399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108944,7 +108447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108956,7 +108459,7 @@ paths: type: array items: *58 examples: - default: *734 + default: *732 headers: Link: *39 x-github: @@ -108995,8 +108498,8 @@ paths: - docker - nuget - container - - *735 - - *219 + - *733 + - *218 - *19 - *17 responses: @@ -109006,12 +108509,12 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: *736 + default: *734 '403': *29 '401': *25 - '400': *737 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109031,17 +108534,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *307 - - *308 - - *219 + - *305 + - *306 + - *218 responses: '200': description: Response content: application/json: - schema: *305 + schema: *303 examples: - default: *750 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109062,9 +108565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *307 - - *308 - - *219 + - *305 + - *306 + - *218 responses: '204': description: Response @@ -109096,9 +108599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *307 - - *308 - - *219 + - *305 + - *306 + - *218 - name: token description: package token schema: @@ -109130,9 +108633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *307 - - *308 - - *219 + - *305 + - *306 + - *218 responses: '200': description: Response @@ -109140,7 +108643,7 @@ paths: application/json: schema: type: array - items: *309 + items: *307 examples: default: value: @@ -109198,16 +108701,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *307 + - *305 + - *306 - *308 - - *310 - - *219 + - *218 responses: '200': description: Response content: application/json: - schema: *309 + schema: *307 examples: default: value: @@ -109242,10 +108745,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *307 + - *305 + - *306 + - *218 - *308 - - *219 - - *310 responses: '204': description: Response @@ -109277,10 +108780,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *307 + - *305 + - *306 + - *218 - *308 - - *219 - - *310 responses: '204': description: Response @@ -109306,7 +108809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *219 + - *218 - name: state description: Indicates the state of the projects to return. in: query @@ -109327,7 +108830,7 @@ paths: application/json: schema: type: array - items: *321 + items: *319 examples: default: value: @@ -109389,7 +108892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109399,7 +108902,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -109478,7 +108981,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109488,7 +108991,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -109565,7 +109068,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *219 + - *218 - name: type description: Limit results to repositories of the specified type. in: query @@ -109608,9 +109111,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -109634,15 +109137,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *219 + - *218 responses: '200': description: Response content: application/json: - schema: *344 + schema: *342 examples: - default: *345 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109664,15 +109167,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *219 + - *218 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109694,15 +109197,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *219 + - *218 responses: '200': description: Response content: application/json: - schema: *350 + schema: *348 examples: - default: *351 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109720,7 +109223,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109730,9 +109233,9 @@ paths: application/json: schema: type: array - items: *740 + items: *738 examples: - default: *741 + default: *739 headers: Link: *39 x-github: @@ -109752,7 +109255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109762,9 +109265,9 @@ paths: application/json: schema: type: array - items: *742 + items: *740 examples: - default: *751 + default: *749 headers: Link: *39 x-github: @@ -109788,8 +109291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *219 - - *752 + - *218 + - *750 - *86 - *17 - *19 @@ -109801,11 +109304,11 @@ paths: schema: anyOf: - type: array - items: *753 + items: *751 - type: array items: *63 examples: - default-response: *745 + default-response: *743 headers: Link: *39 x-github: @@ -109824,7 +109327,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109834,9 +109337,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -109964,7 +109467,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &754 + enterprise: &752 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -110022,7 +109525,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &755 + installation: &753 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -110041,7 +109544,7 @@ x-webhooks: required: - id - node_id - organization: &756 + organization: &754 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -110101,13 +109604,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &757 + repository: &755 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &794 + properties: &792 id: description: Unique identifier of the repository example: 42 @@ -110127,8 +109630,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true organization: title: Simple User @@ -110790,7 +110293,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &795 + required: &793 - archive_url - assignees_url - blobs_url @@ -110941,10 +110444,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -111020,11 +110523,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - rule: &758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: &756 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -111247,11 +110750,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - rule: *758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -111434,11 +110937,11 @@ x-webhooks: - everyone required: - from - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - rule: *758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -111509,7 +111012,7 @@ x-webhooks: required: true content: application/json: - schema: &761 + schema: &759 title: Exemption request cancellation event type: object properties: @@ -111517,11 +111020,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: &759 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: &757 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -111746,7 +111249,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &760 + items: &758 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -111854,7 +111357,7 @@ x-webhooks: required: true content: application/json: - schema: &762 + schema: &760 title: Exemption request completed event type: object properties: @@ -111862,11 +111365,11 @@ x-webhooks: type: string enum: - completed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: *759 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -111936,7 +111439,7 @@ x-webhooks: required: true content: application/json: - schema: &763 + schema: &761 title: Exemption request created event type: object properties: @@ -111944,11 +111447,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: *759 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -112018,7 +111521,7 @@ x-webhooks: required: true content: application/json: - schema: &764 + schema: &762 title: Exemption response dismissed event type: object properties: @@ -112026,12 +111529,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: *759 - exemption_response: *760 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -112103,7 +111606,7 @@ x-webhooks: required: true content: application/json: - schema: &765 + schema: &763 title: Exemption response submitted event type: object properties: @@ -112111,12 +111614,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: *759 - exemption_response: *760 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -112189,7 +111692,7 @@ x-webhooks: required: true content: application/json: - schema: *761 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112256,7 +111759,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112323,7 +111826,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112390,7 +111893,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112458,7 +111961,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112536,7 +112039,7 @@ x-webhooks: type: string enum: - completed - check_run: &767 + check_run: &765 title: CheckRun description: A check performed on the code of a given code change type: object @@ -112550,8 +112053,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 check_suite: description: A suite of checks performed on the code of a given code change @@ -112599,8 +112102,8 @@ x-webhooks: type: string pull_requests: type: array - items: *447 - repository: *197 + items: *445 + repository: *196 status: example: completed type: string @@ -112637,7 +112140,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *766 + deployment: *764 details_url: example: https://example.com type: string @@ -112687,7 +112190,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *447 + items: *445 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -112722,9 +112225,9 @@ x-webhooks: - output - app - pull_requests - installation: *755 - organization: *756 - repository: *757 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -113117,10 +112620,10 @@ x-webhooks: type: string enum: - created - check_run: *767 - installation: *755 - organization: *756 - repository: *757 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -113516,10 +113019,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *767 - installation: *755 - organization: *756 - repository: *757 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 requested_action: description: The action requested by the user. type: object @@ -113924,10 +113427,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *767 - installation: *755 - organization: *756 - repository: *757 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -114904,10 +114407,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -115577,10 +115080,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -116244,10 +115747,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -116410,7 +115913,7 @@ x-webhooks: required: - login - id - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116555,20 +116058,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &768 + commit_oid: &766 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: *754 - installation: *755 - organization: *756 - ref: &769 + enterprise: *752 + installation: *753 + organization: *754 + ref: &767 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: *757 + repository: *755 sender: *4 required: - action @@ -116730,7 +116233,7 @@ x-webhooks: required: - login - id - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116960,12 +116463,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *768 - enterprise: *754 - installation: *755 - organization: *756 - ref: *769 - repository: *757 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -117060,7 +116563,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117228,12 +116731,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *768 - enterprise: *754 - installation: *755 - organization: *756 - ref: *769 - repository: *757 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -117396,7 +116899,7 @@ x-webhooks: required: - login - id - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117562,12 +117065,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *768 - enterprise: *754 - installation: *755 - organization: *756 - ref: *769 - repository: *757 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -117664,7 +117167,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117832,16 +117335,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *757 + repository: *755 sender: *4 required: - action @@ -117935,7 +117438,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118075,12 +117578,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *768 - enterprise: *754 - installation: *755 - organization: *756 - ref: *769 - repository: *757 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -118337,10 +117840,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -118420,18 +117923,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *756 - pusher_type: &770 + organization: *754 + pusher_type: &768 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &771 + ref: &769 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -118441,7 +117944,7 @@ x-webhooks: enum: - tag - branch - repository: *757 + repository: *755 sender: *4 required: - ref @@ -118524,9 +118027,9 @@ x-webhooks: enum: - created definition: *114 - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -118611,9 +118114,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -118691,9 +118194,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *114 - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -118771,9 +118274,9 @@ x-webhooks: enum: - updated definition: *114 - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -118850,19 +118353,19 @@ x-webhooks: type: string enum: - updated - enterprise: *754 - installation: *755 - repository: *757 - organization: *756 + enterprise: *752 + installation: *753 + repository: *755 + organization: *754 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *323 + items: *321 old_property_values: type: array description: The old custom property values for the repository. - items: *323 + items: *321 required: - action - repository @@ -118938,18 +118441,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 - pusher_type: *770 - ref: *771 + enterprise: *752 + installation: *753 + organization: *754 + pusher_type: *768 + ref: *769 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *757 + repository: *755 sender: *4 required: - ref @@ -119033,11 +118536,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119121,11 +118624,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119209,11 +118712,11 @@ x-webhooks: type: string enum: - created - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119295,11 +118798,11 @@ x-webhooks: type: string enum: - dismissed - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119381,11 +118884,11 @@ x-webhooks: type: string enum: - fixed - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119468,11 +118971,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119554,11 +119057,11 @@ x-webhooks: type: string enum: - reopened - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119635,9 +119138,9 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - key: &772 + enterprise: *752 + installation: *753 + key: &770 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119673,8 +119176,8 @@ x-webhooks: - verified - created_at - read_only - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119751,11 +119254,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - key: *772 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + key: *770 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120316,12 +119819,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: &776 + workflow: &774 title: Workflow type: object nullable: true @@ -121047,13 +120550,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *523 + deployment: *521 pull_requests: type: array - items: *608 - repository: *757 - organization: *756 - installation: *755 + items: *606 + repository: *755 + organization: *754 + installation: *753 sender: *4 responses: '200': @@ -121124,7 +120627,7 @@ x-webhooks: type: string enum: - approved - approver: &773 + approver: &771 type: object properties: avatar_url: @@ -121167,11 +120670,11 @@ x-webhooks: type: string comment: type: string - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - reviewers: &774 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: &772 type: array items: type: object @@ -121250,7 +120753,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &775 + workflow_job_run: &773 type: object properties: conclusion: @@ -121981,18 +121484,18 @@ x-webhooks: type: string enum: - rejected - approver: *773 + approver: *771 comment: type: string - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - reviewers: *774 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: *772 sender: *4 since: type: string - workflow_job_run: *775 + workflow_job_run: *773 workflow_job_runs: type: array items: @@ -122696,13 +122199,13 @@ x-webhooks: type: string enum: - requested - enterprise: *754 + enterprise: *752 environment: type: string - installation: *755 - organization: *756 - repository: *757 - requestor: &781 + installation: *753 + organization: *754 + repository: *755 + requestor: &779 title: User type: object nullable: true @@ -124601,12 +124104,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *776 + workflow: *774 workflow_run: title: Deployment Workflow Run type: object @@ -125286,7 +124789,7 @@ x-webhooks: type: string enum: - answered - answer: &779 + answer: &777 type: object properties: author_association: @@ -125443,7 +124946,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &777 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -125729,7 +125232,7 @@ x-webhooks: - id labels: type: array - items: *570 + items: *568 required: - repository_url - category @@ -125751,10 +125254,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -125881,11 +125384,11 @@ x-webhooks: - from required: - category - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -125968,11 +125471,11 @@ x-webhooks: type: string enum: - closed - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126054,7 +125557,7 @@ x-webhooks: type: string enum: - created - comment: &778 + comment: &776 type: object properties: author_association: @@ -126211,11 +125714,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126298,12 +125801,12 @@ x-webhooks: type: string enum: - deleted - comment: *778 - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126398,12 +125901,12 @@ x-webhooks: - from required: - body - comment: *778 - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126487,11 +125990,11 @@ x-webhooks: type: string enum: - created - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126573,11 +126076,11 @@ x-webhooks: type: string enum: - deleted - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126677,11 +126180,11 @@ x-webhooks: type: string required: - from - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126763,10 +126266,10 @@ x-webhooks: type: string enum: - labeled - discussion: *777 - enterprise: *754 - installation: *755 - label: &780 + discussion: *775 + enterprise: *752 + installation: *753 + label: &778 title: Label type: object properties: @@ -126798,8 +126301,8 @@ x-webhooks: - color - default - description - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126882,11 +126385,11 @@ x-webhooks: type: string enum: - locked - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126968,11 +126471,11 @@ x-webhooks: type: string enum: - pinned - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127054,11 +126557,11 @@ x-webhooks: type: string enum: - reopened - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127143,16 +126646,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *777 - new_repository: *757 + new_discussion: *775 + new_repository: *755 required: - new_discussion - new_repository - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127235,10 +126738,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *777 - old_answer: *779 - organization: *756 - repository: *757 + discussion: *775 + old_answer: *777 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127320,12 +126823,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *777 - enterprise: *754 - installation: *755 - label: *780 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127408,11 +126911,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127494,11 +126997,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127570,7 +127073,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127636,7 +127139,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127702,7 +127205,7 @@ x-webhooks: required: true content: application/json: - schema: *761 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127768,7 +127271,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127834,7 +127337,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127900,7 +127403,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127966,7 +127469,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128033,7 +127536,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *754 + enterprise: *752 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -128693,9 +128196,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *755 - organization: *756 - repository: *757 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - forkee @@ -128841,9 +128344,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pages: description: The pages that were updated. type: array @@ -128880,7 +128383,7 @@ x-webhooks: - action - sha - html_url - repository: *757 + repository: *755 sender: *4 required: - pages @@ -128956,10 +128459,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: &782 + organization: *754 + repositories: &780 description: An array of repository objects that the installation can access. type: array @@ -128985,8 +128488,8 @@ x-webhooks: - name - full_name - private - repository: *757 - requester: *781 + repository: *755 + requester: *779 sender: *4 required: - action @@ -129061,11 +128564,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: *782 - repository: *757 + organization: *754 + repositories: *780 + repository: *755 requester: nullable: true sender: *4 @@ -129141,11 +128644,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: *782 - repository: *757 + organization: *754 + repositories: *780 + repository: *755 requester: nullable: true sender: *4 @@ -129221,10 +128724,10 @@ x-webhooks: type: string enum: - added - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories_added: &783 + organization: *754 + repositories_added: &781 description: An array of repository objects, which were added to the installation. type: array @@ -129270,15 +128773,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *757 - repository_selection: &784 + repository: *755 + repository_selection: &782 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *781 + requester: *779 sender: *4 required: - action @@ -129357,10 +128860,10 @@ x-webhooks: type: string enum: - removed - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories_added: *783 + organization: *754 + repositories_added: *781 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -129387,9 +128890,9 @@ x-webhooks: - name - full_name - private - repository: *757 - repository_selection: *784 - requester: *781 + repository: *755 + repository_selection: *782 + requester: *779 sender: *4 required: - action @@ -129468,11 +128971,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: *782 - repository: *757 + organization: *754 + repositories: *780 + repository: *755 requester: nullable: true sender: *4 @@ -129651,10 +129154,10 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 target_type: type: string @@ -129733,11 +129236,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: *782 - repository: *757 + organization: *754 + repositories: *780 + repository: *755 requester: nullable: true sender: *4 @@ -129861,8 +129364,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 reactions: title: Reactions type: object @@ -129989,8 +129492,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130813,7 +130316,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -131146,8 +130649,8 @@ x-webhooks: - state - locked - assignee - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131227,7 +130730,7 @@ x-webhooks: type: string enum: - deleted - comment: &785 + comment: &783 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -131392,8 +130895,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -132212,7 +131715,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -132547,8 +132050,8 @@ x-webhooks: - state - locked - assignee - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -132628,7 +132131,7 @@ x-webhooks: type: string enum: - edited - changes: &813 + changes: &811 description: The changes to the comment. type: object properties: @@ -132640,9 +132143,9 @@ x-webhooks: type: string required: - from - comment: *785 - enterprise: *754 - installation: *755 + comment: *783 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133464,7 +132967,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -133797,8 +133300,8 @@ x-webhooks: - state - locked - assignee - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -133880,10 +133383,10 @@ x-webhooks: type: string enum: - assigned - assignee: *781 - enterprise: *754 - installation: *755 - issue: &788 + assignee: *779 + enterprise: *752 + installation: *753 + issue: &786 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -134701,7 +134204,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -134802,8 +134305,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -134883,8 +134386,8 @@ x-webhooks: type: string enum: - closed - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135707,7 +135210,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -135943,8 +135446,8 @@ x-webhooks: required: - state - closed_at - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136023,8 +135526,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136836,7 +136339,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -136936,8 +136439,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137016,8 +136519,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137853,7 +137356,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -137932,7 +137435,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &786 + milestone: &784 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138070,8 +137573,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138170,8 +137673,8 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138986,7 +138489,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *287 + type: *285 title: description: Title of the issue type: string @@ -139090,9 +138593,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *780 - organization: *756 - repository: *757 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -139172,8 +138675,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139987,7 +139490,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *287 + type: *285 title: description: Title of the issue type: string @@ -140091,9 +139594,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *780 - organization: *756 - repository: *757 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140173,8 +139676,8 @@ x-webhooks: type: string enum: - locked - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141012,7 +140515,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *287 + type: *285 title: description: Title of the issue type: string @@ -141093,8 +140596,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141173,8 +140676,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142009,7 +141512,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -142087,9 +141590,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *786 - organization: *756 - repository: *757 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -143550,8 +143053,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144369,7 +143872,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -144469,8 +143972,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -144550,9 +144053,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *754 - installation: *755 - issue: &787 + enterprise: *752 + installation: *753 + issue: &785 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145364,7 +144867,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -145464,8 +144967,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145544,8 +145047,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146462,9 +145965,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *287 - organization: *756 - repository: *757 + type: *285 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147359,7 +146862,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -147927,11 +147430,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *754 - installation: *755 - issue: *787 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147951,6 +147454,91 @@ x-webhooks: - repository - organization - app + 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/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. + + 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 + 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 typed event + type: object + properties: + action: + type: string + enum: + - typed + enterprise: *752 + installation: *753 + issue: *786 + type: *285 + organization: *754 + repository: *755 + sender: *4 + required: + - action + - issue + - type + - 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-unassigned: post: summary: |- @@ -148012,7 +147600,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &816 + assignee: &814 title: User type: object nullable: true @@ -148082,11 +147670,11 @@ x-webhooks: required: - login - id - enterprise: *754 - installation: *755 - issue: *788 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + issue: *786 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148165,12 +147753,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *754 - installation: *755 - issue: *788 - label: *780 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + issue: *786 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148250,8 +147838,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149090,7 +148678,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -149168,8 +148756,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149249,15 +148837,100 @@ x-webhooks: type: string enum: - unpinned - enterprise: *754 - installation: *755 - issue: *787 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 + sender: *4 + 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-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/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. + + 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/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 untyped event + type: object + properties: + action: + type: string + enum: + - untyped + enterprise: *752 + installation: *753 + issue: *786 + type: *285 + organization: *754 + repository: *755 sender: *4 required: - action - issue + - type - repository - sender responses: @@ -149332,11 +149005,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - label: *780 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149414,11 +149087,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - label: *780 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149528,11 +149201,11 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - label: *780 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149614,9 +149287,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *754 - installation: *755 - marketplace_purchase: &789 + enterprise: *752 + installation: *753 + marketplace_purchase: &787 title: Marketplace Purchase type: object required: @@ -149699,8 +149372,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *756 - previous_marketplace_purchase: &790 + organization: *754 + previous_marketplace_purchase: &788 title: Marketplace Purchase type: object properties: @@ -149780,7 +149453,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *757 + repository: *755 sender: *4 required: - action @@ -149860,10 +149533,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *754 - installation: *755 - marketplace_purchase: *789 - organization: *756 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149946,7 +149619,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *757 + repository: *755 sender: *4 required: - action @@ -150028,10 +149701,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *754 - installation: *755 - marketplace_purchase: *789 - organization: *756 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150113,7 +149786,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *757 + repository: *755 sender: *4 required: - action @@ -150194,8 +149867,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 marketplace_purchase: title: Marketplace Purchase type: object @@ -150277,9 +149950,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *756 - previous_marketplace_purchase: *790 - repository: *757 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -150359,12 +150032,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *754 - installation: *755 - marketplace_purchase: *789 - organization: *756 - previous_marketplace_purchase: *790 - repository: *757 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -150466,11 +150139,11 @@ x-webhooks: type: string required: - to - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -150570,11 +150243,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -150653,11 +150326,11 @@ x-webhooks: type: string enum: - removed - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -150735,11 +150408,11 @@ x-webhooks: type: string enum: - added - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150815,7 +150488,7 @@ x-webhooks: required: - login - id - team: &791 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -151005,11 +150678,11 @@ x-webhooks: type: string enum: - removed - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151086,7 +150759,7 @@ x-webhooks: required: - login - id - team: *791 + team: *789 required: - action - scope @@ -151168,8 +150841,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *755 - merge_group: &793 + installation: *753 + merge_group: &791 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151188,15 +150861,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *792 + head_commit: *790 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151282,10 +150955,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *755 - merge_group: *793 - organization: *756 - repository: *757 + installation: *753 + merge_group: *791 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151358,7 +151031,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 + enterprise: *752 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151466,16 +151139,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *755 - organization: *756 + installation: *753 + organization: *754 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *794 - required: *795 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -151556,11 +151229,11 @@ x-webhooks: type: string enum: - closed - enterprise: *754 - installation: *755 - milestone: *786 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151639,9 +151312,9 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - milestone: &796 + enterprise: *752 + installation: *753 + milestone: &794 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151778,8 +151451,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151858,11 +151531,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - milestone: *786 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151972,11 +151645,11 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - milestone: *786 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152056,11 +151729,11 @@ x-webhooks: type: string enum: - opened - enterprise: *754 - installation: *755 - milestone: *796 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + milestone: *794 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152139,11 +151812,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *781 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152222,11 +151895,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *781 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152305,9 +151978,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - membership: &797 + enterprise: *752 + installation: *753 + membership: &795 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152399,8 +152072,8 @@ x-webhooks: - role - organization_url - user - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152478,11 +152151,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *754 - installation: *755 - membership: *797 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + membership: *795 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152561,8 +152234,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152678,10 +152351,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 - user: *781 + user: *779 required: - action - invitation @@ -152759,11 +152432,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *754 - installation: *755 - membership: *797 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + membership: *795 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152850,11 +152523,11 @@ x-webhooks: properties: from: type: string - enterprise: *754 - installation: *755 - membership: *797 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + membership: *795 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152930,9 +152603,9 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -153431,7 +153104,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &798 + items: &796 title: Ruby Gems metadata type: object properties: @@ -153526,7 +153199,7 @@ x-webhooks: - owner - package_version - registry - repository: *757 + repository: *755 sender: *4 required: - action @@ -153602,9 +153275,9 @@ x-webhooks: type: string enum: - updated - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -153957,7 +153630,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *798 + items: *796 source_url: type: string format: uri @@ -154027,7 +153700,7 @@ x-webhooks: - owner - package_version - registry - repository: *757 + repository: *755 sender: *4 required: - action @@ -154204,12 +153877,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *754 + enterprise: *752 id: type: integer - installation: *755 - organization: *756 - repository: *757 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - id @@ -154286,7 +153959,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &799 + personal_access_token_request: &797 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154432,10 +154105,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *754 - organization: *756 + enterprise: *752 + organization: *754 sender: *4 - installation: *755 + installation: *753 required: - action - personal_access_token_request @@ -154512,11 +154185,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *799 - enterprise: *754 - organization: *756 + personal_access_token_request: *797 + enterprise: *752 + organization: *754 sender: *4 - installation: *755 + installation: *753 required: - action - personal_access_token_request @@ -154592,11 +154265,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *799 - enterprise: *754 - organization: *756 + personal_access_token_request: *797 + enterprise: *752 + organization: *754 sender: *4 - installation: *755 + installation: *753 required: - action - personal_access_token_request @@ -154671,11 +154344,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *799 - organization: *756 - enterprise: *754 + personal_access_token_request: *797 + organization: *754 + enterprise: *752 sender: *4 - installation: *755 + installation: *753 required: - action - personal_access_token_request @@ -154780,7 +154453,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *800 + last_response: *798 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -154812,8 +154485,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 zen: description: Random string of GitHub zen. @@ -155058,10 +154731,10 @@ x-webhooks: - from required: - note - enterprise: *754 - installation: *755 - organization: *756 - project_card: &801 + enterprise: *752 + installation: *753 + organization: *754 + project_card: &799 title: Project Card type: object properties: @@ -155180,7 +154853,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *757 + repository: *755 sender: *4 required: - action @@ -155261,11 +154934,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - project_card: *801 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *799 + repository: *755 sender: *4 required: - action @@ -155345,9 +155018,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 project_card: title: Project Card type: object @@ -155475,8 +155148,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *794 - required: *795 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -155570,11 +155243,11 @@ x-webhooks: - from required: - note - enterprise: *754 - installation: *755 - organization: *756 - project_card: *801 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *799 + repository: *755 sender: *4 required: - action @@ -155668,9 +155341,9 @@ x-webhooks: - from required: - column_id - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 project_card: allOf: - title: Project Card @@ -155860,7 +155533,7 @@ x-webhooks: type: string required: - after_id - repository: *757 + repository: *755 sender: *4 required: - action @@ -155940,10 +155613,10 @@ x-webhooks: type: string enum: - closed - enterprise: *754 - installation: *755 - organization: *756 - project: &803 + enterprise: *752 + installation: *753 + organization: *754 + project: &801 title: Project type: object properties: @@ -156067,7 +155740,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *757 + repository: *755 sender: *4 required: - action @@ -156147,10 +155820,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - project_column: &802 + enterprise: *752 + installation: *753 + organization: *754 + project_column: &800 title: Project Column type: object properties: @@ -156189,7 +155862,7 @@ x-webhooks: - name - created_at - updated_at - repository: *757 + repository: *755 sender: *4 required: - action @@ -156268,18 +155941,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - project_column: *802 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *800 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *794 - required: *795 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -156369,11 +156042,11 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 - project_column: *802 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *800 + repository: *755 sender: *4 required: - action @@ -156453,11 +156126,11 @@ x-webhooks: type: string enum: - moved - enterprise: *754 - installation: *755 - organization: *756 - project_column: *802 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *800 + repository: *755 sender: *4 required: - action @@ -156537,11 +156210,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - project: *803 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project: *801 + repository: *755 sender: *4 required: - action @@ -156621,18 +156294,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - project: *803 + enterprise: *752 + installation: *753 + organization: *754 + project: *801 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *794 - required: *795 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -156734,11 +156407,11 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 - project: *803 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project: *801 + repository: *755 sender: *4 required: - action @@ -156817,11 +156490,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *754 - installation: *755 - organization: *756 - project: *803 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project: *801 + repository: *755 sender: *4 required: - action @@ -156902,9 +156575,9 @@ x-webhooks: type: string enum: - closed - installation: *755 - organization: *756 - projects_v2: &804 + installation: *753 + organization: *754 + projects_v2: &802 title: Projects v2 Project description: A projects v2 project type: object @@ -157047,9 +156720,9 @@ x-webhooks: type: string enum: - created - installation: *755 - organization: *756 - projects_v2: *804 + installation: *753 + organization: *754 + projects_v2: *802 sender: *4 required: - action @@ -157130,9 +156803,9 @@ x-webhooks: type: string enum: - deleted - installation: *755 - organization: *756 - projects_v2: *804 + installation: *753 + organization: *754 + projects_v2: *802 sender: *4 required: - action @@ -157249,9 +156922,9 @@ x-webhooks: type: string to: type: string - installation: *755 - organization: *756 - projects_v2: *804 + installation: *753 + organization: *754 + projects_v2: *802 sender: *4 required: - action @@ -157334,7 +157007,7 @@ x-webhooks: type: string enum: - archived - changes: &808 + changes: &806 type: object properties: archived_at: @@ -157348,9 +157021,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *755 - organization: *756 - projects_v2_item: &805 + installation: *753 + organization: *754 + projects_v2_item: &803 title: Projects v2 Item description: An item belonging to a project type: object @@ -157484,9 +157157,9 @@ x-webhooks: nullable: true to: type: string - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157568,9 +157241,9 @@ x-webhooks: type: string enum: - created - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157651,9 +157324,9 @@ x-webhooks: type: string enum: - deleted - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157759,7 +157432,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &806 + - &804 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -157777,7 +157450,7 @@ x-webhooks: required: - id - name - - &807 + - &805 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -157800,8 +157473,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *806 - - *807 + - *804 + - *805 required: - field_value - type: object @@ -157817,9 +157490,9 @@ x-webhooks: nullable: true required: - body - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157914,9 +157587,9 @@ x-webhooks: to: type: string nullable: true - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157999,10 +157672,10 @@ x-webhooks: type: string enum: - restored - changes: *808 - installation: *755 - organization: *756 - projects_v2_item: *805 + changes: *806 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -158084,9 +157757,9 @@ x-webhooks: type: string enum: - reopened - installation: *755 - organization: *756 - projects_v2: *804 + installation: *753 + organization: *754 + projects_v2: *802 sender: *4 required: - action @@ -158167,9 +157840,9 @@ x-webhooks: type: string enum: - created - installation: *755 - organization: *756 - projects_v2_status_update: &809 + installation: *753 + organization: *754 + projects_v2_status_update: &807 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -158296,9 +157969,9 @@ x-webhooks: type: string enum: - deleted - installation: *755 - organization: *756 - projects_v2_status_update: *809 + installation: *753 + organization: *754 + projects_v2_status_update: *807 sender: *4 required: - action @@ -158434,9 +158107,9 @@ x-webhooks: type: string format: date nullable: true - installation: *755 - organization: *756 - projects_v2_status_update: *809 + installation: *753 + organization: *754 + projects_v2_status_update: *807 sender: *4 required: - action @@ -158507,10 +158180,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - repository @@ -158587,13 +158260,13 @@ x-webhooks: type: string enum: - assigned - assignee: *781 - enterprise: *754 - installation: *755 - number: &810 + assignee: *779 + enterprise: *752 + installation: *753 + number: &808 description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -160876,7 +160549,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -160958,11 +160631,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -163240,7 +162913,7 @@ x-webhooks: - draft reason: type: string - repository: *757 + repository: *755 sender: *4 required: - action @@ -163322,11 +162995,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -165604,7 +165277,7 @@ x-webhooks: - draft reason: type: string - repository: *757 + repository: *755 sender: *4 required: - action @@ -165686,13 +165359,13 @@ x-webhooks: type: string enum: - closed - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: &811 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: &809 allOf: - - *608 + - *606 - type: object properties: allow_auto_merge: @@ -165754,7 +165427,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *757 + repository: *755 sender: *4 required: - action @@ -165835,12 +165508,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -165920,11 +165593,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *754 - milestone: *591 - number: *810 - organization: *756 - pull_request: &812 + enterprise: *752 + milestone: *589 + number: *808 + organization: *754 + pull_request: &810 title: Pull Request type: object properties: @@ -168187,7 +167860,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -168266,11 +167939,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -170552,7 +170225,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *757 + repository: *755 sender: *4 required: - action @@ -170676,12 +170349,12 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -170761,11 +170434,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -173032,7 +172705,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -173112,11 +172785,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *754 - installation: *755 - label: *780 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + label: *778 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -175398,7 +175071,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -175479,10 +175152,10 @@ x-webhooks: type: string enum: - locked - enterprise: *754 - installation: *755 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -177762,7 +177435,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -177842,12 +177515,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *754 - milestone: *591 - number: *810 - organization: *756 - pull_request: *812 - repository: *757 + enterprise: *752 + milestone: *589 + number: *808 + organization: *754 + pull_request: *810 + repository: *755 sender: *4 required: - action @@ -177926,12 +177599,12 @@ x-webhooks: type: string enum: - opened - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -178012,12 +177685,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -178097,12 +177770,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -178468,9 +178141,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -180640,7 +180313,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *757 + repository: *755 sender: *4 required: - action @@ -180720,7 +180393,7 @@ x-webhooks: type: string enum: - deleted - comment: &814 + comment: &812 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -181005,9 +180678,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -183165,7 +182838,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *757 + repository: *755 sender: *4 required: - action @@ -183245,11 +182918,11 @@ x-webhooks: type: string enum: - edited - changes: *813 - comment: *814 - enterprise: *754 - installation: *755 - organization: *756 + changes: *811 + comment: *812 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -185410,7 +185083,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *757 + repository: *755 sender: *4 required: - action @@ -185491,9 +185164,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -187666,7 +187339,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 + repository: *755 review: description: The review that was affected. type: object @@ -187909,9 +187582,9 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -189965,8 +189638,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 - review: &815 + repository: *755 + review: &813 description: The review that was affected. type: object properties: @@ -190195,12 +189868,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -192483,7 +192156,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 requested_reviewer: title: User type: object @@ -192567,12 +192240,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -194862,7 +194535,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195054,12 +194727,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -197344,7 +197017,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 requested_reviewer: title: User type: object @@ -197429,12 +197102,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -199710,7 +199383,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199891,9 +199564,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -202068,8 +201741,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 - review: *815 + repository: *755 + review: *813 sender: *4 required: - action @@ -202149,9 +201822,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -204221,7 +203894,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 + repository: *755 sender: *4 thread: type: object @@ -204604,9 +204277,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -206662,7 +206335,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 + repository: *755 sender: *4 thread: type: object @@ -207048,10 +206721,10 @@ x-webhooks: type: string before: type: string - enterprise: *754 - installation: *755 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -209322,7 +208995,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -209404,11 +209077,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *816 - enterprise: *754 - installation: *755 - number: *810 - organization: *756 + assignee: *814 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -211691,7 +211364,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -211770,11 +211443,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *754 - installation: *755 - label: *780 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + label: *778 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -214047,7 +213720,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -214128,10 +213801,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *754 - installation: *755 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -216396,7 +216069,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -216596,7 +216269,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *754 + enterprise: *752 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216688,8 +216361,8 @@ x-webhooks: - url - author - committer - installation: *755 - organization: *756 + installation: *753 + organization: *754 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217264,9 +216937,9 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -217712,7 +217385,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *798 + items: *796 summary: type: string tag_name: @@ -217766,7 +217439,7 @@ x-webhooks: - owner - package_version - registry - repository: *757 + repository: *755 sender: *4 required: - action @@ -217844,9 +217517,9 @@ x-webhooks: type: string enum: - updated - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -218154,7 +217827,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *798 + items: *796 summary: type: string tag_name: @@ -218203,7 +217876,7 @@ x-webhooks: - owner - package_version - registry - repository: *757 + repository: *755 sender: *4 required: - action @@ -218280,10 +217953,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - release: &817 + enterprise: *752 + installation: *753 + organization: *754 + release: &815 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -218588,7 +218261,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *757 + repository: *755 sender: *4 required: - action @@ -218665,11 +218338,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - release: *817 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + release: *815 + repository: *755 sender: *4 required: - action @@ -218786,11 +218459,11 @@ x-webhooks: type: boolean required: - to - enterprise: *754 - installation: *755 - organization: *756 - release: *817 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + release: *815 + repository: *755 sender: *4 required: - action @@ -218868,9 +218541,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -219179,7 +218852,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *757 + repository: *755 sender: *4 required: - action @@ -219255,10 +218928,10 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 - release: &818 + enterprise: *752 + installation: *753 + organization: *754 + release: &816 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219564,7 +219237,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *757 + repository: *755 sender: *4 required: - action @@ -219640,11 +219313,11 @@ x-webhooks: type: string enum: - released - enterprise: *754 - installation: *755 - organization: *756 - release: *817 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + release: *815 + repository: *755 sender: *4 required: - action @@ -219720,11 +219393,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *754 - installation: *755 - organization: *756 - release: *818 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + release: *816 + repository: *755 sender: *4 required: - action @@ -219800,11 +219473,11 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - repository_advisory: *665 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *663 sender: *4 required: - action @@ -219880,11 +219553,11 @@ x-webhooks: type: string enum: - reported - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - repository_advisory: *665 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *663 sender: *4 required: - action @@ -219960,10 +219633,10 @@ x-webhooks: type: string enum: - archived - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220040,10 +219713,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220121,10 +219794,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220208,10 +219881,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220323,10 +219996,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220398,10 +220071,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 status: type: string @@ -220482,10 +220155,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220562,10 +220235,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220659,10 +220332,10 @@ x-webhooks: - name required: - repository - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220742,10 +220415,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *128 sender: *4 required: @@ -220824,10 +220497,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *128 sender: *4 required: @@ -220906,10 +220579,10 @@ x-webhooks: type: string enum: - edited - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *128 changes: type: object @@ -221214,10 +220887,10 @@ x-webhooks: - from required: - owner - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221295,10 +220968,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221376,7 +221049,7 @@ x-webhooks: type: string enum: - create - alert: &819 + alert: &817 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221497,10 +221170,10 @@ x-webhooks: type: string enum: - open - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221706,10 +221379,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221787,11 +221460,11 @@ x-webhooks: type: string enum: - reopen - alert: *819 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *817 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221990,10 +221663,10 @@ x-webhooks: enum: - fixed - open - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222071,7 +221744,7 @@ x-webhooks: type: string enum: - created - alert: &820 + alert: &818 type: object properties: number: *100 @@ -222182,10 +221855,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222266,11 +221939,11 @@ x-webhooks: type: string enum: - created - alert: *820 - installation: *755 - location: *821 - organization: *756 - repository: *757 + alert: *818 + installation: *753 + location: *819 + organization: *754 + repository: *755 sender: *4 required: - location @@ -222508,11 +222181,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *820 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222590,11 +222263,11 @@ x-webhooks: type: string enum: - reopened - alert: *820 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222672,11 +222345,11 @@ x-webhooks: type: string enum: - resolved - alert: *820 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222754,11 +222427,11 @@ x-webhooks: type: string enum: - validated - alert: *820 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222884,10 +222557,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *757 - enterprise: *754 - installation: *755 - organization: *756 + repository: *755 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -222965,11 +222638,11 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - security_advisory: &822 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: &820 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223152,11 +222825,11 @@ x-webhooks: type: string enum: - updated - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - security_advisory: *822 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: *820 sender: *4 required: - action @@ -223229,10 +222902,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223416,11 +223089,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *326 - enterprise: *754 - installation: *755 - organization: *756 - repository: *388 + security_and_analysis: *324 + enterprise: *752 + installation: *753 + organization: *754 + repository: *386 sender: *4 required: - changes @@ -223498,12 +223171,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: &823 + sponsorship: &821 type: object properties: created_at: @@ -223804,12 +223477,12 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - sponsorship @@ -223897,12 +223570,12 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - changes @@ -223979,17 +223652,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &824 + effective_date: &822 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: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - sponsorship @@ -224063,7 +223736,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &825 + changes: &823 type: object properties: tier: @@ -224107,13 +223780,13 @@ x-webhooks: - from required: - tier - effective_date: *824 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + effective_date: *822 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - changes @@ -224190,13 +223863,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *825 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + changes: *823 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - changes @@ -224270,10 +223943,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224356,10 +224029,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224779,15 +224452,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *754 + enterprise: *752 id: description: The unique identifier of the status. type: integer - installation: *755 + installation: *753 name: type: string - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 sha: description: The Commit SHA. @@ -224896,15 +224569,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *154 + parent_issue: *153 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *154 - installation: *755 - organization: *756 - repository: *757 + sub_issue: *153 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -224988,15 +224661,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *154 + parent_issue: *153 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *154 - installation: *755 - organization: *756 - repository: *757 + sub_issue: *153 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -225080,15 +224753,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *154 + sub_issue: *153 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *154 - installation: *755 - organization: *756 - repository: *757 + parent_issue: *153 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -225172,15 +224845,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *154 + sub_issue: *153 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *154 - installation: *755 - organization: *756 - repository: *757 + parent_issue: *153 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -225257,12 +224930,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - team: &826 + team: &824 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225452,9 +225125,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -225912,7 +225585,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - team @@ -225988,9 +225661,9 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -226448,7 +226121,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - team @@ -226525,9 +226198,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -226985,7 +226658,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - team @@ -227129,9 +226802,9 @@ x-webhooks: - from required: - permissions - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -227589,7 +227262,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - changes @@ -227667,9 +227340,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -228127,7 +227800,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - team @@ -228203,10 +227876,10 @@ x-webhooks: type: string enum: - started - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228279,16 +227952,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *754 + enterprise: *752 inputs: type: object nullable: true additionalProperties: true - installation: *755 - organization: *756 + installation: *753 + organization: *754 ref: type: string - repository: *757 + repository: *755 sender: *4 workflow: type: string @@ -228370,10 +228043,10 @@ x-webhooks: type: string enum: - completed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -228610,7 +228283,7 @@ x-webhooks: type: string required: - conclusion - deployment: *523 + deployment: *521 required: - action - repository @@ -228689,10 +228362,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -228952,7 +228625,7 @@ x-webhooks: required: - status - steps - deployment: *523 + deployment: *521 required: - action - repository @@ -229031,10 +228704,10 @@ x-webhooks: type: string enum: - queued - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -229169,7 +228842,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *523 + deployment: *521 required: - action - repository @@ -229248,10 +228921,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -229387,7 +229060,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *523 + deployment: *521 required: - action - repository @@ -229467,12 +229140,12 @@ x-webhooks: type: string enum: - completed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *776 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -230471,12 +230144,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *776 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -231460,12 +231133,12 @@ x-webhooks: type: string enum: - requested - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *776 + workflow: *774 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 4669962931..a334ade8d2 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -33550,364 +33550,6 @@ } } }, - "/enterprises/{enterprise}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for enterprise members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nThe time zone in the response is in UTC time, that means that the cutoff time for the \"day\" is UTC time.\n\nOnly owners and billing managers can view Copilot usage metrics for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 5000, - "total_acceptances_count": 3000, - "total_lines_suggested": 7000, - "total_lines_accepted": 3500, - "total_active_users": 15, - "total_chat_acceptances": 45, - "total_chat_turns": 350, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 3000, - "acceptances_count": 2000, - "lines_suggested": 3000, - "lines_accepted": 1500, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 1000, - "acceptances_count": 500, - "lines_suggested": 2000, - "lines_accepted": 1000, - "active_users": 5 - }, - { - "language": "javascript", - "editor": "vscode", - "suggestions_count": 1000, - "acceptances_count": 500, - "lines_suggested": 2000, - "lines_accepted": 1000, - "active_users": 5 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 5200, - "total_acceptances_count": 5100, - "total_lines_suggested": 5300, - "total_lines_accepted": 5000, - "total_active_users": 15, - "total_chat_acceptances": 57, - "total_chat_turns": 455, - "total_active_chat_users": 12, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 3100, - "acceptances_count": 3000, - "lines_suggested": 3200, - "lines_accepted": 3100, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 1100, - "acceptances_count": 1000, - "lines_suggested": 1200, - "lines_accepted": 1100, - "active_users": 5 - }, - { - "language": "javascript", - "editor": "vscode", - "suggestions_count": 1000, - "acceptances_count": 900, - "lines_suggested": 1100, - "lines_accepted": 1000, - "active_users": 5 - } - ] - } - ] - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "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": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -48778,17 +48420,17 @@ } } }, - "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "/enterprises/{enterprise}/{security_product}/{enablement}": { + "post": { + "summary": "Enable or disable a security feature", + "description": "> [!WARNING]\n> **Closing down notice:** The ability to enable or disable a security feature for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nEnables or disables the specified security feature for all repositories in an enterprise.\n\nThe authenticated user must be an administrator of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ - "copilot" + "enterprise-admin" ], - "operationId": "copilot/usage-metrics-for-enterprise-team", + "operationId": "secret-scanning/post-security-product-enablement-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature" }, "parameters": [ { @@ -48801,412 +48443,45 @@ } }, { - "name": "team_slug", - "description": "The slug of the team name.", + "name": "security_product", "in": "path", + "description": "The security feature to enable or disable.", "required": true, "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 + "type": "string", + "enum": [ + "advanced_security", + "advanced_security_user_namespace", + "dependabot_alerts", + "secret_scanning", + "secret_scanning_push_protection", + "secret_scanning_non_provider_patterns" + ] } }, { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", + "name": "enablement", + "in": "path", + "description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the enterprise.\n`disable_all` means to disable the specified security feature for all repositories in the enterprise.", + "required": true, "schema": { - "type": "integer", - "default": 28 + "type": "string", + "enum": [ + "enable_all", + "disable_all" + ] } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - } - } - } - } + "204": { + "description": "Action started" }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "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": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, - "/enterprises/{enterprise}/{security_product}/{enablement}": { - "post": { - "summary": "Enable or disable a security feature", - "description": "> [!WARNING]\n> **Closing down notice:** The ability to enable or disable a security feature for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nEnables or disables the specified security feature for all repositories in an enterprise.\n\nThe authenticated user must be an administrator of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", - "tags": [ - "enterprise-admin" - ], - "operationId": "secret-scanning/post-security-product-enablement-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "security_product", - "in": "path", - "description": "The security feature to enable or disable.", - "required": true, - "schema": { - "type": "string", - "enum": [ - "advanced_security", - "advanced_security_user_namespace", - "dependabot_alerts", - "secret_scanning", - "secret_scanning_push_protection", - "secret_scanning_non_provider_patterns" - ] - } - }, - { - "name": "enablement", - "in": "path", - "description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the enterprise.\n`disable_all` means to disable the specified security feature for all repositories in the enterprise.", - "required": true, - "schema": { - "type": "string", - "enum": [ - "enable_all", - "disable_all" - ] - } - } - ], - "responses": { - "204": { - "description": "Action started" - }, - "422": { - "description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement" - }, - "404": { - "description": "Resource not found", + "422": { + "description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement" + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -105102,17 +104377,17 @@ } } }, - "/orgs/{org}/copilot/usage": { + "/orgs/{org}/credential-authorizations": { "get": { - "summary": "Get a summary of Copilot usage for organization members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nOrganization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", + "summary": "List SAML SSO authorizations for an organization", + "description": "Lists all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://docs.github.com/enterprise-cloud@latest//articles/about-authentication-with-saml-single-sign-on).\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", "tags": [ - "copilot" + "orgs" ], - "operationId": "copilot/usage-metrics-for-org", + "operationId": "orgs/list-saml-sso-authorizations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization" }, "parameters": [ { @@ -105125,39 +104400,28 @@ } }, { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", - "required": false, "schema": { - "type": "string" + "type": "integer", + "default": 30 } }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "Page token", "in": "query", "schema": { - "type": "integer", - "default": 1 + "type": "integer" } }, { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "name": "login", + "description": "Limits the list of credentials authorizations for an organization to a specific login", "in": "query", "schema": { - "type": "integer", - "default": 28 + "type": "string" } } ], @@ -105169,176 +104433,120 @@ "schema": { "type": "array", "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", + "title": "Credential Authorization", + "description": "Credential Authorization", "type": "object", "properties": { - "day": { + "login": { "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." + "example": "monalisa", + "description": "User login that owns the underlying credential." }, - "total_suggestions_count": { + "credential_id": { "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." + "example": 1, + "description": "Unique identifier for the authorization of the credential. Use this to revoke authorization of the underlying token or key." }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." + "credential_type": { + "type": "string", + "example": "SSH Key", + "description": "Human-readable description of the credential type." }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." + "token_last_eight": { + "type": "string", + "example": "12345678", + "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token." }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." + "credential_authorized_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "Date when the credential was authorized for use." }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." + "scopes": { + "type": "array", + "example": [ + "user", + "repo" + ], + "description": "List of oauth scopes the token has been granted.", + "items": { + "type": "string" + } }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." + "fingerprint": { + "type": "string", + "example": "jklmnop12345678", + "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key." }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." + "credential_accessed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "Date when the credential was last accessed. May be null if it was never accessed", + "nullable": true }, - "total_active_chat_users": { + "authorized_credential_id": { "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." + "nullable": true, + "example": 12345678, + "description": "The ID of the underlying token that was authorized by the user. This will remain unchanged across authorizations of the token." }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", + "authorized_credential_title": { + "type": "string", "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } + "example": "my ssh key", + "description": "The title given to the ssh key. This will only be present when the credential is an ssh key." + }, + "authorized_credential_note": { + "type": "string", + "nullable": true, + "example": "my token", + "description": "The note given to the token. This will only be present when the credential is a token." + }, + "authorized_credential_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "The expiry for the token. This will only be present when the credential is a token." } }, "required": [ - "day", - "breakdown" - ], - "additionalProperties": false + "login", + "credential_id", + "credential_type", + "credential_authorized_at", + "credential_accessed_at", + "authorized_credential_id" + ] } }, "examples": { "default": { "value": [ { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } + "login": "octocat", + "credential_id": 161195, + "credential_type": "personal access token", + "token_last_eight": "71c3fc11", + "credential_authorized_at": "2011-01-26T19:06:43Z", + "credential_accessed_at": "2011-01-26T19:06:43Z", + "authorized_credential_expires_at": "2011-02-25T19:06:43Z", + "scopes": [ + "user", + "repo" ] }, { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } + "login": "hubot", + "credential_id": 161196, + "credential_type": "personal access token", + "token_last_eight": "Ae178B4a", + "credential_authorized_at": "2019-03-29T19:06:43Z", + "credential_accessed_at": "2011-01-26T19:06:43Z", + "authorized_credential_expires_at": "2019-04-28T19:06:43Z", + "scopes": [ + "repo" ] } ] @@ -105346,344 +104554,53 @@ } } } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/credential-authorizations/{credential_id}": { + "delete": { + "summary": "Remove a SAML SSO authorization for an organization", + "description": "Removes a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/remove-saml-sso-authorization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, - "/orgs/{org}/credential-authorizations": { - "get": { - "summary": "List SAML SSO authorizations for an organization", - "description": "Lists all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://docs.github.com/enterprise-cloud@latest//articles/about-authentication-with-saml-single-sign-on).\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", - "tags": [ - "orgs" - ], - "operationId": "orgs/list-saml-sso-authorizations", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "Page token", - "in": "query", - "schema": { - "type": "integer" - } - }, - { - "name": "login", - "description": "Limits the list of credentials authorizations for an organization to a specific login", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Credential Authorization", - "description": "Credential Authorization", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "monalisa", - "description": "User login that owns the underlying credential." - }, - "credential_id": { - "type": "integer", - "example": 1, - "description": "Unique identifier for the authorization of the credential. Use this to revoke authorization of the underlying token or key." - }, - "credential_type": { - "type": "string", - "example": "SSH Key", - "description": "Human-readable description of the credential type." - }, - "token_last_eight": { - "type": "string", - "example": "12345678", - "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token." - }, - "credential_authorized_at": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "Date when the credential was authorized for use." - }, - "scopes": { - "type": "array", - "example": [ - "user", - "repo" - ], - "description": "List of oauth scopes the token has been granted.", - "items": { - "type": "string" - } - }, - "fingerprint": { - "type": "string", - "example": "jklmnop12345678", - "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key." - }, - "credential_accessed_at": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "Date when the credential was last accessed. May be null if it was never accessed", - "nullable": true - }, - "authorized_credential_id": { - "type": "integer", - "nullable": true, - "example": 12345678, - "description": "The ID of the underlying token that was authorized by the user. This will remain unchanged across authorizations of the token." - }, - "authorized_credential_title": { - "type": "string", - "nullable": true, - "example": "my ssh key", - "description": "The title given to the ssh key. This will only be present when the credential is an ssh key." - }, - "authorized_credential_note": { - "type": "string", - "nullable": true, - "example": "my token", - "description": "The note given to the token. This will only be present when the credential is a token." - }, - "authorized_credential_expires_at": { - "type": "string", - "format": "date-time", - "nullable": true, - "description": "The expiry for the token. This will only be present when the credential is a token." - } - }, - "required": [ - "login", - "credential_id", - "credential_type", - "credential_authorized_at", - "credential_accessed_at", - "authorized_credential_id" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "credential_id": 161195, - "credential_type": "personal access token", - "token_last_eight": "71c3fc11", - "credential_authorized_at": "2011-01-26T19:06:43Z", - "credential_accessed_at": "2011-01-26T19:06:43Z", - "authorized_credential_expires_at": "2011-02-25T19:06:43Z", - "scopes": [ - "user", - "repo" - ] - }, - { - "login": "hubot", - "credential_id": 161196, - "credential_type": "personal access token", - "token_last_eight": "Ae178B4a", - "credential_authorized_at": "2019-03-29T19:06:43Z", - "credential_accessed_at": "2011-01-26T19:06:43Z", - "authorized_credential_expires_at": "2019-04-28T19:06:43Z", - "scopes": [ - "repo" - ] - } - ] - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" - } - } - }, - "/orgs/{org}/credential-authorizations/{credential_id}": { - "delete": { - "summary": "Remove a SAML SSO authorization for an organization", - "description": "Removes a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", - "tags": [ - "orgs" - ], - "operationId": "orgs/remove-saml-sso-authorization", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "credential_id", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "description": "Resource not found", + { + "name": "credential_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171063,373 +169980,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for a team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -279042,7 +277592,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], @@ -828942,11 +827492,11 @@ } } }, - "issues-unassigned": { + "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/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": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -829013,110 +827563,13 @@ "content": { "application/json": { "schema": { - "title": "issues unassigned event", + "title": "issues typed event", "type": "object", "properties": { "action": { - "description": "The action that was performed.", "type": "string", "enum": [ - "unassigned" - ] - }, - "assignee": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "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" + "typed" ] }, "enterprise": { @@ -830482,6 +828935,66 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, "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.", @@ -831900,6 +830413,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] @@ -831924,11 +830438,11 @@ } } }, - "issues-unlabeled": { + "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/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": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -831995,13 +830509,110 @@ "content": { "application/json": { "schema": { - "title": "issues unlabeled event", + "title": "issues unassigned event", "type": "object", "properties": { "action": { + "description": "The action that was performed.", "type": "string", "enum": [ - "unlabeled" + "unassigned" + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" ] }, "enterprise": { @@ -832387,16 +830998,5850 @@ "type": "string", "format": "uri" } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "team_discussions": { + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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-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/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": "A label was removed from an issue.", + "operationId": "issues/unlabeled", + "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 unlabeled event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "unlabeled" + ] + }, + "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "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", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + ] + }, + "team_discussions": { + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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-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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", + "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 unlocked event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "unlocked" + ] + }, + "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", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "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", + "required": [ + "active_lock_reason", + "assignees", + "author_association", + "body", + "closed_at", + "comments", + "comments_url", + "created_at", + "events_url", + "html_url", + "id", + "labels_url", + "locked", + "milestone", + "node_id", + "number", + "reactions", + "repository_url", + "title", + "updated_at", + "url", + "user" + ], + "properties": { + "active_lock_reason": { + "type": "string", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + } + } + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "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" + } + } + } + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "nullable": true, + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string", + "nullable": true + }, + "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": { @@ -832404,13 +836849,34 @@ "format": "uri-template" }, "locked": { - "type": "boolean" + "type": "boolean", + "enum": [ + false + ] }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, + "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", @@ -832428,6 +836894,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -832503,8 +836973,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -832514,11 +836983,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "description": { "type": "string", @@ -832570,25 +837035,7 @@ "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" @@ -832601,6 +837048,17 @@ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", "type": "object", "nullable": true, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], "properties": { "created_at": { "type": "string", @@ -832661,9 +837119,7 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" + "workflow_run" ] } }, @@ -832692,6 +837148,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -832777,11 +837237,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -832910,8 +837366,7 @@ "type": "string", "enum": [ "read", - "write", - "admin" + "write" ] }, "organization_secrets": { @@ -833044,18 +837499,7 @@ "nullable": true, "format": "date-time" } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] + } }, "pull_request": { "type": "object", @@ -833086,6 +837530,18 @@ "reactions": { "title": "Reactions", "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], "properties": { "+1": { "type": "integer" @@ -833118,19 +837574,7 @@ "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + } }, "repository_url": { "type": "string", @@ -833249,6 +837693,10 @@ "title": "User", "type": "object", "nullable": true, + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -833325,8 +837773,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -833336,77 +837783,9 @@ "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", - "nullable": true - }, - "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", @@ -834850,11 +839229,11 @@ } } }, - "issues-unlocked": { + "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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -834921,13 +839300,13 @@ "content": { "application/json": { "schema": { - "title": "issues unlocked event", + "title": "issues unpinned event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unlocked" + "unpinned" ] }, "enterprise": { @@ -835023,30 +839402,6 @@ "title": "Issue", "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "locked", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], "properties": { "active_lock_reason": { "type": "string", @@ -835063,10 +839418,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -835152,7 +839503,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -835160,10 +839515,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -835249,7 +839600,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -835308,16 +839663,6 @@ "items": { "title": "Label", "type": "object", - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "nullable": true, "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -835345,7 +839690,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -835353,34 +839707,13 @@ "format": "uri-template" }, "locked": { - "type": "boolean", - "enum": [ - false - ] + "type": "boolean" }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, - "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", @@ -835398,10 +839731,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -835487,7 +839816,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -835539,7 +839872,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" @@ -835552,17 +839903,6 @@ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", "type": "object", "nullable": true, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": "string", @@ -835652,10 +839992,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -835741,7 +840077,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -836003,7 +840343,18 @@ "nullable": true, "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -836034,18 +840385,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -836078,7 +840417,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -836197,10 +840548,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -836287,9 +840634,36 @@ "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" + ] }, "organization": { "title": "Organization Simple", @@ -837733,11 +842107,11 @@ } } }, - "issues-unpinned": { + "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/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 was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "An issue type was removed from an issue.", + "operationId": "issues/untyped", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -837804,13 +842178,13 @@ "content": { "application/json": { "schema": { - "title": "issues unpinned event", + "title": "issues untyped event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unpinned" + "untyped" ] }, "enterprise": { @@ -837997,7 +842371,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -838094,7 +842469,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -838310,7 +842686,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -838467,7 +842844,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -838714,7 +843093,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -839128,7 +843508,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -839169,6 +843550,66 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, "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.", @@ -840587,6 +845028,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 43b06ff6da..b8bb4ccf33 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &342 + type: &340 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &181 + schema: &180 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &667 + - &665 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &139 + properties: &138 id: description: Unique identifier of the GitHub app example: 37 @@ -1279,7 +1279,7 @@ paths: type: string example: '"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"' - required: &140 + required: &139 - id - node_id - owner @@ -1584,7 +1584,7 @@ paths: schema: type: integer default: 30 - - &264 + - &262 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 @@ -1600,7 +1600,7 @@ paths: application/json: schema: type: array - items: &265 + items: &263 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1680,7 +1680,7 @@ paths: - installation_id - repository_id examples: - default: &266 + default: &264 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1712,7 +1712,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &677 + schema: &675 title: Scim Error description: Scim Error type: object @@ -1739,7 +1739,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &180 + schema: &179 title: Validation Error description: Validation Error type: object @@ -1808,7 +1808,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &265 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1922,7 +1922,7 @@ paths: - request - response examples: - default: &268 + default: &266 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2123,7 +2123,7 @@ paths: parameters: - *17 - *19 - - &144 + - &143 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2849,7 +2849,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &324 + properties: &322 id: description: Unique identifier of the repository example: 42 @@ -2869,7 +2869,7 @@ paths: title: License Simple description: License Simple type: object - properties: &155 + properties: &154 key: type: string example: mit @@ -2891,7 +2891,7 @@ paths: html_url: type: string format: uri - required: &156 + required: &155 - key - name - url @@ -3278,7 +3278,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &325 + required: &323 - archive_url - assignees_url - blobs_url @@ -7291,7 +7291,7 @@ paths: description: Response content: application/json: - schema: &182 + schema: &181 type: object properties: total_active_caches_count: @@ -7306,7 +7306,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &183 + default: &182 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7491,7 +7491,7 @@ paths: - public_ip_enabled - platform examples: - default: &184 + default: &183 value: total_count: 2 runners: @@ -7777,7 +7777,7 @@ paths: description: Response content: application/json: - schema: &185 + schema: &184 type: object properties: public_ips: @@ -7802,7 +7802,7 @@ paths: required: - public_ips examples: - default: &186 + default: &185 value: public_ips: current_usage: 17 @@ -7842,7 +7842,7 @@ paths: type: array items: *44 examples: - default: &187 + default: &186 value: id: 4-core cpu_cores: 4 @@ -8099,7 +8099,7 @@ paths: - all - local_only - selected - selected_actions_url: &190 + selected_actions_url: &189 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` @@ -8467,7 +8467,7 @@ paths: description: Success response content: application/json: - schema: &193 + schema: &192 type: object properties: default_workflow_permissions: &52 @@ -8515,7 +8515,7 @@ paths: required: true content: application/json: - schema: &194 + schema: &193 type: object properties: default_workflow_permissions: *52 @@ -9351,7 +9351,7 @@ paths: application/json: schema: type: array - items: &198 + items: &197 title: Runner Application description: Runner Application type: object @@ -9376,7 +9376,7 @@ paths: - download_url - filename examples: - default: &199 + default: &198 value: - os: osx architecture: x64 @@ -9460,7 +9460,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &200 + '201': &199 description: Response content: application/json: @@ -9575,7 +9575,7 @@ paths: - token - expires_at examples: - default: &201 + default: &200 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9615,7 +9615,7 @@ paths: application/json: schema: *64 examples: - default: &202 + default: &201 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9647,7 +9647,7 @@ paths: application/json: schema: *61 examples: - default: &203 + default: &202 value: id: 23 name: MBP @@ -9862,7 +9862,7 @@ paths: - *40 - *60 responses: - '200': &204 + '200': &203 description: Response content: application/json: @@ -9918,7 +9918,7 @@ paths: parameters: - *40 - *60 - - &205 + - &204 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10009,7 +10009,7 @@ paths: required: true content: application/json: - schema: &212 + schema: &211 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10081,7 +10081,7 @@ paths: required: false schema: type: string - - &213 + - &212 name: include description: |- The event types to include: @@ -10099,7 +10099,7 @@ paths: - web - git - all - - &214 + - &213 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10107,7 +10107,7 @@ paths: required: false schema: type: string - - &215 + - &214 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10115,7 +10115,7 @@ paths: required: false schema: type: string - - &216 + - &215 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10137,7 +10137,7 @@ paths: application/json: schema: type: array - items: &217 + items: &216 type: object properties: "@timestamp": @@ -10259,7 +10259,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &218 + default: &217 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10860,7 +10860,7 @@ paths: in: query schema: type: string - - &220 + - &219 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10868,7 +10868,7 @@ paths: required: false schema: type: string - - &221 + - &220 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10876,7 +10876,7 @@ paths: required: false schema: type: string - - &222 + - &221 name: time_period description: |- The time period to filter by. @@ -10892,7 +10892,7 @@ paths: - week - month default: day - - &223 + - &222 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10918,7 +10918,7 @@ paths: application/json: schema: type: array - items: &224 + items: &223 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11035,7 +11035,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &227 + items: &226 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11079,7 +11079,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &225 + default: &224 value: - id: 21 number: 42 @@ -11170,7 +11170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &228 + - &227 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`, @@ -11180,7 +11180,7 @@ paths: schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - - &229 + - &228 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 @@ -11203,7 +11203,7 @@ paths: be returned. in: query required: false - schema: &230 + schema: &229 type: string description: State of a code scanning alert. enum: @@ -11228,7 +11228,7 @@ paths: application/json: schema: type: array - items: &231 + items: &230 type: object properties: number: &100 @@ -11257,7 +11257,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &458 + instances_url: &456 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11292,7 +11292,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &459 + dismissed_reason: &457 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11301,13 +11301,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &460 + dismissed_comment: &458 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &461 + rule: &459 type: object properties: id: @@ -11360,7 +11360,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &462 + tool: &460 type: object properties: name: *87 @@ -11370,15 +11370,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *88 - most_recent_instance: &463 + most_recent_instance: &461 type: object properties: - ref: &456 + ref: &454 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &473 + analysis_key: &471 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11389,7 +11389,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &474 + category: &472 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11734,7 +11734,7 @@ paths: - most_recent_instance - repository examples: - default: &232 + default: &231 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12541,7 +12541,7 @@ paths: description: Response content: application/json: - schema: &234 + schema: &233 type: array description: A list of default code security configurations items: @@ -12557,7 +12557,7 @@ paths: default configuration: *90 examples: - default: &235 + default: &234 value: - default_for_new_repos: public configuration: @@ -12988,7 +12988,7 @@ paths: default: value: default_for_new_repos: all - configuration: &233 + configuration: &232 value: id: 1325 target_type: organization @@ -13071,7 +13071,7 @@ paths: application/json: schema: type: array - items: &236 + items: &235 type: object description: Repositories associated with a code security configuration and attachment status @@ -13095,7 +13095,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &237 + repository: &236 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13560,7 +13560,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &239 + items: &238 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13578,7 +13578,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &286 + - &284 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13637,7 +13637,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &302 + properties: &300 id: description: Unique identifier of the team type: integer @@ -13693,7 +13693,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &303 + required: &301 - id - node_id - url @@ -13812,7 +13812,7 @@ paths: - created_at additionalProperties: false examples: - default: &240 + default: &239 value: total_seats: 2 seats: @@ -14363,225 +14363,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/enterprises/{enterprise}/copilot/usage": - get: - summary: Get a summary of Copilot usage for enterprise members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, - and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - The time zone in the response is in UTC time, that means that the cutoff time for the "day" is UTC time. - - Only owners and billing managers can view Copilot usage metrics for the enterprise. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members - parameters: - - *40 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &137 - title: Copilot Usage Metrics - description: Summary of Copilot usage. - type: object - properties: - day: - type: string - format: date - description: The date for which the usage metrics are reported, - in `YYYY-MM-DD` format. - total_suggestions_count: - type: integer - description: The total number of Copilot code completion suggestions - shown to users. - total_acceptances_count: - type: integer - description: The total number of Copilot code completion suggestions - accepted by users. - total_lines_suggested: - type: integer - description: The total number of lines of code completions suggested - by Copilot. - total_lines_accepted: - type: integer - description: The total number of lines of code completions accepted - by users. - total_active_users: - type: integer - description: The total number of users who were shown Copilot - code completion suggestions during the day specified. - total_chat_acceptances: - type: integer - description: The total instances of users who accepted code - suggested by Copilot Chat in the IDE (panel and inline). - total_chat_turns: - type: integer - description: The total number of chat turns (prompt and response - pairs) sent between users and Copilot Chat in the IDE. - total_active_chat_users: - type: integer - description: The total number of users who interacted with Copilot - Chat in the IDE during the day specified. - breakdown: - type: array - description: Breakdown of Copilot code completions usage by - language and editor - nullable: true - items: - type: object - description: Breakdown of Copilot usage by editor for this - language - additionalProperties: true - properties: - language: - type: string - description: The language in which Copilot suggestions - were shown to users in the specified editor. - editor: - type: string - description: The editor in which Copilot suggestions were - shown to users for the specified language. - suggestions_count: - type: integer - description: The number of Copilot suggestions shown to - users in the editor specified during the day specified. - acceptances_count: - type: integer - description: The number of Copilot suggestions accepted - by users in the editor specified during the day specified. - lines_suggested: - type: integer - description: The number of lines of code suggested by - Copilot in the editor specified during the day specified. - lines_accepted: - type: integer - description: The number of lines of code accepted by users - in the editor specified during the day specified. - active_users: - type: integer - description: The number of users who were shown Copilot - completion suggestions in the editor specified during - the day specified. - required: - - day - - breakdown - additionalProperties: false - examples: - default: - value: - - day: '2023-10-15' - total_suggestions_count: 5000 - total_acceptances_count: 3000 - total_lines_suggested: 7000 - total_lines_accepted: 3500 - total_active_users: 15 - total_chat_acceptances: 45 - total_chat_turns: 350 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 3000 - acceptances_count: 2000 - lines_suggested: 3000 - lines_accepted: 1500 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 1000 - acceptances_count: 500 - lines_suggested: 2000 - lines_accepted: 1000 - active_users: 5 - - language: javascript - editor: vscode - suggestions_count: 1000 - acceptances_count: 500 - lines_suggested: 2000 - lines_accepted: 1000 - active_users: 5 - - day: '2023-10-16' - total_suggestions_count: 5200 - total_acceptances_count: 5100 - total_lines_suggested: 5300 - total_lines_accepted: 5000 - total_active_users: 15 - total_chat_acceptances: 57 - total_chat_turns: 455 - total_active_chat_users: 12 - breakdown: - - language: python - editor: vscode - suggestions_count: 3100 - acceptances_count: 3000 - lines_suggested: 3200 - lines_accepted: 3100 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 1100 - acceptances_count: 1000 - lines_suggested: 1200 - lines_accepted: 1100 - active_users: 5 - - language: javascript - editor: vscode - suggestions_count: 1000 - acceptances_count: 900 - lines_suggested: 1100 - lines_accepted: 1000 - active_users: 5 - '500': *99 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -14601,7 +14382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &247 + - &245 name: state in: query description: |- @@ -14610,7 +14391,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &248 + - &246 name: severity in: query description: |- @@ -14619,7 +14400,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &249 + - &247 name: ecosystem in: query description: |- @@ -14628,14 +14409,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &250 + - &248 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &251 + - &249 name: epss_percentage in: query description: |- @@ -14647,7 +14428,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 - - &252 + - &250 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14657,7 +14438,7 @@ paths: enum: - development - runtime - - &253 + - &251 name: sort in: query description: |- @@ -14675,7 +14456,7 @@ paths: - *86 - *84 - *85 - - &254 + - &252 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14688,7 +14469,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &255 + - &253 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14708,7 +14489,7 @@ paths: application/json: schema: type: array - items: &256 + items: &254 type: object description: A Dependabot alert. properties: @@ -14771,7 +14552,7 @@ paths: - unknown - direct - transitive - security_advisory: &515 + security_advisory: &513 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15003,7 +14784,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: &516 + auto_dismissed_at: &514 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -15029,7 +14810,7 @@ paths: - repository additionalProperties: false examples: - default: &257 + default: &255 value: - number: 2 state: dismissed @@ -15495,7 +15276,7 @@ paths: - name - created_on examples: - default: &352 + default: &350 value: total_count: 2 network_configurations: @@ -15718,7 +15499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *40 - - &353 + - &351 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15730,7 +15511,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &352 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15764,7 +15545,7 @@ paths: - subnet_id - region examples: - default: &355 + default: &353 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15977,7 +15758,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *40 - - &171 + - &170 name: org description: The organization name. The name is not case sensitive. in: path @@ -16066,7 +15847,7 @@ paths: required: true content: application/json: - schema: &322 + schema: &320 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16432,7 +16213,7 @@ paths: type: object description: A repository rule. oneOf: - - &625 + - &623 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16444,7 +16225,7 @@ paths: type: string enum: - creation - - &626 + - &624 title: update description: Only allow users with bypass permission to update matching refs. @@ -16465,7 +16246,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &628 + - &626 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16477,7 +16258,7 @@ paths: type: string enum: - deletion - - &629 + - &627 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16489,7 +16270,7 @@ paths: type: string enum: - required_linear_history - - &630 + - &628 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16565,7 +16346,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &631 + - &629 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16589,7 +16370,7 @@ paths: type: string required: - required_deployment_environments - - &632 + - &630 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16601,7 +16382,7 @@ paths: type: string enum: - required_signatures - - &633 + - &631 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16663,7 +16444,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &634 + - &632 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16710,7 +16491,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &635 + - &633 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16722,7 +16503,7 @@ paths: type: string enum: - non_fast_forward - - &636 + - &634 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16758,7 +16539,7 @@ paths: required: - operator - pattern - - &637 + - &635 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16794,115 +16575,115 @@ paths: required: - operator - pattern - - &638 - title: committer_email_pattern - description: Parameters to be used for the committer_email_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - committer_email_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the pattern - matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &639 - title: branch_name_pattern - description: Parameters to be used for the branch_name_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - branch_name_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the pattern - matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &640 - title: tag_name_pattern - description: Parameters to be used for the tag_name_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - tag_name_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the pattern - matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &641 + - &636 + title: committer_email_pattern + description: Parameters to be used for the committer_email_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - committer_email_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the pattern + matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &637 + title: branch_name_pattern + description: Parameters to be used for the branch_name_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - branch_name_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the pattern + matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &638 + title: tag_name_pattern + description: Parameters to be used for the tag_name_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - tag_name_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the pattern + matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &639 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16926,7 +16707,7 @@ paths: type: string required: - restricted_file_paths - - &642 + - &640 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16950,7 +16731,7 @@ paths: maximum: 256 required: - max_file_path_length - - &643 + - &641 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16973,7 +16754,7 @@ paths: type: string required: - restricted_file_extensions - - &644 + - &642 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16997,7 +16778,7 @@ paths: maximum: 100 required: - max_file_size - - &645 + - &643 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17046,7 +16827,7 @@ paths: - repository_id required: - workflows - - &646 + - &644 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17203,7 +16984,7 @@ paths: nullable: true anyOf: - *121 - - &329 + - &327 title: Organization ruleset conditions type: object description: |- @@ -17484,7 +17265,7 @@ paths: type: string format: date-time examples: - default: &331 + default: &329 value: - version_id: 3 actor: @@ -17537,7 +17318,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &330 allOf: - *131 - type: object @@ -17592,7 +17373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &333 + - &331 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17603,7 +17384,7 @@ paths: enum: - open - resolved - - &334 + - &332 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17613,7 +17394,7 @@ paths: required: false schema: type: string - - &335 + - &333 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17622,7 +17403,7 @@ paths: required: false schema: type: string - - &336 + - &334 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. @@ -17638,7 +17419,7 @@ paths: - *17 - *84 - *85 - - &337 + - &335 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17647,7 +17428,7 @@ paths: required: false schema: type: string - - &338 + - &336 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17656,7 +17437,7 @@ paths: schema: type: boolean default: false - - &339 + - &337 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17672,7 +17453,7 @@ paths: application/json: schema: type: array - items: &340 + items: &338 type: object properties: number: *100 @@ -17691,14 +17472,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &659 + state: &657 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &660 + resolution: &658 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17800,7 +17581,7 @@ paths: is base64 encoded nullable: true examples: - default: &341 + default: &339 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18063,7 +17844,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &342 type: object properties: total_minutes_used: @@ -18133,7 +17914,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &345 + default: &343 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18171,7 +17952,7 @@ paths: description: Success content: application/json: - schema: &346 + schema: &344 type: object properties: total_advanced_security_committers: @@ -18226,7 +18007,7 @@ paths: required: - repositories examples: - default: &347 + default: &345 value: total_advanced_security_committers: 2 total_count: 2 @@ -18465,7 +18246,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &346 type: object properties: total_gigabytes_bandwidth_used: @@ -18483,7 +18264,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &349 + default: &347 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18515,7 +18296,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &348 type: object properties: days_left_in_billing_cycle: @@ -18533,7 +18314,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &351 + default: &349 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18558,7 +18339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - &172 + - &171 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18567,7 +18348,7 @@ paths: required: false schema: type: integer - - &173 + - &172 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 @@ -18576,7 +18357,7 @@ paths: required: false schema: type: integer - - &174 + - &173 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18585,7 +18366,7 @@ paths: required: false schema: type: integer - - &175 + - &174 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18606,7 +18387,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &176 + schema: &175 type: object properties: usageItems: @@ -18659,7 +18440,7 @@ paths: - netAmount - organizationName examples: - default: &177 + default: &176 value: usageItems: - date: '2023-08-01' @@ -18759,148 +18540,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for an enterprise team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-enterprise-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team - parameters: - - *40 - - &301 - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *137 - examples: - default: &241 - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 - '500': *99 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/enterprises/{enterprise}/{security_product}/{enablement}": post: summary: Enable or disable a security feature @@ -18984,7 +18623,7 @@ paths: application/json: schema: type: array - items: &166 + items: &165 title: Event description: Event type: object @@ -18994,7 +18633,7 @@ paths: type: type: string nullable: true - actor: &138 + actor: &137 title: Actor description: Actor type: object @@ -19034,18 +18673,18 @@ paths: - id - name - url - org: *138 + org: *137 payload: type: object properties: action: type: string - issue: &154 + issue: &153 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &564 + properties: &562 id: type: integer format: int64 @@ -19156,7 +18795,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &500 + properties: &498 url: type: string format: uri @@ -19226,7 +18865,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &501 + required: &499 - closed_issues - creator - description @@ -19305,7 +18944,7 @@ paths: timeline_url: type: string format: uri - type: &287 + type: &285 title: Issue Type description: The type of issue. type: object @@ -19364,9 +19003,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - author_association: &141 + properties: *138 + required: *139 + author_association: &140 title: author_association type: string example: OWNER @@ -19380,7 +19019,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &142 + reactions: &141 title: Reaction Rollup type: object properties: @@ -19430,7 +19069,7 @@ paths: - total - completed - percent_completed - required: &565 + required: &563 - assignee - closed_at - comments @@ -19452,7 +19091,7 @@ paths: - author_association - created_at - updated_at - comment: &562 + comment: &560 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19500,7 +19139,7 @@ paths: issue_url: type: string format: uri - author_association: *141 + author_association: *140 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -19510,9 +19149,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - reactions: *142 + properties: *138 + required: *139 + reactions: *141 required: - id - node_id @@ -19688,7 +19327,7 @@ paths: _links: type: object properties: - timeline: &143 + timeline: &142 title: Link With Type description: Hypermedia Link with Type type: object @@ -19700,17 +19339,17 @@ paths: required: - href - type - user: *143 - security_advisories: *143 - current_user: *143 - current_user_public: *143 - current_user_actor: *143 - current_user_organization: *143 + user: *142 + security_advisories: *142 + current_user: *142 + current_user_public: *142 + current_user_actor: *142 + current_user_organization: *142 current_user_organizations: type: array - items: *143 - repository_discussions: *143 - repository_discussions_category: *143 + items: *142 + repository_discussions: *142 + repository_discussions_category: *142 required: - timeline - user @@ -19772,7 +19411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *144 + - *143 - *17 - *19 responses: @@ -19782,7 +19421,7 @@ paths: application/json: schema: type: array - items: &145 + items: &144 title: Base Gist description: Base Gist type: object @@ -19881,7 +19520,7 @@ paths: - created_at - updated_at examples: - default: &146 + default: &145 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20002,7 +19641,7 @@ paths: description: Response content: application/json: - schema: &147 + schema: &146 title: Gist Simple description: Gist Simple type: object @@ -20019,7 +19658,7 @@ paths: url: type: string format: uri - user: &716 + user: &714 title: Public User description: Public User type: object @@ -20381,7 +20020,7 @@ paths: truncated: type: boolean examples: - default: &148 + default: &147 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20485,7 +20124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *144 + - *143 - *17 - *19 responses: @@ -20495,9 +20134,9 @@ paths: application/json: schema: type: array - items: *145 + items: *144 examples: - default: *146 + default: *145 headers: Link: *39 '422': *15 @@ -20519,7 +20158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *144 + - *143 - *17 - *19 responses: @@ -20529,9 +20168,9 @@ paths: application/json: schema: type: array - items: *145 + items: *144 examples: - default: *146 + default: *145 headers: Link: *39 '401': *25 @@ -20559,7 +20198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &149 + - &148 name: gist_id description: The unique identifier of the gist. in: path @@ -20571,10 +20210,10 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: - default: *148 - '403': &152 + default: *147 + '403': &151 description: Forbidden Gist content: application/json: @@ -20622,7 +20261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *149 + - *148 requestBody: required: true content: @@ -20682,9 +20321,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: - updateGist: *148 + updateGist: *147 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -20842,7 +20481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *149 + - *148 responses: '204': description: Response @@ -20871,7 +20510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *149 + - *148 - *17 - *19 responses: @@ -20881,7 +20520,7 @@ paths: application/json: schema: type: array - items: &150 + items: &149 title: Gist Comment description: A comment made to a gist. type: object @@ -20916,7 +20555,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *141 + author_association: *140 required: - url - id @@ -20981,7 +20620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *149 + - *148 requestBody: required: true content: @@ -21006,9 +20645,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: &151 + default: &150 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21066,8 +20705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *149 - - &153 + - *148 + - &152 name: comment_id description: The unique identifier of the comment. in: path @@ -21080,12 +20719,12 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: *151 + default: *150 '304': *37 '404': *6 - '403': *152 + '403': *151 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21107,8 +20746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *149 - - *153 + - *148 + - *152 requestBody: required: true content: @@ -21133,9 +20772,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: *151 + default: *150 '404': *6 x-github: githubCloudOnly: false @@ -21152,8 +20791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *149 - - *153 + - *148 + - *152 responses: '204': description: Response @@ -21176,7 +20815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *149 + - *148 - *17 - *19 responses: @@ -21277,7 +20916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *149 + - *148 - *17 - *19 responses: @@ -21287,7 +20926,7 @@ paths: application/json: schema: type: array - items: *147 + items: *146 examples: default: value: @@ -21352,13 +20991,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *149 + - *148 responses: '201': description: Response content: application/json: - schema: *145 + schema: *144 examples: default: value: @@ -21429,7 +21068,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *149 + - *148 responses: '204': description: Response if gist is starred @@ -21459,7 +21098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *149 + - *148 responses: '204': description: Response @@ -21481,7 +21120,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *149 + - *148 responses: '204': description: Response @@ -21510,7 +21149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *149 + - *148 - name: sha in: path required: true @@ -21521,9 +21160,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: - default: *148 + default: *147 '422': *15 '404': *6 '403': *29 @@ -21889,7 +21528,7 @@ paths: - closed - all default: open - - &290 + - &288 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -21908,7 +21547,7 @@ paths: - comments default: created - *86 - - *144 + - *143 - name: collab in: query required: false @@ -21938,9 +21577,9 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: &291 + default: &289 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22224,8 +21863,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 examples: default: value: @@ -22509,7 +22148,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &157 + X-CommonMarker-Version: &156 example: 0.17.4 schema: type: string @@ -22564,7 +22203,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *157 + X-CommonMarker-Version: *156 content: text/html: schema: @@ -22593,7 +22232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &160 + - &159 name: account_id description: account_id parameter in: path @@ -22605,7 +22244,7 @@ paths: description: Response content: application/json: - schema: &159 + schema: &158 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22635,7 +22274,7 @@ paths: nullable: true id: type: integer - plan: &158 + plan: &157 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -22724,7 +22363,7 @@ paths: nullable: true updated_at: type: string - plan: *158 + plan: *157 required: - url - id @@ -22732,7 +22371,7 @@ paths: - login - marketplace_purchase examples: - default: &161 + default: &160 value: url: https://api.github.com/orgs/github type: Organization @@ -22817,9 +22456,9 @@ paths: application/json: schema: type: array - items: *158 + items: *157 examples: - default: &162 + default: &161 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -22859,14 +22498,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &163 + - &162 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &164 + - &163 name: sort description: The property to sort the results by. in: query @@ -22896,9 +22535,9 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: - default: &165 + default: &164 value: - url: https://api.github.com/orgs/github type: Organization @@ -22972,15 +22611,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *160 + - *159 responses: '200': description: Response content: application/json: - schema: *159 + schema: *158 examples: - default: *161 + default: *160 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -23012,9 +22651,9 @@ paths: application/json: schema: type: array - items: *158 + items: *157 examples: - default: *162 + default: *161 headers: Link: *39 '401': *25 @@ -23037,8 +22676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: + - *162 - *163 - - *164 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23058,9 +22697,9 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: - default: *165 + default: *164 headers: Link: *39 '401': *25 @@ -23324,14 +22963,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &375 + - &373 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &376 + - &374 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23348,7 +22987,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -23402,7 +23041,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &389 + '301': &387 description: Moved permanently content: application/json: @@ -23424,7 +23063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &594 + - &592 name: all description: If `true`, show notifications marked as read. in: query @@ -23432,7 +23071,7 @@ paths: schema: type: boolean default: false - - &595 + - &593 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23441,8 +23080,8 @@ paths: schema: type: boolean default: false - - *144 - - &596 + - *143 + - &594 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: @@ -23467,18 +23106,18 @@ paths: application/json: schema: type: array - items: &167 + items: &166 title: Thread description: Thread type: object properties: id: type: string - repository: &197 + repository: &196 title: Minimal Repository description: Minimal Repository type: object - properties: &259 + properties: &257 id: type: integer format: int64 @@ -23754,7 +23393,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &326 + security_and_analysis: &324 nullable: true type: object properties: @@ -23818,7 +23457,7 @@ paths: enum: - enabled - disabled - required: &260 + required: &258 - archive_url - assignees_url - blobs_url @@ -23906,7 +23545,7 @@ paths: - url - subscription_url examples: - default: &597 + default: &595 value: - id: '1' repository: @@ -24072,7 +23711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &168 + - &167 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -24086,7 +23725,7 @@ paths: description: Response content: application/json: - schema: *167 + schema: *166 examples: default: value: @@ -24189,7 +23828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *168 + - *167 responses: '205': description: Reset Content @@ -24212,7 +23851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *168 + - *167 responses: '204': description: No content @@ -24235,13 +23874,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *168 + - *167 responses: '200': description: Response content: application/json: - schema: &169 + schema: &168 title: Thread Subscription description: Thread Subscription type: object @@ -24278,7 +23917,7 @@ paths: - url - subscribed examples: - default: &170 + default: &169 value: subscribed: true ignored: false @@ -24309,7 +23948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *168 + - *167 requestBody: required: false content: @@ -24330,9 +23969,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: - default: *170 + default: *169 '304': *37 '403': *29 '401': *25 @@ -24355,7 +23994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *168 + - *167 responses: '204': description: Response @@ -24452,7 +24091,7 @@ paths: type: array items: *58 examples: - default: &734 + default: &732 value: - login: github id: 1 @@ -24516,7 +24155,7 @@ paths: type: integer custom_roles: type: array - items: &242 + items: &240 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24564,7 +24203,7 @@ paths: - created_at - updated_at examples: - default: &243 + default: &241 value: id: 8030 name: Security Engineer @@ -24610,19 +24249,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: + - *170 - *171 - *172 - *173 - *174 - - *175 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *176 + schema: *175 examples: - default: *177 + default: *176 '400': *14 '403': *29 '500': *99 @@ -24652,13 +24291,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: &178 + schema: &177 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -24961,7 +24600,7 @@ paths: - updated_at - archived_at examples: - default-response: &179 + default-response: &178 value: login: github id: 1 @@ -25054,7 +24693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *171 + - *170 requestBody: required: false content: @@ -25277,17 +24916,17 @@ paths: description: Response content: application/json: - schema: *178 + schema: *177 examples: - default: *179 + default: *178 '422': description: Validation failed content: application/json: schema: oneOf: + - *179 - *180 - - *181 '409': *94 x-github: githubCloudOnly: false @@ -25311,7 +24950,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *171 + - *170 responses: '202': *95 '404': *6 @@ -25336,15 +24975,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *182 + schema: *181 examples: - default: *183 + default: *182 headers: Link: *39 x-github: @@ -25367,7 +25006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -25385,7 +25024,7 @@ paths: type: integer repository_cache_usages: type: array - items: &394 + items: &392 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25440,7 +25079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -25460,7 +25099,7 @@ paths: type: array items: *41 examples: - default: *184 + default: *183 headers: Link: *39 x-github: @@ -25480,7 +25119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -25567,7 +25206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25603,7 +25242,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25638,15 +25277,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *185 + schema: *184 examples: - default: *186 + default: *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25664,7 +25303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25682,7 +25321,7 @@ paths: type: array items: *44 examples: - default: *187 + default: *186 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25700,7 +25339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25744,7 +25383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *46 responses: '200': @@ -25773,7 +25412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *46 requestBody: required: true @@ -25830,7 +25469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *46 responses: '202': @@ -25859,13 +25498,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *171 + - *170 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &188 + schema: &187 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -25879,7 +25518,7 @@ paths: required: - include_claim_keys examples: - default: &189 + default: &188 value: include_claim_keys: - repo @@ -25901,20 +25540,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: application/json: - schema: *188 + schema: *187 examples: - default: *189 + default: *188 responses: '201': description: Empty response content: application/json: - schema: &208 + schema: &207 title: Empty Object description: An object without any properties. type: object @@ -25944,7 +25583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -25953,7 +25592,7 @@ paths: schema: type: object properties: - enabled_repositories: &191 + enabled_repositories: &190 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -25967,7 +25606,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *48 - selected_actions_url: *190 + selected_actions_url: *189 required: - enabled_repositories examples: @@ -25996,7 +25635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -26007,7 +25646,7 @@ paths: schema: type: object properties: - enabled_repositories: *191 + enabled_repositories: *190 allowed_actions: *48 required: - enabled_repositories @@ -26035,7 +25674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -26055,7 +25694,7 @@ paths: type: array items: *63 examples: - default: &728 + default: &726 value: total_count: 1 repositories: @@ -26195,7 +25834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -26239,8 +25878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *171 - - &192 + - *170 + - &191 name: repository_id description: The unique identifier of the repository. in: path @@ -26268,8 +25907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *171 - - *192 + - *170 + - *191 responses: '204': description: Response @@ -26292,7 +25931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -26323,7 +25962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -26355,13 +25994,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: default: *54 x-github: @@ -26384,7 +26023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *171 + - *170 responses: '204': description: Success response @@ -26395,7 +26034,7 @@ paths: required: false content: application/json: - schema: *194 + schema: *193 examples: default: *54 x-github: @@ -26417,7 +26056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *171 + - *170 - *17 - *19 - name: visible_to_repository @@ -26442,7 +26081,7 @@ paths: type: number runner_groups: type: array - items: &195 + items: &194 type: object properties: id: @@ -26558,7 +26197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -26630,9 +26269,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *194 examples: - default: &196 + default: &195 value: id: 2 name: octo-runner-group @@ -26667,14 +26306,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *171 + - *170 - *57 responses: '200': description: Response content: application/json: - schema: *195 + schema: *194 examples: default: value: @@ -26710,7 +26349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *171 + - *170 - *57 requestBody: required: true @@ -26765,9 +26404,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *194 examples: - default: *196 + default: *195 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26786,7 +26425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *171 + - *170 - *57 responses: '204': @@ -26810,7 +26449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *171 + - *170 - *57 - *17 - *19 @@ -26831,7 +26470,7 @@ paths: type: array items: *41 examples: - default: *184 + default: *183 headers: Link: *39 x-github: @@ -26853,7 +26492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *171 + - *170 - *57 - *19 - *17 @@ -26872,9 +26511,9 @@ paths: type: number repositories: type: array - items: *197 + items: *196 examples: - default: &719 + default: &717 value: total_count: 1 repositories: @@ -27126,7 +26765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *171 + - *170 - *57 requestBody: required: true @@ -27171,9 +26810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *171 + - *170 - *57 - - *192 + - *191 responses: '204': description: Response @@ -27195,9 +26834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *171 + - *170 - *57 - - *192 + - *191 responses: '204': description: Response @@ -27220,7 +26859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *171 + - *170 - *57 - *17 - *19 @@ -27262,7 +26901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *171 + - *170 - *57 requestBody: required: true @@ -27307,7 +26946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *171 + - *170 - *57 - *60 responses: @@ -27331,7 +26970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *171 + - *170 - *57 - *60 responses: @@ -27363,7 +27002,7 @@ paths: in: query schema: type: string - - *171 + - *170 - *17 - *19 responses: @@ -27407,7 +27046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -27415,9 +27054,9 @@ paths: application/json: schema: type: array - items: *198 + items: *197 examples: - default: *199 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27439,7 +27078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -27482,7 +27121,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *200 + '201': *199 '404': *6 '422': *7 '409': *94 @@ -27513,7 +27152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *171 + - *170 responses: '201': description: Response @@ -27521,7 +27160,7 @@ paths: application/json: schema: *64 examples: - default: *201 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27549,7 +27188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *171 + - *170 responses: '201': description: Response @@ -27557,7 +27196,7 @@ paths: application/json: schema: *64 examples: - default: *202 + default: *201 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27579,7 +27218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 responses: '200': @@ -27588,7 +27227,7 @@ paths: application/json: schema: *61 examples: - default: *203 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27609,7 +27248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *171 + - *170 - *60 responses: '204': @@ -27635,7 +27274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 responses: '200': *66 @@ -27660,7 +27299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 requestBody: required: true @@ -27709,7 +27348,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 requestBody: required: true @@ -27759,10 +27398,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 responses: - '200': *204 + '200': *203 '404': *6 x-github: githubCloudOnly: false @@ -27789,9 +27428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *171 + - *170 - *60 - - *205 + - *204 responses: '200': *66 '404': *6 @@ -27818,7 +27457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *171 + - *170 - *17 - *19 responses: @@ -27836,7 +27475,7 @@ paths: type: integer secrets: type: array - items: &206 + items: &205 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27909,13 +27548,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: &414 + schema: &412 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27944,7 +27583,7 @@ paths: - key_id - key examples: - default: &415 + default: &413 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27969,8 +27608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *171 - - &207 + - *170 + - &206 name: secret_name description: The name of the secret. in: path @@ -27982,7 +27621,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *205 examples: default: value: @@ -28012,8 +27651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -28070,7 +27709,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -28096,8 +27735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '204': description: Response @@ -28123,8 +27762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - *19 - *17 responses: @@ -28142,9 +27781,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: &211 + default: &210 value: total_count: 1 repositories: @@ -28236,8 +27875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -28289,8 +27928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -28323,8 +27962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -28356,8 +27995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *171 - - &399 + - *170 + - &397 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/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -28381,7 +28020,7 @@ paths: type: integer variables: type: array - items: &209 + items: &208 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28466,7 +28105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *171 + - *170 requestBody: required: true content: @@ -28514,7 +28153,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -28539,8 +28178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *171 - - &210 + - *170 + - &209 name: name description: The name of the variable. in: path @@ -28552,7 +28191,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -28582,8 +28221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 requestBody: required: true content: @@ -28645,8 +28284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 responses: '204': description: Response @@ -28672,8 +28311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 - *19 - *17 responses: @@ -28691,9 +28330,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: *211 + default: *210 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28719,8 +28358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 requestBody: required: true content: @@ -28769,8 +28408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 - name: repository_id in: path required: true @@ -28804,8 +28443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *171 - - *210 + - *170 + - *209 - name: repository_id in: path required: true @@ -28836,7 +28475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -28863,11 +28502,11 @@ paths: required: true content: application/json: - schema: *212 + schema: *211 examples: default: *70 parameters: - - *171 + - *170 responses: '200': description: Response @@ -28891,7 +28530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -28919,7 +28558,7 @@ paths: - *17 - *84 - *85 - - *171 + - *170 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -28970,7 +28609,7 @@ paths: bundle_url: type: string examples: - default: &428 + default: &426 value: attestations: - bundle: @@ -29088,7 +28727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *171 + - *170 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -29096,10 +28735,10 @@ paths: required: false schema: type: string + - *212 - *213 - *214 - *215 - - *216 - *17 responses: '200': @@ -29108,9 +28747,9 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: - default: *218 + default: *217 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29127,7 +28766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -29139,7 +28778,7 @@ paths: type: array items: *4 examples: - default: &292 + default: &290 value: - login: octocat id: 1 @@ -29177,8 +28816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *171 - - &219 + - *170 + - &218 name: username description: The handle for the GitHub user account. in: path @@ -29209,8 +28848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -29230,8 +28869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -29257,17 +28896,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *171 - - &226 + - *170 + - &225 name: repository_name description: The name of the repository to filter on. in: query schema: type: string + - *219 - *220 - *221 - *222 - - *223 - *17 - *19 responses: @@ -29277,9 +28916,9 @@ paths: application/json: schema: type: array - items: *224 + items: *223 examples: - default: *225 + default: *224 '404': *6 '500': *99 "/orgs/{org}/bypass-requests/secret-scanning": @@ -29302,12 +28941,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *171 - - *226 + - *170 + - *225 + - *219 - *220 - *221 - *222 - - *223 - *17 - *19 responses: @@ -29317,7 +28956,7 @@ paths: application/json: schema: type: array - items: &445 + items: &443 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -29431,7 +29070,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *227 + items: *226 url: type: string format: uri @@ -29442,7 +29081,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &446 + default: &444 value: - id: 21 number: 42 @@ -29526,9 +29165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *171 + - *170 + - *227 - *228 - - *229 - *84 - *85 - *19 @@ -29539,7 +29178,7 @@ paths: be returned. in: query required: false - schema: *230 + schema: *229 - name: sort description: The property by which to sort the results. in: query @@ -29555,7 +29194,7 @@ paths: be returned. in: query required: false - schema: &457 + schema: &455 type: string description: Severity of a code scanning alert. enum: @@ -29573,9 +29212,9 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: - default: *232 + default: *231 headers: Link: *39 '404': *6 @@ -29601,7 +29240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *171 + - *170 - name: target_type in: query description: The target type of the code security configuration @@ -29712,7 +29351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *171 + - *170 requestBody: required: true content: @@ -29912,7 +29551,7 @@ paths: application/json: schema: *90 examples: - default: *233 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29934,15 +29573,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *234 + schema: *233 examples: - default: *235 + default: *234 '304': *37 '403': *29 '404': *6 @@ -29968,7 +29607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *171 + - *170 requestBody: required: true content: @@ -30017,7 +29656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *171 + - *170 - *92 responses: '200': @@ -30026,7 +29665,7 @@ paths: application/json: schema: *90 examples: - default: *233 + default: *232 '304': *37 '403': *29 '404': *6 @@ -30050,7 +29689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *171 + - *170 - *92 requestBody: required: true @@ -30285,7 +29924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *171 + - *170 - *92 responses: '204': *118 @@ -30316,7 +29955,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *171 + - *170 - *92 requestBody: required: true @@ -30380,7 +30019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *171 + - *170 - *92 requestBody: required: true @@ -30426,7 +30065,7 @@ paths: default: value: default_for_new_repos: all - configuration: *233 + configuration: *232 '403': *29 '404': *6 x-github: @@ -30450,7 +30089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *171 + - *170 - *92 - name: per_page description: The number of results per page (max 100). For more information, @@ -30479,13 +30118,13 @@ paths: application/json: schema: type: array - items: *236 + items: *235 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *237 + repository: *236 '403': *29 '404': *6 x-github: @@ -30509,7 +30148,7 @@ paths: parameters: - *17 - *19 - - *171 + - *170 responses: '200': description: Response @@ -30525,7 +30164,7 @@ paths: type: integer codespaces: type: array - items: &293 + items: &291 type: object title: Codespace description: A codespace. @@ -30550,12 +30189,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *197 + repository: *196 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &486 + properties: &484 name: type: string description: The name of the machine. @@ -30597,7 +30236,7 @@ paths: - ready - in_progress nullable: true - required: &487 + required: &485 - name - display_name - operating_system @@ -30802,7 +30441,7 @@ paths: - pulls_url - recent_folders examples: - default: &294 + default: &292 value: total_count: 3 codespaces: @@ -31234,7 +30873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *171 + - *170 deprecated: true requestBody: required: true @@ -31301,7 +30940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *171 + - *170 deprecated: true requestBody: required: true @@ -31356,7 +30995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *171 + - *170 requestBody: required: true content: @@ -31408,7 +31047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *171 + - *170 - *17 - *19 responses: @@ -31426,7 +31065,7 @@ paths: type: integer secrets: type: array - items: &238 + items: &237 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -31465,7 +31104,7 @@ paths: - updated_at - visibility examples: - default: &488 + default: &486 value: total_count: 2 secrets: @@ -31497,13 +31136,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: &489 + schema: &487 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -31532,7 +31171,7 @@ paths: - key_id - key examples: - default: &490 + default: &488 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31555,16 +31194,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '200': description: Response content: application/json: - schema: *238 + schema: *237 examples: - default: &492 + default: &490 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31591,8 +31230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -31647,7 +31286,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -31673,8 +31312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '204': description: Response @@ -31699,8 +31338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - *19 - *17 responses: @@ -31718,9 +31357,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: *211 + default: *210 '404': *6 x-github: githubCloudOnly: false @@ -31742,8 +31381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -31793,8 +31432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -31827,8 +31466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -31867,7 +31506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *171 + - *170 responses: '200': description: OK @@ -32008,7 +31647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *171 + - *170 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -32031,9 +31670,9 @@ paths: currently being billed. seats: type: array - items: *239 + items: *238 examples: - default: *240 + default: *239 headers: Link: *39 '500': *99 @@ -32069,7 +31708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *171 + - *170 requestBody: content: application/json: @@ -32147,7 +31786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *171 + - *170 requestBody: content: application/json: @@ -32227,7 +31866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *171 + - *170 requestBody: content: application/json: @@ -32304,7 +31943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *171 + - *170 requestBody: content: application/json: @@ -32385,7 +32024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *171 + - *170 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32429,75 +32068,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/copilot/usage": - get: - summary: Get a summary of Copilot usage for organization members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members - parameters: - - *171 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *137 - examples: - default: *241 - '500': *99 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/credential-authorizations": get: summary: List SAML SSO authorizations for an organization @@ -32514,7 +32084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *171 + - *170 - *17 - name: page description: Page token @@ -32658,7 +32228,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *171 + - *170 - name: credential_id in: path required: true @@ -32689,7 +32259,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *171 + - *170 responses: '200': description: Response - list of custom role names @@ -32704,7 +32274,7 @@ paths: type: integer custom_roles: type: array - items: *242 + items: *240 examples: default: value: @@ -32791,12 +32361,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *171 + - *170 requestBody: required: true content: application/json: - schema: &245 + schema: &243 type: object properties: name: @@ -32837,9 +32407,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '422': *15 '404': *6 x-github: @@ -32863,8 +32433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *171 - - &244 + - *170 + - &242 name: role_id description: The unique identifier of the role. in: path @@ -32876,9 +32446,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '404': *6 x-github: githubCloudOnly: true @@ -32900,13 +32470,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *171 - - *244 + - *170 + - *242 requestBody: required: true content: application/json: - schema: &246 + schema: &244 type: object properties: name: @@ -32944,9 +32514,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '422': *15 '404': *6 x-github: @@ -32970,8 +32540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '204': description: Response @@ -32999,12 +32569,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *171 + - *170 requestBody: required: true content: application/json: - schema: *245 + schema: *243 examples: default: value: @@ -33018,9 +32588,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '422': *15 '404': *6 x-github: @@ -33050,16 +32620,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '200': description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '404': *6 x-github: githubCloudOnly: true @@ -33087,13 +32657,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *171 - - *244 + - *170 + - *242 requestBody: required: true content: application/json: - schema: *246 + schema: *244 examples: default: value: @@ -33108,9 +32678,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '422': *15 '404': *6 x-github: @@ -33140,8 +32710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '204': description: Response @@ -33169,19 +32739,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *171 + - *170 + - *245 + - *246 - *247 - *248 - *249 - *250 - *251 - - *252 - - *253 - *86 - *84 - *85 - - *254 - - *255 + - *252 + - *253 - *17 responses: '200': @@ -33190,9 +32760,9 @@ paths: application/json: schema: type: array - items: *256 + items: *254 examples: - default: *257 + default: *255 '304': *37 '400': *14 '403': *29 @@ -33218,7 +32788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *171 + - *170 - *17 - *19 responses: @@ -33236,7 +32806,7 @@ paths: type: integer secrets: type: array - items: &258 + items: &256 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33307,13 +32877,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: &519 + schema: &517 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33330,7 +32900,7 @@ paths: - key_id - key examples: - default: &520 + default: &518 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33353,14 +32923,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '200': description: Response content: application/json: - schema: *258 + schema: *256 examples: default: value: @@ -33388,8 +32958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -33444,7 +33014,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -33468,8 +33038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 responses: '204': description: Response @@ -33493,8 +33063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - *19 - *17 responses: @@ -33512,9 +33082,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: *211 + default: *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33535,8 +33105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -33586,8 +33156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -33618,8 +33188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *171 - - *207 + - *170 + - *206 - name: repository_id in: path required: true @@ -33649,7 +33219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -33657,7 +33227,7 @@ paths: application/json: schema: type: array - items: &305 + items: &303 title: Package description: A software package type: object @@ -33707,8 +33277,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *259 - required: *260 + properties: *257 + required: *258 nullable: true created_at: type: string @@ -33727,7 +33297,7 @@ paths: - created_at - updated_at examples: - default: &306 + default: &304 value: - id: 197 name: hello_docker @@ -33805,7 +33375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *171 + - *170 - *17 - *19 responses: @@ -33815,7 +33385,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: 200-response: value: @@ -33885,7 +33455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *171 + - *170 - name: group_id description: The unique identifier of the group. in: path @@ -33911,7 +33481,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &368 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -33992,7 +33562,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &371 + default: &369 value: group_id: '123' group_name: Octocat admins @@ -34030,7 +33600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *171 + - *170 - *17 - name: page description: Page token @@ -34047,7 +33617,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &366 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34084,7 +33654,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &369 + default: &367 value: groups: - group_id: '123' @@ -34118,7 +33688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *171 + - *170 - *17 - *19 responses: @@ -34128,7 +33698,7 @@ paths: application/json: schema: type: array - items: &283 + items: &281 title: Organization Invitation description: Organization Invitation type: object @@ -34175,7 +33745,7 @@ paths: - invitation_teams_url - node_id examples: - default: &284 + default: &282 value: - id: 1 login: monalisa @@ -34234,7 +33804,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -34242,7 +33812,7 @@ paths: application/json: schema: type: array - items: &327 + items: &325 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -34256,7 +33826,7 @@ paths: - name - description examples: - default: &328 + default: &326 value: - name: add_assignee description: Assign or remove a user @@ -34287,7 +33857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *171 + - *170 - *17 - *19 responses: @@ -34297,7 +33867,7 @@ paths: application/json: schema: type: array - items: &261 + items: &259 title: Org Hook description: Org Hook type: object @@ -34406,7 +33976,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *171 + - *170 requestBody: required: true content: @@ -34466,9 +34036,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *259 examples: - default: &262 + default: &260 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -34512,8 +34082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *171 - - &263 + - *170 + - &261 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. @@ -34526,9 +34096,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *259 examples: - default: *262 + default: *260 '404': *6 x-github: githubCloudOnly: false @@ -34549,8 +34119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 requestBody: required: false content: @@ -34595,7 +34165,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *259 examples: default: value: @@ -34634,8 +34204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 responses: '204': description: Response @@ -34660,8 +34230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *171 - - *263 + - *170 + - *261 responses: '200': description: Response @@ -34689,8 +34259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *171 - - *263 + - *170 + - *261 requestBody: required: false content: @@ -34738,10 +34308,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 - *17 - - *264 + - *262 responses: '200': description: Response @@ -34749,9 +34319,9 @@ paths: application/json: schema: type: array - items: *265 + items: *263 examples: - default: *266 + default: *264 '400': *14 '422': *15 x-github: @@ -34774,17 +34344,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 - *16 responses: '200': description: Response content: application/json: - schema: *267 + schema: *265 examples: - default: *268 + default: *266 '400': *14 '422': *15 x-github: @@ -34807,8 +34377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 - *16 responses: '202': *95 @@ -34834,8 +34404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *171 - - *263 + - *170 + - *261 responses: '204': description: Response @@ -34857,8 +34427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *171 - - &273 + - *170 + - &271 name: actor_type in: path description: The type of the actor @@ -34871,14 +34441,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &274 + - &272 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &269 + - &267 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`.' @@ -34886,7 +34456,7 @@ paths: required: true schema: type: string - - &270 + - &268 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) @@ -34979,13 +34549,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *171 - - *269 - - *270 + - *170 + - *267 + - *268 - *19 - *17 - *86 - - &279 + - &277 name: sort description: The property to sort the results by. in: query @@ -35063,15 +34633,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *171 - - *269 - - *270 + - *170 + - *267 + - *268 responses: '200': description: Response content: application/json: - schema: &271 + schema: &269 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -35087,7 +34657,7 @@ paths: type: integer format: int64 examples: - default: &272 + default: &270 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -35107,24 +34677,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *171 - - &275 + - *170 + - &273 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *269 - - *270 + - *267 + - *268 responses: '200': description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: enabledForGitHubApps: true category: orgs @@ -35142,19 +34712,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *171 - - *269 - - *270 - - *273 - - *274 + - *170 + - *267 + - *268 + - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 x-github: enabledForGitHubApps: true category: orgs @@ -35171,10 +34741,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *171 - - *269 - - *270 - - &276 + - *170 + - *267 + - *268 + - &274 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35187,7 +34757,7 @@ paths: description: Response content: application/json: - schema: &277 + schema: &275 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35203,7 +34773,7 @@ paths: type: integer format: int64 examples: - default: &278 + default: &276 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35239,19 +34809,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *171 - - *275 - - *269 - - *270 - - *276 + - *170 + - *273 + - *267 + - *268 + - *274 responses: '200': description: Response content: application/json: - schema: *277 + schema: *275 examples: - default: *278 + default: *276 x-github: enabledForGitHubApps: true category: orgs @@ -35268,20 +34838,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *171 - - *273 + - *170 + - *271 + - *272 + - *267 + - *268 - *274 - - *269 - - *270 - - *276 responses: '200': description: Response content: application/json: - schema: *277 + schema: *275 examples: - default: *278 + default: *276 x-github: enabledForGitHubApps: true category: orgs @@ -35298,14 +34868,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *171 - - *275 - - *269 - - *270 + - *170 + - *273 + - *267 + - *268 - *19 - *17 - *86 - - *279 + - *277 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -35378,7 +34948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *171 + - *170 responses: '200': description: Response @@ -35386,7 +34956,7 @@ paths: application/json: schema: *22 examples: - default: &558 + default: &556 value: id: 1 account: @@ -35455,7 +35025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -35544,7 +35114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -35552,12 +35122,12 @@ paths: application/json: schema: anyOf: - - &281 + - &279 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &280 + limit: &278 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -35582,7 +35152,7 @@ paths: properties: {} additionalProperties: false examples: - default: &282 + default: &280 value: limit: collaborators_only origin: organization @@ -35606,18 +35176,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: application/json: - schema: &559 + schema: &557 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *280 + limit: *278 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -35641,9 +35211,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: - default: *282 + default: *280 '422': *15 x-github: githubCloudOnly: false @@ -35661,7 +35231,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *171 + - *170 responses: '204': description: Response @@ -35687,7 +35257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *171 + - *170 - *17 - *19 - name: role @@ -35721,9 +35291,9 @@ paths: application/json: schema: type: array - items: *283 + items: *281 examples: - default: *284 + default: *282 headers: Link: *39 '404': *6 @@ -35747,7 +35317,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *171 + - *170 requestBody: required: false content: @@ -35801,7 +35371,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *281 examples: default: value: @@ -35857,8 +35427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *171 - - &285 + - *170 + - &283 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35891,8 +35461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *171 - - *285 + - *170 + - *283 - *17 - *19 responses: @@ -35902,9 +35472,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: &304 + default: &302 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35939,7 +35509,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -35947,7 +35517,7 @@ paths: application/json: schema: type: array - items: *287 + items: *285 examples: default: value: @@ -35985,7 +35555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -36036,9 +35606,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *285 examples: - default: &288 + default: &286 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -36070,8 +35640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *171 - - &289 + - *170 + - &287 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -36128,9 +35698,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *285 examples: - default: *288 + default: *286 '404': *6 '422': *7 x-github: @@ -36154,8 +35724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *171 - - *289 + - *170 + - *287 responses: '204': description: Response @@ -36188,7 +35758,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *171 + - *170 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -36218,7 +35788,7 @@ paths: - closed - all default: open - - *290 + - *288 - name: type description: Can be the name of an issue type. in: query @@ -36237,7 +35807,7 @@ paths: - comments default: created - *86 - - *144 + - *143 - *17 - *19 responses: @@ -36247,9 +35817,9 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: *291 + default: *289 headers: Link: *39 '404': *6 @@ -36271,7 +35841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *171 + - *170 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -36307,7 +35877,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '422': *15 @@ -36327,8 +35897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response if requester is an organization member and user is @@ -36359,8 +35929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -36386,8 +35956,8 @@ paths: parameters: - *17 - *19 - - *171 - - *219 + - *170 + - *218 responses: '200': description: Response @@ -36403,9 +35973,9 @@ paths: type: integer codespaces: type: array - items: *293 + items: *291 examples: - default: *294 + default: *292 '304': *37 '500': *99 '401': *25 @@ -36430,9 +36000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *171 - - *219 - - &295 + - *170 + - *218 + - &293 name: codespace_name in: path required: true @@ -36465,17 +36035,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *171 - - *219 - - *295 + - *170 + - *218 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: &485 + default: &483 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36648,14 +36218,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *239 + schema: *238 examples: default: value: @@ -36723,14 +36293,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '200': description: Response content: application/json: - schema: &296 + schema: &294 title: Org Membership description: Org Membership type: object @@ -36782,7 +36352,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &297 + response-if-user-has-an-active-admin-membership-with-organization: &295 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36850,8 +36420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 requestBody: required: false content: @@ -36879,9 +36449,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *294 examples: - response-if-user-already-had-membership-with-organization: *297 + response-if-user-already-had-membership-with-organization: *295 '422': *15 '403': *29 x-github: @@ -36902,8 +36472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -36928,7 +36498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *171 + - *170 - *17 - *19 - name: exclude @@ -36949,7 +36519,7 @@ paths: application/json: schema: type: array - items: &298 + items: &296 title: Migration description: A migration. type: object @@ -37202,7 +36772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *171 + - *170 requestBody: required: true content: @@ -37278,7 +36848,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *296 examples: default: value: @@ -37456,8 +37026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *171 - - &299 + - *170 + - &297 name: migration_id description: The unique identifier of the migration. in: path @@ -37484,7 +37054,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *298 + schema: *296 examples: default: value: @@ -37653,8 +37223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *171 - - *299 + - *170 + - *297 responses: '302': description: Response @@ -37675,8 +37245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *171 - - *299 + - *170 + - *297 responses: '204': description: Response @@ -37699,9 +37269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *171 - - *299 - - &733 + - *170 + - *297 + - &731 name: repo_name description: repo_name parameter in: path @@ -37728,8 +37298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *171 - - *299 + - *170 + - *297 - *17 - *19 responses: @@ -37739,9 +37309,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: &311 + default: &309 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37880,7 +37450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -37934,7 +37504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response - list of organization roles @@ -37950,7 +37520,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &300 + items: &298 title: Organization Role description: Organization roles type: object @@ -38110,7 +37680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *171 + - *170 requestBody: required: true content: @@ -38157,7 +37727,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *298 examples: default: value: @@ -38208,8 +37778,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *171 - - *301 + - *170 + - &299 + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string responses: '204': description: Response @@ -38234,9 +37810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *171 - - *301 - - *244 + - *170 + - *299 + - *242 responses: '204': description: Response @@ -38265,9 +37841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *171 - - *301 - - *244 + - *170 + - *299 + - *242 responses: '204': description: Response @@ -38292,8 +37868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -38318,9 +37894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *171 - - *219 - - *244 + - *170 + - *218 + - *242 responses: '204': description: Response @@ -38350,9 +37926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *171 - - *219 - - *244 + - *170 + - *218 + - *242 responses: '204': description: Response @@ -38380,14 +37956,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '200': description: Response content: application/json: - schema: *300 + schema: *298 examples: default: value: @@ -38444,8 +38020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *171 - - *244 + - *170 + - *242 requestBody: required: true content: @@ -38484,7 +38060,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *298 examples: default: value: @@ -38537,8 +38113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *171 - - *244 + - *170 + - *242 responses: '204': description: Response @@ -38563,8 +38139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *171 - - *244 + - *170 + - *242 - *17 - *19 responses: @@ -38642,8 +38218,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *302 - required: *303 + properties: *300 + required: *301 nullable: true required: - id @@ -38658,7 +38234,7 @@ paths: - slug - parent examples: - default: *304 + default: *302 headers: Link: *39 '404': @@ -38687,8 +38263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *171 - - *244 + - *170 + - *242 - *17 - *19 responses: @@ -38716,13 +38292,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &343 + items: &341 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *302 - required: *303 + properties: *300 + required: *301 name: nullable: true type: string @@ -38817,7 +38393,7 @@ paths: - type - url examples: - default: *292 + default: *290 headers: Link: *39 '404': @@ -38841,7 +38417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *171 + - *170 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38865,7 +38441,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -38890,8 +38466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *171 - - *219 + - *170 + - *218 requestBody: required: false content: @@ -38948,8 +38524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -39006,8 +38582,8 @@ paths: - docker - nuget - container - - *171 - - &735 + - *170 + - &733 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39043,12 +38619,12 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: *306 + default: *304 '403': *29 '401': *25 - '400': &737 + '400': &735 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39070,7 +38646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &307 + - &305 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 @@ -39088,20 +38664,20 @@ paths: - docker - nuget - container - - &308 + - &306 name: package_name description: The name of the package. in: path required: true schema: type: string - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *305 + schema: *303 examples: default: value: @@ -39153,9 +38729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *307 - - *308 - - *171 + - *305 + - *306 + - *170 responses: '204': description: Response @@ -39187,9 +38763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *307 - - *308 - - *171 + - *305 + - *306 + - *170 - name: token description: package token schema: @@ -39221,9 +38797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *307 - - *308 - - *171 + - *305 + - *306 + - *170 - *19 - *17 - name: state @@ -39243,7 +38819,7 @@ paths: application/json: schema: type: array - items: &309 + items: &307 title: Package Version description: A version of a software package type: object @@ -39368,10 +38944,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *307 - - *308 - - *171 - - &310 + - *305 + - *306 + - *170 + - &308 name: package_version_id description: Unique identifier of the package version. in: path @@ -39383,7 +38959,7 @@ paths: description: Response content: application/json: - schema: *309 + schema: *307 examples: default: value: @@ -39419,10 +38995,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *307 + - *305 + - *306 + - *170 - *308 - - *171 - - *310 responses: '204': description: Response @@ -39454,10 +39030,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *307 + - *305 + - *306 + - *170 - *308 - - *171 - - *310 responses: '204': description: Response @@ -39484,10 +39060,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *171 + - *170 - *17 - *19 - - &312 + - &310 name: sort description: The property by which to sort the results. in: query @@ -39498,7 +39074,7 @@ paths: - created_at default: created_at - *86 - - &313 + - &311 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -39509,7 +39085,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &314 + - &312 name: repository description: The name of the repository to use to filter the results. in: query @@ -39517,7 +39093,7 @@ paths: schema: type: string example: Hello-World - - &315 + - &313 name: permission description: The permission to use to filter the results. in: query @@ -39525,7 +39101,7 @@ paths: schema: type: string example: issues_read - - &316 + - &314 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) @@ -39535,7 +39111,7 @@ paths: schema: type: string format: date-time - - &317 + - &315 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) @@ -39545,7 +39121,7 @@ paths: schema: type: string format: date-time - - &318 + - &316 name: token_id description: The ID of the token in: query @@ -39709,7 +39285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *171 + - *170 requestBody: required: true content: @@ -39775,7 +39351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *171 + - *170 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39836,7 +39412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *171 + - *170 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39856,9 +39432,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -39881,17 +39457,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *171 + - *170 - *17 - *19 - - *312 + - *310 - *86 + - *311 + - *312 - *313 - *314 - *315 - *316 - - *317 - - *318 responses: '500': *99 '422': *15 @@ -40040,7 +39616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *171 + - *170 requestBody: required: true content: @@ -40100,7 +39676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *171 + - *170 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -40152,7 +39728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *171 + - *170 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -40171,9 +39747,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -40199,7 +39775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -40217,7 +39793,7 @@ paths: type: integer configurations: type: array - items: &319 + items: &317 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40293,7 +39869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -40423,7 +39999,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &320 + org-private-registry-with-selected-visibility: &318 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40466,7 +40042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -40516,16 +40092,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *171 - - *207 + - *170 + - *206 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *319 + schema: *317 examples: - default: *320 + default: *318 '404': *6 x-github: githubCloudOnly: false @@ -40548,8 +40124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *171 - - *207 + - *170 + - *206 requestBody: required: true content: @@ -40628,8 +40204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *171 - - *207 + - *170 + - *206 responses: '204': description: Response @@ -40654,7 +40230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *171 + - *170 - name: state description: Indicates the state of the projects to return. in: query @@ -40675,7 +40251,7 @@ paths: application/json: schema: type: array - items: &321 + items: &319 title: Project description: Projects are a way to organize columns and cards of work. @@ -40822,7 +40398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *171 + - *170 requestBody: required: true content: @@ -40848,7 +40424,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: default: value: @@ -40886,7 +40462,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &386 + '410': &384 description: Gone content: application/json: @@ -40913,7 +40489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -40950,7 +40526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -41014,7 +40590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *171 + - *170 - *116 responses: '200': @@ -41046,13 +40622,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *171 + - *170 - *116 requestBody: required: true content: application/json: - schema: *322 + schema: *320 examples: default: value: @@ -41093,7 +40669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *171 + - *170 - *116 responses: '204': *118 @@ -41117,7 +40693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *171 + - *170 - *17 - *19 - name: repository_query @@ -41155,7 +40731,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &323 + items: &321 title: Custom Property Value description: Custom property name and associated value type: object @@ -41222,7 +40798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *171 + - *170 requestBody: required: true content: @@ -41242,7 +40818,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *323 + items: *321 required: - repository_names - properties @@ -41283,7 +40859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *171 + - *170 - *17 - *19 responses: @@ -41295,7 +40871,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -41314,8 +40890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response if user is a public member @@ -41339,8 +40915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -41361,8 +40937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *171 - - *219 + - *170 + - *218 responses: '204': description: Response @@ -41386,7 +40962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *171 + - *170 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -41433,9 +41009,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -41456,7 +41032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *171 + - *170 requestBody: required: true content: @@ -41638,7 +41214,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &386 title: Full Repository description: Full Repository type: object @@ -41915,8 +41491,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *324 - required: *325 + properties: *322 + required: *323 nullable: true temp_clone_token: type: string @@ -42003,8 +41579,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true organization: title: Simple User @@ -42031,7 +41607,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &507 + properties: &505 url: type: string format: uri @@ -42047,12 +41623,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &508 + required: &506 - url - key - name - html_url - security_and_analysis: *326 + security_and_analysis: *324 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42136,7 +41712,7 @@ paths: - network_count - subscribers_count examples: - default: &390 + default: &388 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42654,7 +42230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response @@ -42662,9 +42238,9 @@ paths: application/json: schema: type: array - items: *327 + items: *325 examples: - default: *328 + default: *326 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42686,10 +42262,10 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 - *17 - *19 - - &647 + - &645 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42754,7 +42330,7 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 requestBody: description: Request body required: true @@ -42780,7 +42356,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *126 - conditions: *329 + conditions: *327 rules: type: array description: An array of rules within the ruleset. @@ -42824,7 +42400,7 @@ paths: application/json: schema: *128 examples: - default: &330 + default: &328 value: id: 21 name: super cool ruleset @@ -42878,8 +42454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *171 - - &648 + - *170 + - &646 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 @@ -42889,16 +42465,16 @@ paths: schema: type: string x-multi-segment: true - - *226 - - *222 - - &649 + - *225 + - *221 + - &647 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 - - &650 + - &648 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -42918,7 +42494,7 @@ paths: description: Response content: application/json: - schema: &651 + schema: &649 title: Rule Suites description: Response type: array @@ -42973,7 +42549,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &652 + default: &650 value: - id: 21 actor_id: 12 @@ -43016,8 +42592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *171 - - &653 + - *170 + - &651 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43033,7 +42609,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &652 title: Rule Suite description: Response type: object @@ -43132,7 +42708,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &655 + default: &653 value: id: 21 actor_id: 12 @@ -43193,7 +42769,7 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43207,7 +42783,7 @@ paths: application/json: schema: *128 examples: - default: *330 + default: *328 '404': *6 '500': *99 put: @@ -43225,7 +42801,7 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43256,7 +42832,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *126 - conditions: *329 + conditions: *327 rules: description: An array of rules within the ruleset. type: array @@ -43297,7 +42873,7 @@ paths: application/json: schema: *128 examples: - default: *330 + default: *328 '404': *6 '500': *99 delete: @@ -43315,7 +42891,7 @@ paths: category: orgs subcategory: rules parameters: - - *171 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43338,7 +42914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *171 + - *170 - *17 - *19 - name: ruleset_id @@ -43356,7 +42932,7 @@ paths: type: array items: *131 examples: - default: *331 + default: *329 '404': *6 '500': *99 x-github: @@ -43375,7 +42951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *171 + - *170 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43393,7 +42969,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *330 examples: default: value: @@ -43455,15 +43031,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *171 + - *170 + - *331 + - *332 - *333 - *334 - - *335 - - *336 - *86 - *19 - *17 - - &657 + - &655 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43473,7 +43049,7 @@ paths: required: false schema: type: string - - &658 + - &656 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43483,9 +43059,9 @@ paths: required: false schema: type: string + - *335 + - *336 - *337 - - *338 - - *339 responses: '200': description: Response @@ -43493,9 +43069,9 @@ paths: application/json: schema: type: array - items: *340 + items: *338 examples: - default: *341 + default: *339 headers: Link: *39 '404': *6 @@ -43521,7 +43097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *171 + - *170 - *86 - name: sort description: The property to sort the results by. @@ -43565,7 +43141,7 @@ paths: application/json: schema: type: array - items: &665 + items: &663 description: A repository security advisory. type: object properties: @@ -43785,7 +43361,7 @@ paths: login: type: string description: The username of the user credited. - type: *342 + type: *340 credits_detailed: type: array nullable: true @@ -43795,7 +43371,7 @@ paths: type: object properties: user: *4 - type: *342 + type: *340 state: type: string description: The state of the user's acceptance of the @@ -43819,7 +43395,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *286 + items: *284 private_fork: readOnly: true nullable: true @@ -43856,7 +43432,7 @@ paths: - private_fork additionalProperties: false examples: - default: &666 + default: &664 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44235,7 +43811,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *171 + - *170 responses: '200': description: Response @@ -44243,9 +43819,9 @@ paths: application/json: schema: type: array - items: *343 + items: *341 examples: - default: *304 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44268,8 +43844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '204': description: Response @@ -44294,8 +43870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '204': description: Response @@ -44324,15 +43900,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *344 + schema: *342 examples: - default: *345 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44356,7 +43932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -44364,9 +43940,9 @@ paths: description: Success content: application/json: - schema: *346 + schema: *344 examples: - default: *347 + default: *345 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44388,15 +43964,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44418,15 +43994,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *350 + schema: *348 examples: - default: *351 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44446,7 +44022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *171 + - *170 - *17 - *19 responses: @@ -44466,7 +44042,7 @@ paths: type: array items: *111 examples: - default: *352 + default: *350 headers: Link: *39 x-github: @@ -44487,7 +44063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *171 + - *170 requestBody: required: true content: @@ -44551,7 +44127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *171 + - *170 - *113 responses: '200': @@ -44581,7 +44157,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *171 + - *170 - *113 requestBody: required: true @@ -44642,7 +44218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *171 + - *170 - *113 responses: '204': @@ -44666,16 +44242,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *171 - - *353 + - *170 + - *351 responses: '200': description: Response content: application/json: - schema: *354 + schema: *352 examples: - default: *355 + default: *353 headers: Link: *39 x-github: @@ -44694,7 +44270,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *171 + - *170 - *17 - name: page description: Page token @@ -44713,7 +44289,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &375 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -44759,7 +44335,7 @@ paths: type: string nullable: true examples: - default: &378 + default: &376 value: groups: - group_id: '123' @@ -44804,8 +44380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *171 - - *301 + - *170 + - *299 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -44849,79 +44425,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for a team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team - parameters: - - *171 - - *301 - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - *19 - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *137 - examples: - default: *241 - '500': *99 - '401': *25 - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -44934,7 +44437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *171 + - *170 - *17 - *19 responses: @@ -44944,9 +44447,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 headers: Link: *39 '403': *29 @@ -44968,7 +44471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *171 + - *170 requestBody: required: true content: @@ -45040,7 +44543,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &354 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45103,8 +44606,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *302 - required: *303 + properties: *300 + required: *301 nullable: true members_count: type: integer @@ -45350,7 +44853,7 @@ paths: - repos_count - organization examples: - default: &357 + default: &355 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45420,16 +44923,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *171 - - *301 + - *170 + - *299 responses: '200': description: Response content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '404': *6 x-github: githubCloudOnly: false @@ -45450,8 +44953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *171 - - *301 + - *170 + - *299 requestBody: required: false content: @@ -45513,16 +45016,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '201': description: Response content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '404': *6 '422': *15 '403': *29 @@ -45547,8 +45050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '204': description: Response @@ -45574,8 +45077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *171 - - *301 + - *170 + - *299 - *86 - *17 - *19 @@ -45592,7 +45095,7 @@ paths: application/json: schema: type: array - items: &358 + items: &356 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45671,7 +45174,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *142 + reactions: *141 required: - author - body @@ -45691,7 +45194,7 @@ paths: - updated_at - url examples: - default: &706 + default: &704 value: - author: login: octocat @@ -45765,8 +45268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *171 - - *301 + - *170 + - *299 requestBody: required: true content: @@ -45800,9 +45303,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: &359 + default: &357 value: author: login: octocat @@ -45874,9 +45377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *171 - - *301 - - &360 + - *170 + - *299 + - &358 name: discussion_number description: The number that identifies the discussion. in: path @@ -45888,9 +45391,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *359 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45912,9 +45415,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 requestBody: required: false content: @@ -45937,9 +45440,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: &707 + default: &705 value: author: login: octocat @@ -46009,9 +45512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 responses: '204': description: Response @@ -46037,9 +45540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 - *86 - *17 - *19 @@ -46050,7 +45553,7 @@ paths: application/json: schema: type: array - items: &361 + items: &359 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46107,7 +45610,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *142 + reactions: *141 required: - author - body @@ -46122,7 +45625,7 @@ paths: - updated_at - url examples: - default: &708 + default: &706 value: - author: login: octocat @@ -46190,9 +45693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 requestBody: required: true content: @@ -46214,9 +45717,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: &362 + default: &360 value: author: login: octocat @@ -46282,10 +45785,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *171 - - *301 - - *360 - - &363 + - *170 + - *299 + - *358 + - &361 name: comment_number description: The number that identifies the comment. in: path @@ -46297,9 +45800,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: *362 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46321,10 +45824,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *171 - - *301 - - *360 - - *363 + - *170 + - *299 + - *358 + - *361 requestBody: required: true content: @@ -46346,9 +45849,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: &709 + default: &707 value: author: login: octocat @@ -46412,10 +45915,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *171 - - *301 - - *360 - - *363 + - *170 + - *299 + - *358 + - *361 responses: '204': description: Response @@ -46441,10 +45944,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *171 - - *301 - - *360 - - *363 + - *170 + - *299 + - *358 + - *361 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -46470,7 +45973,7 @@ paths: application/json: schema: type: array - items: &364 + items: &362 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46513,7 +46016,7 @@ paths: - content - created_at examples: - default: &366 + default: &364 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46563,10 +46066,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *171 - - *301 - - *360 - - *363 + - *170 + - *299 + - *358 + - *361 requestBody: required: true content: @@ -46599,9 +46102,9 @@ paths: team discussion comment content: application/json: - schema: *364 + schema: *362 examples: - default: &365 + default: &363 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46630,9 +46133,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46655,11 +46158,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *171 - - *301 - - *360 - - *363 - - &367 + - *170 + - *299 + - *358 + - *361 + - &365 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46691,9 +46194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -46719,9 +46222,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 x-github: @@ -46747,9 +46250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *171 - - *301 - - *360 + - *170 + - *299 + - *358 requestBody: required: true content: @@ -46781,16 +46284,16 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46813,10 +46316,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *171 - - *301 - - *360 - - *367 + - *170 + - *299 + - *358 + - *365 responses: '204': description: Response @@ -46839,16 +46342,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '200': description: Response content: application/json: - schema: *368 + schema: *366 examples: - default: *369 + default: *367 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46867,8 +46370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *171 - - *301 + - *170 + - *299 requestBody: required: true content: @@ -46891,9 +46394,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *368 examples: - default: *371 + default: *369 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46912,8 +46415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '204': description: Response @@ -46937,8 +46440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *171 - - *301 + - *170 + - *299 - *17 - *19 responses: @@ -46948,9 +46451,9 @@ paths: application/json: schema: type: array - items: *283 + items: *281 examples: - default: *284 + default: *282 headers: Link: *39 x-github: @@ -46972,8 +46475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *171 - - *301 + - *170 + - *299 - name: role description: Filters members returned by their role in the team. in: query @@ -46996,7 +46499,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -47026,15 +46529,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *171 - - *301 - - *219 + - *170 + - *299 + - *218 responses: '200': description: Response content: application/json: - schema: &372 + schema: &370 title: Team Membership description: Team Membership type: object @@ -47061,7 +46564,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &710 + response-if-user-is-a-team-maintainer: &708 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47097,9 +46600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *171 - - *301 - - *219 + - *170 + - *299 + - *218 requestBody: required: false content: @@ -47124,9 +46627,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *370 examples: - response-if-users-membership-with-team-is-now-pending: &711 + response-if-users-membership-with-team-is-now-pending: &709 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47161,9 +46664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *171 - - *301 - - *219 + - *170 + - *299 + - *218 responses: '204': description: Response @@ -47188,8 +46691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *171 - - *301 + - *170 + - *299 - *17 - *19 responses: @@ -47199,7 +46702,7 @@ paths: application/json: schema: type: array - items: &373 + items: &371 title: Team Project description: A team's access to a project. type: object @@ -47267,7 +46770,7 @@ paths: - updated_at - permissions examples: - default: &712 + default: &710 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47330,9 +46833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *171 - - *301 - - &374 + - *170 + - *299 + - &372 name: project_id description: The unique identifier of the project. in: path @@ -47344,9 +46847,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *371 examples: - default: &713 + default: &711 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47408,9 +46911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *171 - - *301 - - *374 + - *170 + - *299 + - *372 requestBody: required: false content: @@ -47476,9 +46979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *171 - - *301 - - *374 + - *170 + - *299 + - *372 responses: '204': description: Response @@ -47505,8 +47008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *171 - - *301 + - *170 + - *299 - *17 - *19 responses: @@ -47516,9 +47019,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -47547,16 +47050,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *171 - - *301 - - *375 - - *376 + - *170 + - *299 + - *373 + - *374 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &714 + schema: &712 title: Team Repository description: A team's access to a repository. type: object @@ -47579,8 +47082,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true forks: type: integer @@ -48125,10 +47628,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *171 - - *301 - - *375 - - *376 + - *170 + - *299 + - *373 + - *374 requestBody: required: false content: @@ -48173,10 +47676,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *171 - - *301 - - *375 - - *376 + - *170 + - *299 + - *373 + - *374 responses: '204': description: Response @@ -48202,16 +47705,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *171 - - *301 + - *170 + - *299 responses: '200': description: Response content: application/json: - schema: *377 + schema: *375 examples: - default: *378 + default: *376 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48233,8 +47736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *171 - - *301 + - *170 + - *299 requestBody: required: true content: @@ -48277,7 +47780,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *375 examples: default: value: @@ -48309,8 +47812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *171 - - *301 + - *170 + - *299 - *17 - *19 responses: @@ -48320,9 +47823,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - response-if-child-teams-exist: &715 + response-if-child-teams-exist: &713 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48375,7 +47878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *171 + - *170 - name: security_product in: path description: The security feature to enable or disable. @@ -48449,7 +47952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &379 + - &377 name: card_id description: The unique identifier of the card. in: path @@ -48461,7 +47964,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &378 title: Project Card description: Project cards represent a scope of work. type: object @@ -48528,7 +48031,7 @@ paths: - created_at - updated_at examples: - default: &381 + default: &379 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -48584,7 +48087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *379 + - *377 requestBody: required: false content: @@ -48611,9 +48114,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 '304': *37 '403': *29 '401': *25 @@ -48640,7 +48143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *379 + - *377 responses: '204': description: Response @@ -48684,7 +48187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *379 + - *377 requestBody: required: true content: @@ -48795,7 +48298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &382 + - &380 name: column_id description: The unique identifier of the column. in: path @@ -48807,7 +48310,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &381 title: Project Column description: Project columns contain cards of work. type: object @@ -48853,7 +48356,7 @@ paths: - created_at - updated_at examples: - default: &384 + default: &382 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48888,7 +48391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *382 + - *380 requestBody: required: true content: @@ -48912,9 +48415,9 @@ paths: description: Response content: application/json: - schema: *383 + schema: *381 examples: - default: *384 + default: *382 '304': *37 '403': *29 '401': *25 @@ -48939,7 +48442,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *382 + - *380 responses: '204': description: Response @@ -48968,7 +48471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *382 + - *380 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -48989,7 +48492,7 @@ paths: application/json: schema: type: array - items: *380 + items: *378 examples: default: value: @@ -49048,7 +48551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *382 + - *380 requestBody: required: true content: @@ -49088,9 +48591,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *378 examples: - default: *381 + default: *379 '304': *37 '403': *29 '401': *25 @@ -49100,8 +48603,8 @@ paths: application/json: schema: oneOf: + - *179 - *180 - - *181 '503': description: Response content: @@ -49146,7 +48649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *382 + - *380 requestBody: required: true content: @@ -49206,15 +48709,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *374 + - *372 responses: '200': description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: &385 + default: &383 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -49271,7 +48774,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *374 + - *372 requestBody: required: false content: @@ -49317,9 +48820,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: *385 + default: *383 '404': description: Not Found if the authenticated user does not have access to the project @@ -49340,7 +48843,7 @@ paths: items: type: string '401': *25 - '410': *386 + '410': *384 '422': *7 x-github: githubCloudOnly: false @@ -49363,7 +48866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *374 + - *372 responses: '204': description: Delete Success @@ -49384,7 +48887,7 @@ paths: items: type: string '401': *25 - '410': *386 + '410': *384 '404': *6 x-github: githubCloudOnly: false @@ -49408,7 +48911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *374 + - *372 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -49435,7 +48938,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '404': *6 @@ -49465,8 +48968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *374 - - *219 + - *372 + - *218 requestBody: required: false content: @@ -49518,8 +49021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *374 - - *219 + - *372 + - *218 responses: '204': description: Response @@ -49550,8 +49053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *374 - - *219 + - *372 + - *218 responses: '200': description: Response @@ -49624,7 +49127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *374 + - *372 - *17 - *19 responses: @@ -49634,7 +49137,7 @@ paths: application/json: schema: type: array - items: *383 + items: *381 examples: default: value: @@ -49672,7 +49175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *374 + - *372 requestBody: required: true content: @@ -49695,7 +49198,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *381 examples: default: value: @@ -49759,7 +49262,7 @@ paths: resources: type: object properties: - core: &387 + core: &385 title: Rate Limit type: object properties: @@ -49776,20 +49279,20 @@ paths: - remaining - reset - used - graphql: *387 - search: *387 - code_search: *387 - source_import: *387 - integration_manifest: *387 - code_scanning_upload: *387 - actions_runner_registration: *387 - scim: *387 - dependency_snapshots: *387 - code_scanning_autofix: *387 + graphql: *385 + search: *385 + code_search: *385 + source_import: *385 + integration_manifest: *385 + code_scanning_upload: *385 + actions_runner_registration: *385 + scim: *385 + dependency_snapshots: *385 + code_scanning_autofix: *385 required: - core - search - rate: *387 + rate: *385 required: - rate - resources @@ -49893,14 +49396,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *388 + schema: *386 examples: default-response: summary: Default response @@ -50405,7 +49908,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *389 + '301': *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50423,8 +49926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -50670,10 +50173,10 @@ paths: description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 - '307': &391 + default: *388 + '307': &389 description: Temporary Redirect content: application/json: @@ -50702,8 +50205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -50725,7 +50228,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *391 + '307': *389 '404': *6 x-github: githubCloudOnly: false @@ -50748,11 +50251,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 - - &406 + - &404 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50775,7 +50278,7 @@ paths: type: integer artifacts: type: array - items: &392 + items: &390 title: Artifact description: An artifact type: object @@ -50853,7 +50356,7 @@ paths: - expires_at - updated_at examples: - default: &407 + default: &405 value: total_count: 2 artifacts: @@ -50914,9 +50417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *375 - - *376 - - &393 + - *373 + - *374 + - &391 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50928,7 +50431,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *390 examples: default: value: @@ -50966,9 +50469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *375 - - *376 - - *393 + - *373 + - *374 + - *391 responses: '204': description: Response @@ -50992,9 +50495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *375 - - *376 - - *393 + - *373 + - *374 + - *391 - name: archive_format in: path required: true @@ -51008,7 +50511,7 @@ paths: 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': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51031,14 +50534,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *394 + schema: *392 examples: default: value: @@ -51064,11 +50567,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 - - &395 + - &393 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 @@ -51102,7 +50605,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &394 title: Repository actions caches description: Repository actions caches type: object @@ -51144,7 +50647,7 @@ paths: - total_count - actions_caches examples: - default: &397 + default: &395 value: total_count: 1 actions_caches: @@ -51176,23 +50679,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *375 - - *376 + - *373 + - *374 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *395 + - *393 responses: '200': description: Response content: application/json: - schema: *396 + schema: *394 examples: - default: *397 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51212,8 +50715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *375 - - *376 + - *373 + - *374 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51244,9 +50747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *375 - - *376 - - &398 + - *373 + - *374 + - &396 name: job_id description: The unique identifier of the job. in: path @@ -51258,7 +50761,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &408 title: Job description: Information of a job execution in a workflow run type: object @@ -51565,9 +51068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *375 - - *376 - - *398 + - *373 + - *374 + - *396 responses: '302': description: Response @@ -51595,9 +51098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *375 - - *376 - - *398 + - *373 + - *374 + - *396 requestBody: required: false content: @@ -51618,7 +51121,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -51642,8 +51145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Status response @@ -51693,8 +51196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -51728,7 +51231,7 @@ paths: description: Empty response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -51757,8 +51260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -51776,7 +51279,7 @@ paths: type: integer secrets: type: array - items: &412 + items: &410 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51796,7 +51299,7 @@ paths: - created_at - updated_at examples: - default: &413 + default: &411 value: total_count: 2 secrets: @@ -51829,9 +51332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *375 - - *376 - - *399 + - *373 + - *374 + - *397 - *19 responses: '200': @@ -51848,7 +51351,7 @@ paths: type: integer variables: type: array - items: &416 + items: &414 title: Actions Variable type: object properties: @@ -51878,7 +51381,7 @@ paths: - created_at - updated_at examples: - default: &417 + default: &415 value: total_count: 2 variables: @@ -51911,8 +51414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -51921,11 +51424,11 @@ paths: schema: type: object properties: - enabled: &400 + enabled: &398 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *48 - selected_actions_url: *190 + selected_actions_url: *189 required: - enabled examples: @@ -51954,8 +51457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -51966,7 +51469,7 @@ paths: schema: type: object properties: - enabled: *400 + enabled: *398 allowed_actions: *48 required: - enabled @@ -51997,14 +51500,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: &401 + schema: &399 type: object properties: access_level: @@ -52022,7 +51525,7 @@ paths: required: - access_level examples: - default: &402 + default: &400 value: access_level: organization x-github: @@ -52047,15 +51550,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: application/json: - schema: *401 + schema: *399 examples: - default: *402 + default: *400 responses: '204': description: Response @@ -52079,8 +51582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -52111,8 +51614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -52144,14 +51647,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: default: *54 x-github: @@ -52174,8 +51677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Success response @@ -52186,7 +51689,7 @@ paths: required: true content: application/json: - schema: *194 + schema: *193 examples: default: *54 x-github: @@ -52215,8 +51718,8 @@ paths: in: query schema: type: string - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -52260,8 +51763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -52269,9 +51772,9 @@ paths: application/json: schema: type: array - items: *198 + items: *197 examples: - default: *199 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52293,8 +51796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -52337,7 +51840,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *200 + '201': *199 '404': *6 '422': *7 '409': *94 @@ -52368,8 +51871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '201': description: Response @@ -52377,7 +51880,7 @@ paths: application/json: schema: *64 examples: - default: *201 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52405,8 +51908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '201': description: Response @@ -52414,7 +51917,7 @@ paths: application/json: schema: *64 examples: - default: *202 + default: *201 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52436,8 +51939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 responses: '200': @@ -52446,7 +51949,7 @@ paths: application/json: schema: *61 examples: - default: *203 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52467,8 +51970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 responses: '204': @@ -52494,8 +51997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 responses: '200': *66 @@ -52520,8 +52023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 requestBody: required: true @@ -52570,8 +52073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 requestBody: required: true @@ -52621,11 +52124,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 responses: - '200': *204 + '200': *203 '404': *6 x-github: githubCloudOnly: false @@ -52652,10 +52155,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *60 - - *205 + - *204 responses: '200': *66 '404': *6 @@ -52683,9 +52186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *375 - - *376 - - &420 + - *373 + - *374 + - &418 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. @@ -52693,7 +52196,7 @@ paths: required: false schema: type: string - - &421 + - &419 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52701,7 +52204,7 @@ paths: required: false schema: type: string - - &422 + - &420 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52710,7 +52213,7 @@ paths: required: false schema: type: string - - &423 + - &421 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 @@ -52737,7 +52240,7 @@ paths: - pending - *17 - *19 - - &424 + - &422 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/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52746,7 +52249,7 @@ paths: schema: type: string format: date-time - - &403 + - &401 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52755,13 +52258,13 @@ paths: schema: type: boolean default: false - - &425 + - &423 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &426 + - &424 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52784,7 +52287,7 @@ paths: type: integer workflow_runs: type: array - items: &404 + items: &402 title: Workflow Run description: An invocation of a workflow type: object @@ -52879,7 +52382,7 @@ paths: that triggered the run. type: array nullable: true - items: &447 + items: &445 title: Pull Request Minimal type: object properties: @@ -52998,7 +52501,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &451 + properties: &449 id: type: string description: SHA for the commit @@ -53049,7 +52552,7 @@ paths: - name - email nullable: true - required: &452 + required: &450 - id - tree_id - message @@ -53057,8 +52560,8 @@ paths: - author - committer nullable: true - repository: *197 - head_repository: *197 + repository: *196 + head_repository: *196 head_repository_id: type: integer example: 5 @@ -53096,7 +52599,7 @@ paths: - workflow_url - pull_requests examples: - default: &427 + default: &425 value: total_count: 1 workflow_runs: @@ -53332,24 +52835,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *375 - - *376 - - &405 + - *373 + - *374 + - &403 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *403 + - *401 responses: '200': description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: &408 + default: &406 value: id: 30433642 name: Build @@ -53590,9 +53093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '204': description: Response @@ -53615,9 +53118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '200': description: Response @@ -53736,15 +53239,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '201': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -53771,12 +53274,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 - *17 - *19 - - *406 + - *404 responses: '200': description: Response @@ -53792,9 +53295,9 @@ paths: type: integer artifacts: type: array - items: *392 + items: *390 examples: - default: *407 + default: *405 headers: Link: *39 x-github: @@ -53818,25 +53321,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *375 - - *376 - - *405 - - &409 + - *373 + - *374 + - *403 + - &407 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *403 + - *401 responses: '200': description: Response content: application/json: - schema: *404 + schema: *402 examples: - default: *408 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53859,10 +53362,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *375 - - *376 - - *405 - - *409 + - *373 + - *374 + - *403 + - *407 - *17 - *19 responses: @@ -53880,9 +53383,9 @@ paths: type: integer jobs: type: array - items: *410 + items: *408 examples: - default: &411 + default: &409 value: total_count: 1 jobs: @@ -53995,10 +53498,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *375 - - *376 - - *405 - - *409 + - *373 + - *374 + - *403 + - *407 responses: '302': description: Response @@ -54026,15 +53529,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '202': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -54061,9 +53564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 requestBody: required: true content: @@ -54130,15 +53633,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '202': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -54165,9 +53668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 - 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 @@ -54197,9 +53700,9 @@ paths: type: integer jobs: type: array - items: *410 + items: *408 examples: - default: *411 + default: *409 headers: Link: *39 x-github: @@ -54224,9 +53727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '302': description: Response @@ -54253,9 +53756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '204': description: Response @@ -54282,9 +53785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '200': description: Response @@ -54344,7 +53847,7 @@ paths: items: type: object properties: - type: &528 + type: &526 type: string description: The type of reviewer. enum: @@ -54354,7 +53857,7 @@ paths: reviewer: anyOf: - *4 - - *286 + - *284 required: - environment - wait_timer @@ -54429,9 +53932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 requestBody: required: true content: @@ -54478,7 +53981,7 @@ paths: application/json: schema: type: array - items: &523 + items: &521 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54566,8 +54069,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 required: - id - node_id @@ -54584,7 +54087,7 @@ paths: - created_at - updated_at examples: - default: &524 + default: &522 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54640,9 +54143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 requestBody: required: false content: @@ -54663,7 +54166,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -54686,9 +54189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 requestBody: required: false content: @@ -54709,7 +54212,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -54742,9 +54245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *375 - - *376 - - *405 + - *373 + - *374 + - *403 responses: '200': description: Response @@ -54881,8 +54384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -54900,9 +54403,9 @@ paths: type: integer secrets: type: array - items: *412 + items: *410 examples: - default: *413 + default: *411 headers: Link: *39 x-github: @@ -54927,16 +54430,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *414 + schema: *412 examples: - default: *415 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54958,17 +54461,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '200': description: Response content: application/json: - schema: *412 + schema: *410 examples: - default: &541 + default: &539 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54994,9 +54497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 requestBody: required: true content: @@ -55027,7 +54530,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -55053,9 +54556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '204': description: Response @@ -55080,9 +54583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *375 - - *376 - - *399 + - *373 + - *374 + - *397 - *19 responses: '200': @@ -55099,9 +54602,9 @@ paths: type: integer variables: type: array - items: *416 + items: *414 examples: - default: *417 + default: *415 headers: Link: *39 x-github: @@ -55124,8 +54627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -55152,7 +54655,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -55177,17 +54680,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *375 - - *376 - - *210 + - *373 + - *374 + - *209 responses: '200': description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: &542 + default: &540 value: name: USERNAME value: octocat @@ -55213,9 +54716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *375 - - *376 - - *210 + - *373 + - *374 + - *209 requestBody: required: true content: @@ -55257,9 +54760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *375 - - *376 - - *210 + - *373 + - *374 + - *209 responses: '204': description: Response @@ -55284,8 +54787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -55303,7 +54806,7 @@ paths: type: integer workflows: type: array - items: &418 + items: &416 title: Workflow description: A GitHub Actions workflow type: object @@ -55410,9 +54913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *375 - - *376 - - &419 + - *373 + - *374 + - &417 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55427,7 +54930,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *416 examples: default: value: @@ -55460,9 +54963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *375 - - *376 - - *419 + - *373 + - *374 + - *417 responses: '204': description: Response @@ -55487,9 +54990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *375 - - *376 - - *419 + - *373 + - *374 + - *417 responses: '204': description: Response @@ -55540,9 +55043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *375 - - *376 - - *419 + - *373 + - *374 + - *417 responses: '204': description: Response @@ -55569,19 +55072,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *375 - - *376 + - *373 + - *374 + - *417 + - *418 - *419 - *420 - *421 - - *422 - - *423 - *17 - *19 + - *422 + - *401 + - *423 - *424 - - *403 - - *425 - - *426 responses: '200': description: Response @@ -55597,9 +55100,9 @@ paths: type: integer workflow_runs: type: array - items: *404 + items: *402 examples: - default: *427 + default: *425 headers: Link: *39 x-github: @@ -55632,9 +55135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *375 - - *376 - - *419 + - *373 + - *374 + - *417 responses: '200': description: Response @@ -55695,8 +55198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *375 - - *376 + - *373 + - *374 - *86 - *17 - *84 @@ -55860,8 +55363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -55873,7 +55376,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '404': *6 @@ -55898,8 +55401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *375 - - *376 + - *373 + - *374 - name: assignee in: path required: true @@ -55935,8 +55438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -56048,8 +55551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *84 - *85 @@ -56103,7 +55606,7 @@ paths: bundle_url: type: string examples: - default: *428 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56123,8 +55626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -56132,7 +55635,7 @@ paths: application/json: schema: type: array - items: &429 + items: &427 title: Autolink reference description: An autolink reference. type: object @@ -56182,8 +55685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -56222,9 +55725,9 @@ paths: description: response content: application/json: - schema: *429 + schema: *427 examples: - default: &430 + default: &428 value: id: 1 key_prefix: TICKET- @@ -56255,9 +55758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *375 - - *376 - - &431 + - *373 + - *374 + - &429 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56269,9 +55772,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *427 examples: - default: *430 + default: *428 '404': *6 x-github: githubCloudOnly: false @@ -56291,9 +55794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *375 - - *376 - - *431 + - *373 + - *374 + - *429 responses: '204': description: Response @@ -56317,8 +55820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response if Dependabot is enabled @@ -56366,8 +55869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -56388,8 +55891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -56409,8 +55912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *375 - - *376 + - *373 + - *374 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56448,7 +55951,7 @@ paths: - url protected: type: boolean - protection: &433 + protection: &431 title: Branch Protection description: Branch Protection type: object @@ -56490,7 +55993,7 @@ paths: required: - contexts - checks - enforce_admins: &436 + enforce_admins: &434 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +56008,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &438 + required_pull_request_reviews: &436 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56526,7 +56029,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *286 + items: *284 apps: description: The list of apps with review dismissal access. @@ -56555,7 +56058,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *286 + items: *284 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56581,7 +56084,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &435 + restrictions: &433 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56888,9 +56391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *375 - - *376 - - &434 + - *373 + - *374 + - &432 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/enterprise-cloud@latest//graphql). @@ -56904,14 +56407,14 @@ paths: description: Response content: application/json: - schema: &444 + schema: &442 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &496 + commit: &494 title: Commit description: Commit type: object @@ -56945,7 +56448,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &432 + properties: &430 name: type: string example: '"Chris Wanstrath"' @@ -56960,7 +56463,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *432 + properties: *430 nullable: true message: type: string @@ -56981,7 +56484,7 @@ paths: required: - sha - url - verification: &548 + verification: &546 title: Verification type: object properties: @@ -57015,12 +56518,12 @@ paths: nullable: true oneOf: - *4 - - *208 + - *207 committer: nullable: true oneOf: - *4 - - *208 + - *207 parents: type: array items: @@ -57051,7 +56554,7 @@ paths: type: integer files: type: array - items: &511 + items: &509 title: Diff Entry description: Diff Entry type: object @@ -57134,7 +56637,7 @@ paths: - self protected: type: boolean - protection: *433 + protection: *431 protection_url: type: string format: uri @@ -57241,7 +56744,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *389 + '301': *387 '404': *6 x-github: githubCloudOnly: false @@ -57263,15 +56766,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *433 + schema: *431 examples: default: value: @@ -57465,9 +56968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -57722,7 +57225,7 @@ paths: url: type: string format: uri - required_status_checks: &441 + required_status_checks: &439 title: Status Check Policy description: Status Check Policy type: object @@ -57798,7 +57301,7 @@ paths: items: *4 teams: type: array - items: *286 + items: *284 apps: type: array items: *5 @@ -57816,7 +57319,7 @@ paths: items: *4 teams: type: array - items: *286 + items: *284 apps: type: array items: *5 @@ -57874,7 +57377,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *435 + restrictions: *433 required_conversation_resolution: type: object properties: @@ -57986,9 +57489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58013,17 +57516,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *436 + schema: *434 examples: - default: &437 + default: &435 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58045,17 +57548,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *436 + schema: *434 examples: - default: *437 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58074,9 +57577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58101,17 +57604,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *438 + schema: *436 examples: - default: &439 + default: &437 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58207,9 +57710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -58307,9 +57810,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *436 examples: - default: *439 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -58330,9 +57833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58359,17 +57862,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *436 + schema: *434 examples: - default: &440 + default: &438 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58392,17 +57895,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *436 + schema: *434 examples: - default: *440 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -58422,9 +57925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58449,17 +57952,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *441 + schema: *439 examples: - default: &442 + default: &440 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58485,9 +57988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -58539,9 +58042,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *439 examples: - default: *442 + default: *440 '404': *6 '422': *15 x-github: @@ -58563,9 +58066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58589,9 +58092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response @@ -58625,9 +58128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -58694,9 +58197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -58760,9 +58263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: content: application/json: @@ -58828,15 +58331,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response content: application/json: - schema: *435 + schema: *433 examples: default: value: @@ -58927,9 +58430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '204': description: Response @@ -58952,9 +58455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response @@ -58964,7 +58467,7 @@ paths: type: array items: *5 examples: - default: &443 + default: &441 value: - id: 1 slug: octoapp @@ -59021,9 +58524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59057,7 +58560,7 @@ paths: type: array items: *5 examples: - default: *443 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -59078,9 +58581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59114,7 +58617,7 @@ paths: type: array items: *5 examples: - default: *443 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -59135,9 +58638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59171,7 +58674,7 @@ paths: type: array items: *5 examples: - default: *443 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -59193,9 +58696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response @@ -59203,9 +58706,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 '404': *6 x-github: githubCloudOnly: false @@ -59225,9 +58728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -59263,9 +58766,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -59286,9 +58789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: false content: @@ -59324,9 +58827,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -59347,9 +58850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: content: application/json: @@ -59384,9 +58887,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -59408,9 +58911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 responses: '200': description: Response @@ -59420,7 +58923,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -59444,9 +58947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59479,7 +58982,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '422': *15 x-github: githubCloudOnly: false @@ -59504,9 +59007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59539,7 +59042,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '422': *15 x-github: githubCloudOnly: false @@ -59564,9 +59067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59599,7 +59102,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '422': *15 x-github: githubCloudOnly: false @@ -59626,9 +59129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 requestBody: required: true content: @@ -59650,7 +59153,7 @@ paths: description: Response content: application/json: - schema: *444 + schema: *442 examples: default: value: @@ -59764,12 +59267,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *375 - - *376 + - *373 + - *374 + - *219 - *220 - *221 - *222 - - *223 - *17 - *19 responses: @@ -59779,9 +59282,9 @@ paths: application/json: schema: type: array - items: *224 + items: *223 examples: - default: *225 + default: *224 '404': *6 '500': *99 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -59801,8 +59304,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *375 - - *376 + - *373 + - *374 - name: bypass_request_number in: path required: true @@ -59816,7 +59319,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *223 examples: default: value: @@ -59875,12 +59378,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *375 - - *376 + - *373 + - *374 + - *219 - *220 - *221 - *222 - - *223 - *17 - *19 responses: @@ -59890,9 +59393,9 @@ paths: application/json: schema: type: array - items: *445 + items: *443 examples: - default: *446 + default: *444 '404': *6 '403': *29 '500': *99 @@ -59916,8 +59419,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *375 - - *376 + - *373 + - *374 - name: bypass_request_number in: path required: true @@ -59929,7 +59432,7 @@ paths: description: A single bypass request. content: application/json: - schema: *445 + schema: *443 examples: default: value: @@ -59987,8 +59490,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *375 - - *376 + - *373 + - *374 - name: bypass_request_number in: path required: true @@ -60059,8 +59562,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *375 - - *376 + - *373 + - *374 - name: bypass_response_id in: path required: true @@ -60093,8 +59596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -60373,7 +59876,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &446 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60484,16 +59987,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *447 - deployment: &766 + items: *445 + deployment: &764 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60560,8 +60063,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 required: - id - node_id @@ -60773,9 +60276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *375 - - *376 - - &449 + - *373 + - *374 + - &447 name: check_run_id description: The unique identifier of the check run. in: path @@ -60787,9 +60290,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: &450 + default: &448 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60889,9 +60392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *375 - - *376 - - *449 + - *373 + - *374 + - *447 requestBody: required: true content: @@ -61131,9 +60634,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: *450 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61153,9 +60656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *375 - - *376 - - *449 + - *373 + - *374 + - *447 - *17 - *19 responses: @@ -61252,15 +60755,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *375 - - *376 - - *449 + - *373 + - *374 + - *447 responses: '201': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -61298,8 +60801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -61321,7 +60824,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &453 + schema: &451 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61385,7 +60888,7 @@ paths: nullable: true pull_requests: type: array - items: *447 + items: *445 nullable: true app: title: GitHub app @@ -61396,9 +60899,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - repository: *197 + properties: *138 + required: *139 + repository: *196 created_at: type: string format: date-time @@ -61407,12 +60910,12 @@ paths: type: string format: date-time nullable: true - head_commit: &792 + head_commit: &790 title: Simple Commit description: A commit. type: object - properties: *451 - required: *452 + properties: *449 + required: *450 latest_check_runs_count: type: integer check_runs_url: @@ -61440,7 +60943,7 @@ paths: - check_runs_url - pull_requests examples: - default: &454 + default: &452 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61731,9 +61234,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *453 + schema: *451 examples: - default: *454 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61752,8 +61255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -61814,7 +61317,7 @@ paths: required: - app_id - setting - repository: *197 + repository: *196 examples: default: value: @@ -62062,9 +61565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *375 - - *376 - - &455 + - *373 + - *374 + - &453 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62076,9 +61579,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *451 examples: - default: *454 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62101,17 +61604,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *375 - - *376 - - *455 - - &504 + - *373 + - *374 + - *453 + - &502 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &505 + - &503 name: status description: Returns check runs with the specified `status`. in: query @@ -62150,9 +61653,9 @@ paths: type: integer check_runs: type: array - items: *448 + items: *446 examples: - default: &506 + default: &504 value: total_count: 1 check_runs: @@ -62254,15 +61757,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *375 - - *376 - - *455 + - *373 + - *374 + - *453 responses: '201': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -62289,21 +61792,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 + - *227 - *228 - - *229 - *19 - *17 - - &471 + - &469 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: *456 - - &472 + schema: *454 + - &470 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62328,13 +61831,13 @@ paths: be returned. in: query required: false - schema: *230 + schema: *229 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *457 + schema: *455 responses: '200': description: Response @@ -62350,7 +61853,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *458 + instances_url: *456 state: *89 fixed_at: *110 dismissed_by: @@ -62361,11 +61864,11 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *459 - dismissed_comment: *460 - rule: *461 - tool: *462 - most_recent_instance: *463 + dismissed_reason: *457 + dismissed_comment: *458 + rule: *459 + tool: *460 + most_recent_instance: *461 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62488,7 +61991,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &464 + '403': &462 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62515,9 +62018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *375 - - *376 - - &465 + - *373 + - *374 + - &463 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62531,7 +62034,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &464 type: object properties: number: *100 @@ -62539,7 +62042,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *458 + instances_url: *456 state: *89 fixed_at: *110 dismissed_by: @@ -62550,8 +62053,8 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *459 - dismissed_comment: *460 + dismissed_reason: *457 + dismissed_comment: *458 rule: type: object properties: @@ -62605,8 +62108,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *462 - most_recent_instance: *463 + tool: *460 + most_recent_instance: *461 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62702,7 +62205,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -62722,9 +62225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 requestBody: required: true content: @@ -62739,8 +62242,8 @@ paths: enum: - open - dismissed - dismissed_reason: *459 - dismissed_comment: *460 + dismissed_reason: *457 + dismissed_comment: *458 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62759,7 +62262,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *464 examples: default: value: @@ -62835,7 +62338,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &470 + '403': &468 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62862,15 +62365,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 responses: '200': description: Response content: application/json: - schema: &467 + schema: &465 type: object properties: status: @@ -62896,13 +62399,13 @@ paths: - description - started_at examples: - default: &468 + default: &466 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &469 + '400': &467 description: Bad Request content: application/json: @@ -62913,7 +62416,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': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -62938,29 +62441,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 responses: '200': description: OK content: application/json: - schema: *467 + schema: *465 examples: - default: *468 + default: *466 '202': description: Accepted content: application/json: - schema: *467 + schema: *465 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *469 + '400': *467 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62992,9 +62495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 requestBody: required: false content: @@ -63039,8 +62542,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *469 - '403': *470 + '400': *467 + '403': *468 '404': *6 '422': description: Unprocessable Entity @@ -63064,13 +62567,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 - *19 - *17 - - *471 - - *472 + - *469 + - *470 responses: '200': description: Response @@ -63078,7 +62581,7 @@ paths: application/json: schema: type: array - items: *463 + items: *461 examples: default: value: @@ -63117,7 +62620,7 @@ paths: end_column: 50 classifications: - source - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63151,25 +62654,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 + - *227 - *228 - - *229 - *19 - *17 - - *472 + - *470 - 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: *456 + schema: *454 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &475 + schema: &473 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -63190,23 +62693,23 @@ paths: application/json: schema: type: array - items: &476 + items: &474 type: object properties: - ref: *456 - commit_sha: &484 + ref: *454 + commit_sha: &482 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: *473 + analysis_key: *471 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *474 + category: *472 error: type: string example: error reading field xyz @@ -63230,8 +62733,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *475 - tool: *462 + sarif_id: *473 + tool: *460 deletable: type: boolean warning: @@ -63292,7 +62795,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63328,8 +62831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63342,7 +62845,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *474 examples: response: summary: application/json response @@ -63396,7 +62899,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63478,8 +62981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63532,7 +63035,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': *470 + '403': *468 '404': *6 '503': *132 x-github: @@ -63554,8 +63057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -63563,7 +63066,7 @@ paths: application/json: schema: type: array - items: &477 + items: &475 title: CodeQL Database description: A CodeQL database. type: object @@ -63674,7 +63177,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': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63703,8 +63206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: language in: path description: The language of the CodeQL database. @@ -63716,7 +63219,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *475 examples: default: value: @@ -63748,9 +63251,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': &513 + '302': &511 description: Found - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -63772,8 +63275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *375 - - *376 + - *373 + - *374 - name: language in: path description: The language of the CodeQL database. @@ -63783,7 +63286,7 @@ paths: responses: '204': description: Response - '403': *470 + '403': *468 '404': *6 '503': *132 x-github: @@ -63811,8 +63314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -63821,7 +63324,7 @@ paths: type: object additionalProperties: false properties: - language: &478 + language: &476 type: string description: The language targeted by the CodeQL query enum: @@ -63899,7 +63402,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &482 + schema: &480 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63909,7 +63412,7 @@ paths: description: The ID of the variant analysis. controller_repo: *96 actor: *4 - query_language: *478 + query_language: *476 query_pack_url: type: string description: The download url for the query pack. @@ -63956,7 +63459,7 @@ paths: items: type: object properties: - repository: &479 + repository: &477 title: Repository Identifier description: Repository Identifier type: object @@ -63992,7 +63495,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &483 + analysis_status: &481 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64024,7 +63527,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &480 + access_mismatch_repos: &478 type: object properties: repository_count: @@ -64038,7 +63541,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: *479 + items: *477 required: - repository_count - repositories @@ -64060,8 +63563,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *480 - over_limit_repos: *480 + no_codeql_db_repos: *478 + over_limit_repos: *478 required: - access_mismatch_repos - not_found_repos @@ -64077,7 +63580,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &481 + value: &479 summary: Default response value: id: 1 @@ -64229,10 +63732,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *481 + value: *479 repository_lists: summary: Response for a successful variant analysis submission - value: *481 + value: *479 '404': *6 '422': description: Unable to process variant analysis submission @@ -64260,8 +63763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *375 - - *376 + - *373 + - *374 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64273,9 +63776,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *480 examples: - default: *481 + default: *479 '404': *6 '503': *132 x-github: @@ -64298,7 +63801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *375 + - *373 - name: repo in: path description: The name of the controller repository. @@ -64333,7 +63836,7 @@ paths: type: object properties: repository: *96 - analysis_status: *483 + analysis_status: *481 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64458,8 +63961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -64533,7 +64036,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *464 + '403': *462 '404': *6 '503': *132 x-github: @@ -64554,8 +64057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -64612,7 +64115,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -64637,7 +64140,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *470 + '403': *468 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64702,8 +64205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -64711,7 +64214,7 @@ paths: schema: type: object properties: - commit_sha: *484 + commit_sha: *482 ref: type: string description: |- @@ -64769,7 +64272,7 @@ paths: schema: type: object properties: - id: *475 + id: *473 url: type: string description: The REST API URL for checking the status of the upload. @@ -64783,7 +64286,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': *470 + '403': *468 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64806,8 +64309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *375 - - *376 + - *373 + - *374 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64853,7 +64356,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': *464 + '403': *462 '404': description: Not Found if the sarif id does not match any upload '503': *132 @@ -64878,8 +64381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -64960,8 +64463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *375 - - *376 + - *373 + - *374 - 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 @@ -65081,8 +64584,8 @@ paths: parameters: - *17 - *19 - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -65098,7 +64601,7 @@ paths: type: integer codespaces: type: array - items: *293 + items: *291 examples: default: value: @@ -65396,8 +64899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -65460,17 +64963,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '400': *14 '401': *25 '403': *29 @@ -65499,8 +65002,8 @@ paths: parameters: - *17 - *19 - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -65564,8 +65067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65600,14 +65103,14 @@ paths: type: integer machines: type: array - items: &722 + items: &720 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *486 - required: *487 + properties: *484 + required: *485 examples: - default: &723 + default: &721 value: total_count: 2 machines: @@ -65647,8 +65150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *375 - - *376 + - *373 + - *374 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65732,8 +65235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 - 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 @@ -65799,8 +65302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -65818,7 +65321,7 @@ paths: type: integer secrets: type: array - items: &491 + items: &489 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65838,7 +65341,7 @@ paths: - created_at - updated_at examples: - default: *488 + default: *486 headers: Link: *39 x-github: @@ -65861,16 +65364,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *489 + schema: *487 examples: - default: *490 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65890,17 +65393,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '200': description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: *492 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65920,9 +65423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 requestBody: required: true content: @@ -65950,7 +65453,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -65974,9 +65477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '204': description: Response @@ -66004,8 +65507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *375 - - *376 + - *373 + - *374 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66047,7 +65550,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &493 + properties: &491 login: type: string example: octocat @@ -66140,7 +65643,7 @@ paths: user_view_type: type: string example: public - required: &494 + required: &492 - avatar_url - events_url - followers_url @@ -66214,9 +65717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *375 - - *376 - - *219 + - *373 + - *374 + - *218 responses: '204': description: Response if user is a collaborator @@ -66258,9 +65761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *375 - - *376 - - *219 + - *373 + - *374 + - *218 requestBody: required: false content: @@ -66286,7 +65789,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &561 + schema: &559 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66297,7 +65800,7 @@ paths: example: 42 type: integer format: int64 - repository: *197 + repository: *196 invitee: title: Simple User description: A GitHub user. @@ -66508,9 +66011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *375 - - *376 - - *219 + - *373 + - *374 + - *218 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66539,9 +66042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *375 - - *376 - - *219 + - *373 + - *374 + - *218 responses: '200': description: if user has admin permissions @@ -66561,8 +66064,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *493 - required: *494 + properties: *491 + required: *492 nullable: true required: - permission @@ -66617,8 +66120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -66628,7 +66131,7 @@ paths: application/json: schema: type: array - items: &495 + items: &493 title: Commit Comment description: Commit Comment type: object @@ -66669,8 +66172,8 @@ paths: updated_at: type: string format: date-time - author_association: *141 - reactions: *142 + author_association: *140 + reactions: *141 required: - url - html_url @@ -66686,7 +66189,7 @@ paths: - created_at - updated_at examples: - default: &498 + default: &496 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66745,17 +66248,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '200': description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: &499 + default: &497 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66812,9 +66315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -66836,7 +66339,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: default: value: @@ -66887,9 +66390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '204': description: Response @@ -66910,9 +66413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -66938,9 +66441,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 @@ -66961,9 +66464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -66995,16 +66498,16 @@ paths: description: Reaction exists content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Reaction created content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -67026,10 +66529,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *375 - - *376 - - *153 - - *367 + - *373 + - *374 + - *152 + - *365 responses: '204': description: Response @@ -67078,8 +66581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *375 - - *376 + - *373 + - *374 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67135,9 +66638,9 @@ paths: application/json: schema: type: array - items: *496 + items: *494 examples: - default: &612 + default: &610 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67231,9 +66734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *375 - - *376 - - &497 + - *373 + - *374 + - &495 name: commit_sha description: The SHA of the commit. in: path @@ -67305,9 +66808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *375 - - *376 - - *497 + - *373 + - *374 + - *495 - *17 - *19 responses: @@ -67317,9 +66820,9 @@ paths: application/json: schema: type: array - items: *495 + items: *493 examples: - default: *498 + default: *496 headers: Link: *39 x-github: @@ -67347,9 +66850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *375 - - *376 - - *497 + - *373 + - *374 + - *495 requestBody: required: true content: @@ -67384,9 +66887,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: - default: *499 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67404,7 +66907,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: @@ -67414,9 +66917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *375 - - *376 - - *497 + - *373 + - *374 + - *495 - *17 - *19 responses: @@ -67426,7 +66929,7 @@ paths: application/json: schema: type: array - items: &603 + items: &601 title: Pull Request Simple description: Pull Request Simple type: object @@ -67532,8 +67035,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *500 - required: *501 + properties: *498 + required: *499 nullable: true active_lock_reason: type: string @@ -67578,7 +67081,7 @@ paths: nullable: true requested_teams: type: array - items: *286 + items: *284 nullable: true head: type: object @@ -67629,7 +67132,7 @@ paths: _links: type: object properties: - comments: &502 + comments: &500 title: Link description: Hypermedia Link type: object @@ -67638,13 +67141,13 @@ paths: type: string required: - href - commits: *502 - statuses: *502 - html: *502 - issue: *502 - review_comments: *502 - review_comment: *502 - self: *502 + commits: *500 + statuses: *500 + html: *500 + issue: *500 + review_comments: *500 + review_comment: *500 + self: *500 required: - comments - commits @@ -67654,8 +67157,8 @@ paths: - review_comments - review_comment - self - author_association: *141 - auto_merge: &605 + author_association: *140 + auto_merge: &603 title: Auto merge description: The status of auto merging a pull request. type: object @@ -67718,7 +67221,7 @@ paths: - author_association - auto_merge examples: - default: &604 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68255,11 +67758,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *375 - - *376 + - *373 + - *374 - *19 - *17 - - &503 + - &501 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)" @@ -68274,9 +67777,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *494 examples: - default: &590 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68389,11 +67892,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *375 - - *376 + - *373 + - *374 + - *501 + - *502 - *503 - - *504 - - *505 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68427,9 +67930,9 @@ paths: type: integer check_runs: type: array - items: *448 + items: *446 examples: - default: *506 + default: *504 headers: Link: *39 x-github: @@ -68454,9 +67957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *375 - - *376 - - *503 + - *373 + - *374 + - *501 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68464,7 +67967,7 @@ paths: schema: type: integer example: 1 - - *504 + - *502 - *17 - *19 responses: @@ -68482,7 +67985,7 @@ paths: type: integer check_suites: type: array - items: *453 + items: *451 examples: default: value: @@ -68682,9 +68185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *375 - - *376 - - *503 + - *373 + - *374 + - *501 - *17 - *19 responses: @@ -68751,7 +68254,7 @@ paths: type: string total_count: type: integer - repository: *197 + repository: *196 commit_url: type: string format: uri @@ -68882,9 +68385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *375 - - *376 - - *503 + - *373 + - *374 + - *501 - *17 - *19 responses: @@ -68894,7 +68397,7 @@ paths: application/json: schema: type: array - items: &670 + items: &668 title: Status description: The status of a commit. type: object @@ -68975,7 +68478,7 @@ paths: site_admin: false headers: Link: *39 - '301': *389 + '301': *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69003,8 +68506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -69033,20 +68536,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *507 - required: *508 + properties: *505 + required: *506 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &509 + properties: &507 url: type: string format: uri html_url: type: string format: uri - required: &510 + required: &508 - url - html_url nullable: true @@ -69054,32 +68557,32 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true contributing: title: Community Health File type: object - properties: *509 - required: *510 + properties: *507 + required: *508 nullable: true readme: title: Community Health File type: object - properties: *509 - required: *510 + properties: *507 + required: *508 nullable: true issue_template: title: Community Health File type: object - properties: *509 - required: *510 + properties: *507 + required: *508 nullable: true pull_request_template: title: Community Health File type: object - properties: *509 - required: *510 + properties: *507 + required: *508 nullable: true required: - code_of_conduct @@ -69206,8 +68709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *375 - - *376 + - *373 + - *374 - *19 - *17 - name: basehead @@ -69250,8 +68753,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *496 - merge_base_commit: *496 + base_commit: *494 + merge_base_commit: *494 status: type: string enum: @@ -69271,10 +68774,10 @@ paths: example: 6 commits: type: array - items: *496 + items: *494 files: type: array - items: *511 + items: *509 required: - url - html_url @@ -69560,8 +69063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *375 - - *376 + - *373 + - *374 - name: path description: path parameter in: path @@ -69702,7 +69205,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &512 + response-if-content-is-a-file: &510 summary: Response if content is a file value: type: file @@ -69834,7 +69337,7 @@ paths: - size - type - url - - &617 + - &615 title: Content File description: Content File type: object @@ -70035,7 +69538,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *512 + response-if-content-is-a-file: *510 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70104,7 +69607,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *513 + '302': *511 '304': *37 x-github: githubCloudOnly: false @@ -70127,8 +69630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *375 - - *376 + - *373 + - *374 - name: path description: path parameter in: path @@ -70221,7 +69724,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &512 title: File Commit description: File Commit type: object @@ -70373,7 +69876,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *512 examples: example-for-creating-a-file: value: @@ -70427,7 +69930,7 @@ paths: schema: oneOf: - *3 - - &543 + - &541 description: Repository rule violation was detected type: object properties: @@ -70448,7 +69951,7 @@ paths: items: type: object properties: - placeholder_id: &662 + placeholder_id: &660 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70480,8 +69983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *375 - - *376 + - *373 + - *374 - name: path description: path parameter in: path @@ -70542,7 +70045,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *512 examples: default: value: @@ -70597,8 +70100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *375 - - *376 + - *373 + - *374 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70721,21 +70224,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 + - *245 + - *246 - *247 - *248 - - *249 - - *250 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string + - *249 + - *250 - *251 - - *252 - - *253 - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -70755,8 +70258,8 @@ paths: default: 30 - *84 - *85 - - *254 - - *255 + - *252 + - *253 responses: '200': description: Response @@ -70764,7 +70267,7 @@ paths: application/json: schema: type: array - items: &517 + items: &515 type: object description: A Dependabot alert. properties: @@ -70810,7 +70313,7 @@ paths: - unknown - direct - transitive - security_advisory: *515 + security_advisory: *513 security_vulnerability: *104 url: *105 html_url: *106 @@ -70841,7 +70344,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: *516 + auto_dismissed_at: *514 required: - number - state @@ -71071,9 +70574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *375 - - *376 - - &518 + - *373 + - *374 + - &516 name: alert_number in: path description: |- @@ -71088,7 +70591,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: default: value: @@ -71201,9 +70704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *375 - - *376 - - *518 + - *373 + - *374 + - *516 requestBody: required: true content: @@ -71248,7 +70751,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: default: value: @@ -71377,8 +70880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -71396,7 +70899,7 @@ paths: type: integer secrets: type: array - items: &521 + items: &519 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71449,16 +70952,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *519 + schema: *517 examples: - default: *520 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71478,15 +70981,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '200': description: Response content: application/json: - schema: *521 + schema: *519 examples: default: value: @@ -71512,9 +71015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 requestBody: required: true content: @@ -71542,7 +71045,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -71566,9 +71069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *375 - - *376 - - *207 + - *373 + - *374 + - *206 responses: '204': description: Response @@ -71590,8 +71093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *375 - - *376 + - *373 + - *374 - 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 @@ -71751,8 +71254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -71991,8 +71494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -72067,7 +71570,7 @@ paths: - version - url additionalProperties: false - metadata: &522 + metadata: &520 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72100,7 +71603,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *522 + metadata: *520 resolved: type: object description: A collection of resolved package dependencies. @@ -72113,7 +71616,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *522 + metadata: *520 relationship: type: string description: A notation of whether a dependency is requested @@ -72242,8 +71745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *375 - - *376 + - *373 + - *374 - name: sha description: The SHA recorded at creation time. in: query @@ -72283,9 +71786,9 @@ paths: application/json: schema: type: array - items: *523 + items: *521 examples: - default: *524 + default: *522 headers: Link: *39 x-github: @@ -72351,8 +71854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -72433,7 +71936,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *521 examples: simple-example: summary: Simple example @@ -72506,9 +72009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *375 - - *376 - - &525 + - *373 + - *374 + - &523 name: deployment_id description: deployment_id parameter in: path @@ -72520,7 +72023,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *521 examples: default: value: @@ -72585,9 +72088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *375 - - *376 - - *525 + - *373 + - *374 + - *523 responses: '204': description: Response @@ -72609,9 +72112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *375 - - *376 - - *525 + - *373 + - *374 + - *523 - *17 - *19 responses: @@ -72621,7 +72124,7 @@ paths: application/json: schema: type: array - items: &526 + items: &524 title: Deployment Status description: The status of a deployment. type: object @@ -72712,8 +72215,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 required: - id - node_id @@ -72782,9 +72285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *375 - - *376 - - *525 + - *373 + - *374 + - *523 requestBody: required: true content: @@ -72859,9 +72362,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: &527 + default: &525 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72917,9 +72420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *375 - - *376 - - *525 + - *373 + - *374 + - *523 - name: status_id in: path required: true @@ -72930,9 +72433,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: - default: *527 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -72957,8 +72460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -73015,8 +72518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -73033,7 +72536,7 @@ paths: type: integer environments: type: array - items: &529 + items: &527 title: Environment description: Details of a deployment environment type: object @@ -73085,7 +72588,7 @@ paths: type: type: string example: wait_timer - wait_timer: &531 + wait_timer: &529 type: integer example: 30 description: The amount of time to delay a job after @@ -73122,11 +72625,11 @@ paths: items: type: object properties: - type: *528 + type: *526 reviewer: anyOf: - *4 - - *286 + - *284 required: - id - node_id @@ -73146,7 +72649,7 @@ paths: - id - node_id - type - deployment_branch_policy: &532 + deployment_branch_policy: &530 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -73262,9 +72765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *375 - - *376 - - &530 + - *373 + - *374 + - &528 name: environment_name in: path required: true @@ -73277,9 +72780,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *527 examples: - default: &533 + default: &531 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73363,9 +72866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 requestBody: required: false content: @@ -73374,7 +72877,7 @@ paths: type: object nullable: true properties: - wait_timer: *531 + wait_timer: *529 prevent_self_review: type: boolean example: false @@ -73391,13 +72894,13 @@ paths: items: type: object properties: - type: *528 + type: *526 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *532 + deployment_branch_policy: *530 additionalProperties: false examples: default: @@ -73417,9 +72920,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *527 examples: - default: *533 + default: *531 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73443,9 +72946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 responses: '204': description: Default response @@ -73470,9 +72973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 - *17 - *19 responses: @@ -73490,7 +72993,7 @@ paths: example: 2 branch_policies: type: array - items: &534 + items: &532 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73547,9 +73050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 requestBody: required: true content: @@ -73595,9 +73098,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: - example-wildcard: &535 + example-wildcard: &533 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73639,10 +73142,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *375 - - *376 - - *530 - - &536 + - *373 + - *374 + - *528 + - &534 name: branch_policy_id in: path required: true @@ -73654,9 +73157,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: - default: *535 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73675,10 +73178,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *375 - - *376 - - *530 - - *536 + - *373 + - *374 + - *528 + - *534 requestBody: required: true content: @@ -73706,9 +73209,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: - default: *535 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73727,10 +73230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *375 - - *376 - - *530 - - *536 + - *373 + - *374 + - *528 + - *534 responses: '204': description: Response @@ -73755,9 +73258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *530 - - *376 - - *375 + - *528 + - *374 + - *373 responses: '200': description: List of deployment protection rules @@ -73773,7 +73276,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &537 + items: &535 title: Deployment protection rule description: Deployment protection rule type: object @@ -73792,7 +73295,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &538 + app: &536 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73891,9 +73394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *530 - - *376 - - *375 + - *528 + - *374 + - *373 requestBody: content: application/json: @@ -73914,9 +73417,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *537 + schema: *535 examples: - default: &539 + default: &537 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73951,9 +73454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *530 - - *376 - - *375 + - *528 + - *374 + - *373 - *19 - *17 responses: @@ -73972,7 +73475,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *538 + items: *536 examples: default: value: @@ -74007,10 +73510,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *375 - - *376 - - *530 - - &540 + - *373 + - *374 + - *528 + - &538 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74022,9 +73525,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *535 examples: - default: *539 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74045,10 +73548,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *530 - - *376 - - *375 - - *540 + - *528 + - *374 + - *373 + - *538 responses: '204': description: Response @@ -74074,9 +73577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 - *17 - *19 responses: @@ -74094,9 +73597,9 @@ paths: type: integer secrets: type: array - items: *412 + items: *410 examples: - default: *413 + default: *411 headers: Link: *39 x-github: @@ -74121,17 +73624,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 responses: '200': description: Response content: application/json: - schema: *414 + schema: *412 examples: - default: *415 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74153,18 +73656,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *375 - - *376 - - *530 - - *207 + - *373 + - *374 + - *528 + - *206 responses: '200': description: Response content: application/json: - schema: *412 + schema: *410 examples: - default: *541 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74186,10 +73689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *375 - - *376 - - *530 - - *207 + - *373 + - *374 + - *528 + - *206 requestBody: required: true content: @@ -74220,7 +73723,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -74246,10 +73749,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *375 - - *376 - - *530 - - *207 + - *373 + - *374 + - *528 + - *206 responses: '204': description: Default response @@ -74274,10 +73777,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *375 - - *376 - - *530 - - *399 + - *373 + - *374 + - *528 + - *397 - *19 responses: '200': @@ -74294,9 +73797,9 @@ paths: type: integer variables: type: array - items: *416 + items: *414 examples: - default: *417 + default: *415 headers: Link: *39 x-github: @@ -74319,9 +73822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *375 - - *376 - - *530 + - *373 + - *374 + - *528 requestBody: required: true content: @@ -74348,7 +73851,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -74373,18 +73876,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *375 - - *376 - - *530 - - *210 + - *373 + - *374 + - *528 + - *209 responses: '200': description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *542 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74405,10 +73908,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *375 - - *376 - - *210 - - *530 + - *373 + - *374 + - *209 + - *528 requestBody: required: true content: @@ -74450,10 +73953,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *375 - - *376 - - *210 - - *530 + - *373 + - *374 + - *209 + - *528 responses: '204': description: Response @@ -74475,8 +73978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -74486,7 +73989,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: 200-response: value: @@ -74553,8 +74056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *375 - - *376 + - *373 + - *374 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74576,7 +74079,7 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: default: value: @@ -74713,8 +74216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -74746,9 +74249,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 + default: *388 '400': *14 '422': *15 '403': *29 @@ -74769,8 +74272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -74829,8 +74332,8 @@ paths: application/json: schema: oneOf: - - *180 - - *543 + - *179 + - *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,8 +74358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *375 - - *376 + - *373 + - *374 - name: file_sha in: path required: true @@ -74955,8 +74458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -75065,7 +74568,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &542 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75279,15 +74782,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *375 - - *376 - - *497 + - *373 + - *374 + - *495 responses: '200': description: Response content: application/json: - schema: *544 + schema: *542 examples: default: value: @@ -75343,9 +74846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *375 - - *376 - - &545 + - *373 + - *374 + - &543 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. @@ -75362,7 +74865,7 @@ paths: application/json: schema: type: array - items: &546 + items: &544 title: Git Reference description: Git references within a repository type: object @@ -75437,17 +74940,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *375 - - *376 - - *545 + - *373 + - *374 + - *543 responses: '200': description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: &547 + default: &545 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75476,8 +74979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -75506,9 +75009,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: *547 + default: *545 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75534,9 +75037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *375 - - *376 - - *545 + - *373 + - *374 + - *543 requestBody: required: true content: @@ -75565,9 +75068,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: *547 + default: *545 '422': *15 '409': *94 x-github: @@ -75585,9 +75088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *375 - - *376 - - *545 + - *373 + - *374 + - *543 responses: '204': description: Response @@ -75640,8 +75143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -75708,7 +75211,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &547 title: Git Tag description: Metadata for a Git tag type: object @@ -75759,7 +75262,7 @@ paths: - sha - type - url - verification: *548 + verification: *546 required: - sha - url @@ -75769,7 +75272,7 @@ paths: - tag - message examples: - default: &550 + default: &548 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75842,8 +75345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *375 - - *376 + - *373 + - *374 - name: tag_sha in: path required: true @@ -75854,9 +75357,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: - default: *550 + default: *548 '404': *6 '409': *94 x-github: @@ -75880,8 +75383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -75954,7 +75457,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &549 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76066,8 +75569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *375 - - *376 + - *373 + - *374 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76090,7 +75593,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *549 examples: default-response: summary: Default response @@ -76149,8 +75652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -76160,7 +75663,7 @@ paths: application/json: schema: type: array - items: &552 + items: &550 title: Webhook description: Webhooks for repositories. type: object @@ -76214,7 +75717,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &800 + last_response: &798 title: Hook Response type: object properties: @@ -76288,8 +75791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -76341,9 +75844,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *550 examples: - default: &553 + default: &551 value: type: Repository id: 12345678 @@ -76391,17 +75894,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '200': description: Response content: application/json: - schema: *552 + schema: *550 examples: - default: *553 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -76421,9 +75924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 requestBody: required: true content: @@ -76468,9 +75971,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *550 examples: - default: *553 + default: *551 '422': *15 '404': *6 x-github: @@ -76491,9 +75994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '204': description: Response @@ -76517,9 +76020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '200': description: Response @@ -76546,9 +76049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 requestBody: required: false content: @@ -76592,11 +76095,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 - *17 - - *264 + - *262 responses: '200': description: Response @@ -76604,9 +76107,9 @@ paths: application/json: schema: type: array - items: *265 + items: *263 examples: - default: *266 + default: *264 '400': *14 '422': *15 x-github: @@ -76625,18 +76128,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 - *16 responses: '200': description: Response content: application/json: - schema: *267 + schema: *265 examples: - default: *268 + default: *266 '400': *14 '422': *15 x-github: @@ -76655,9 +76158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 - *16 responses: '202': *95 @@ -76680,9 +76183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '204': description: Response @@ -76707,9 +76210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *375 - - *376 - - *263 + - *373 + - *374 + - *261 responses: '204': description: Response @@ -76767,14 +76270,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: &554 + schema: &552 title: Import description: A repository import from an external source. type: object @@ -76873,7 +76376,7 @@ paths: - html_url - authors_url examples: - default: &557 + default: &555 value: vcs: subversion use_lfs: true @@ -76889,7 +76392,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': &555 + '503': &553 description: Unavailable due to service under maintenance. content: application/json: @@ -76918,8 +76421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -76967,7 +76470,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: default: value: @@ -76992,7 +76495,7 @@ paths: type: string '422': *15 '404': *6 - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77020,8 +76523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -77070,7 +76573,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: example-1: summary: Example 1 @@ -77118,7 +76621,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': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77141,12 +76644,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77172,9 +76675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *375 - - *376 - - &746 + - *373 + - *374 + - &744 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77188,7 +76691,7 @@ paths: application/json: schema: type: array - items: &556 + items: &554 title: Porter Author description: Porter Author type: object @@ -77242,7 +76745,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': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77267,8 +76770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *375 - - *376 + - *373 + - *374 - name: author_id in: path required: true @@ -77298,7 +76801,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: default: value: @@ -77311,7 +76814,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77335,8 +76838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -77377,7 +76880,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77405,8 +76908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -77433,11 +76936,11 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: - default: *557 + default: *555 '422': *15 - '503': *555 + '503': *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77460,8 +76963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -77469,8 +76972,8 @@ paths: application/json: schema: *22 examples: - default: *558 - '301': *389 + default: *556 + '301': *387 '404': *6 x-github: githubCloudOnly: false @@ -77490,8 +76993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -77499,12 +77002,12 @@ paths: application/json: schema: anyOf: - - *281 + - *279 - type: object properties: {} additionalProperties: false examples: - default: &560 + default: &558 value: limit: collaborators_only origin: repository @@ -77529,13 +77032,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: application/json: - schema: *559 + schema: *557 examples: default: summary: Example request body @@ -77547,9 +77050,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: - default: *560 + default: *558 '409': description: Response x-github: @@ -77571,8 +77074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -77595,8 +77098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -77606,9 +77109,9 @@ paths: application/json: schema: type: array - items: *561 + items: *559 examples: - default: &739 + default: &737 value: - id: 1 repository: @@ -77739,9 +77242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *375 - - *376 - - *285 + - *373 + - *374 + - *283 requestBody: required: false content: @@ -77770,7 +77273,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *559 examples: default: value: @@ -77901,9 +77404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *375 - - *376 - - *285 + - *373 + - *374 + - *283 responses: '204': description: Response @@ -77934,8 +77437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *375 - - *376 + - *373 + - *374 - 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 @@ -77983,7 +77486,7 @@ paths: required: false schema: type: string - - *290 + - *288 - name: sort description: What to sort results by. in: query @@ -77996,7 +77499,7 @@ paths: - comments default: created - *86 - - *144 + - *143 - *17 - *19 responses: @@ -78006,9 +77509,9 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: &572 + default: &570 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78156,7 +77659,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *389 + '301': *387 '422': *15 '404': *6 x-github: @@ -78185,8 +77688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -78268,9 +77771,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: &567 + default: &565 value: id: 1 node_id: MDU6SXNzdWUx @@ -78426,7 +77929,7 @@ paths: '422': *15 '503': *132 '404': *6 - '410': *386 + '410': *384 x-github: triggersNotification: true githubCloudOnly: false @@ -78454,9 +77957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *375 - - *376 - - *164 + - *373 + - *374 + - *163 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78466,7 +77969,7 @@ paths: enum: - asc - desc - - *144 + - *143 - *17 - *19 responses: @@ -78476,9 +77979,9 @@ paths: application/json: schema: type: array - items: *562 + items: *560 examples: - default: &569 + default: &567 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78536,17 +78039,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '200': description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: &563 + default: &561 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78600,9 +78103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -78624,9 +78127,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 '422': *15 x-github: githubCloudOnly: false @@ -78644,9 +78147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '204': description: Response @@ -78666,9 +78169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -78694,9 +78197,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 @@ -78717,9 +78220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -78751,16 +78254,16 @@ paths: description: Reaction exists content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Reaction created content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -78782,10 +78285,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *375 - - *376 - - *153 - - *367 + - *373 + - *374 + - *152 + - *365 responses: '204': description: Response @@ -78805,8 +78308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -78816,7 +78319,7 @@ paths: application/json: schema: type: array - items: &566 + items: &564 title: Issue Event description: Issue Event type: object @@ -78859,8 +78362,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *564 - required: *565 + properties: *562 + required: *563 nullable: true label: title: Issue Event Label @@ -78904,7 +78407,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *286 + requested_team: *284 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78969,7 +78472,7 @@ paths: required: - from - to - author_association: *141 + author_association: *140 lock_reason: type: string nullable: true @@ -78982,8 +78485,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 required: - id - node_id @@ -79167,8 +78670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *375 - - *376 + - *373 + - *374 - name: event_id in: path required: true @@ -79179,7 +78682,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *564 examples: default: value: @@ -79372,7 +78875,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *386 + '410': *384 '403': *29 x-github: githubCloudOnly: false @@ -79406,9 +78909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *375 - - *376 - - &568 + - *373 + - *374 + - &566 name: issue_number description: The number that identifies the issue. in: path @@ -79420,12 +78923,12 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 - '301': *389 + default: *565 + '301': *387 '404': *6 - '410': *386 + '410': *384 '304': *37 x-github: githubCloudOnly: false @@ -79450,9 +78953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -79555,15 +79058,15 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 '422': *15 '503': *132 '403': *29 - '301': *389 + '301': *387 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79581,9 +79084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -79609,9 +79112,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79627,9 +79130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: content: application/json: @@ -79654,9 +79157,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79678,9 +79181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - name: assignee in: path required: true @@ -79720,10 +79223,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *375 - - *376 - - *568 - - *144 + - *373 + - *374 + - *566 + - *143 - *17 - *19 responses: @@ -79733,13 +79236,13 @@ paths: application/json: schema: type: array - items: *562 + items: *560 examples: - default: *569 + default: *567 headers: Link: *39 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79768,9 +79271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -79792,16 +79295,16 @@ paths: description: Response content: application/json: - schema: *562 + schema: *560 examples: - default: *563 + default: *561 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *386 + '410': *384 '422': *15 '404': *6 x-github: @@ -79821,9 +79324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - *17 - *19 responses: @@ -79837,7 +79340,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &573 + - &571 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79868,8 +79371,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 label: type: object properties: @@ -79891,7 +79394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &572 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79922,8 +79425,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 label: type: object properties: @@ -80011,8 +79514,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 assignee: *4 assigner: *4 required: @@ -80027,7 +79530,7 @@ paths: - performed_via_github_app - assignee - assigner - - &575 + - &573 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80058,8 +79561,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 milestone: type: object properties: @@ -80078,7 +79581,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &574 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80109,8 +79612,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 milestone: type: object properties: @@ -80129,7 +79632,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &575 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80160,8 +79663,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 rename: type: object properties: @@ -80183,7 +79686,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &576 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80214,10 +79717,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 review_requester: *4 - requested_team: *286 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -80230,7 +79733,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &577 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80261,10 +79764,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 review_requester: *4 - requested_team: *286 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -80277,7 +79780,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &578 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80308,8 +79811,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 dismissed_review: type: object properties: @@ -80337,7 +79840,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &579 title: Locked Issue Event description: Locked Issue Event type: object @@ -80368,8 +79871,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 lock_reason: type: string example: '"off-topic"' @@ -80385,7 +79888,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &580 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80416,8 +79919,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 project_card: type: object properties: @@ -80451,7 +79954,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &581 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80482,8 +79985,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 project_card: type: object properties: @@ -80517,7 +80020,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &582 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80548,8 +80051,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 project_card: type: object properties: @@ -80583,7 +80086,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &583 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80674,7 +80177,7 @@ paths: color: red headers: Link: *39 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80691,9 +80194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - *17 - *19 responses: @@ -80703,7 +80206,7 @@ paths: application/json: schema: type: array - items: &570 + items: &568 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80750,7 +80253,7 @@ paths: - color - default examples: - default: &571 + default: &569 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80768,9 +80271,9 @@ paths: default: false headers: Link: *39 - '301': *389 + '301': *387 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80787,9 +80290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -80848,12 +80351,12 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: *571 - '301': *389 + default: *569 + '301': *387 '404': *6 - '410': *386 + '410': *384 '422': *15 x-github: githubCloudOnly: false @@ -80870,9 +80373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -80932,12 +80435,12 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: *571 - '301': *389 + default: *569 + '301': *387 '404': *6 - '410': *386 + '410': *384 '422': *15 x-github: githubCloudOnly: false @@ -80954,15 +80457,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 responses: '204': description: Response - '301': *389 + '301': *387 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80981,9 +80484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - name: name in: path required: true @@ -80996,7 +80499,7 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: default: value: @@ -81007,9 +80510,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *389 + '301': *387 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81029,9 +80532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: false content: @@ -81059,7 +80562,7 @@ paths: '204': description: Response '403': *29 - '410': *386 + '410': *384 '404': *6 '422': *15 x-github: @@ -81077,9 +80580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 responses: '204': description: Response @@ -81101,9 +80604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81129,13 +80632,13 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81153,9 +80656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -81187,16 +80690,16 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -81218,10 +80721,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *375 - - *376 - - *568 - - *367 + - *373 + - *374 + - *566 + - *365 responses: '204': description: Response @@ -81250,9 +80753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -81274,9 +80777,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81309,9 +80812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - *17 - *19 responses: @@ -81321,13 +80824,13 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: *572 + default: *570 headers: Link: *39 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81355,9 +80858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -81384,16 +80887,16 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *386 + '410': *384 '422': *15 '404': *6 x-github: @@ -81413,9 +80916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 requestBody: required: true content: @@ -81446,9 +80949,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *153 examples: - default: *567 + default: *565 '403': *29 '404': *6 '422': *7 @@ -81470,9 +80973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *375 - - *376 - - *568 + - *373 + - *374 + - *566 - *17 - *19 responses: @@ -81487,6 +80990,8 @@ paths: description: Timeline Event type: object anyOf: + - *571 + - *572 - *573 - *574 - *575 @@ -81498,8 +81003,6 @@ paths: - *581 - *582 - *583 - - *584 - - *585 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81542,7 +81045,7 @@ paths: issue_url: type: string format: uri - author_association: *141 + author_association: *140 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -81552,9 +81055,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - reactions: *142 + properties: *138 + required: *139 + reactions: *141 required: - event - actor @@ -81585,7 +81088,7 @@ paths: properties: type: type: string - issue: *154 + issue: *153 required: - event - created_at @@ -81781,7 +81284,7 @@ paths: type: string body_text: type: string - author_association: *141 + author_association: *140 required: - event - id @@ -81804,7 +81307,7 @@ paths: type: string comments: type: array - items: &606 + items: &604 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81893,7 +81396,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *141 + author_association: *140 _links: type: object properties: @@ -81977,7 +81480,7 @@ paths: enum: - line - file - reactions: *142 + reactions: *141 body_html: type: string example: '"

comment body

"' @@ -82013,7 +81516,7 @@ paths: type: string comments: type: array - items: *495 + items: *493 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82044,8 +81547,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 assignee: *4 required: - id @@ -82088,8 +81591,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 assignee: *4 required: - id @@ -82132,8 +81635,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 state_reason: type: string nullable: true @@ -82302,7 +81805,7 @@ paths: headers: Link: *39 '404': *6 - '410': *386 + '410': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82319,8 +81822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -82330,7 +81833,7 @@ paths: application/json: schema: type: array - items: &586 + items: &584 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82395,8 +81898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -82432,9 +81935,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: - default: &587 + default: &585 value: id: 1 key: ssh-rsa AAA... @@ -82468,9 +81971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *375 - - *376 - - &588 + - *373 + - *374 + - &586 name: key_id description: The unique identifier of the key. in: path @@ -82482,9 +81985,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: - default: *587 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -82502,9 +82005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *375 - - *376 - - *588 + - *373 + - *374 + - *586 responses: '204': description: Response @@ -82524,8 +82027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -82535,9 +82038,9 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: *571 + default: *569 headers: Link: *39 '404': *6 @@ -82558,8 +82061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -82595,9 +82098,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *568 examples: - default: &589 + default: &587 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82629,8 +82132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *375 - - *376 + - *373 + - *374 - name: name in: path required: true @@ -82641,9 +82144,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *568 examples: - default: *589 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -82660,8 +82163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *375 - - *376 + - *373 + - *374 - name: name in: path required: true @@ -82700,7 +82203,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *568 examples: default: value: @@ -82726,8 +82229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *375 - - *376 + - *373 + - *374 - name: name in: path required: true @@ -82753,8 +82256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -82790,8 +82293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '202': *95 '403': @@ -82819,8 +82322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -82846,9 +82349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *375 - - *376 - - *471 + - *373 + - *374 + - *469 responses: '200': description: Response @@ -82910,8 +82413,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true required: - _links @@ -82993,8 +82496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83059,8 +82562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83094,9 +82597,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *496 + schema: *494 examples: - default: *590 + default: *588 '204': description: Response when already merged '404': @@ -83121,8 +82624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *375 - - *376 + - *373 + - *374 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83163,12 +82666,12 @@ paths: application/json: schema: type: array - items: &591 + items: &589 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *500 - required: *501 + properties: *498 + required: *499 examples: default: value: @@ -83224,8 +82727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83265,9 +82768,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &592 + default: &590 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83326,9 +82829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *375 - - *376 - - &593 + - *373 + - *374 + - &591 name: milestone_number description: The number that identifies the milestone. in: path @@ -83340,9 +82843,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *592 + default: *590 '404': *6 x-github: githubCloudOnly: false @@ -83359,9 +82862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *375 - - *376 - - *593 + - *373 + - *374 + - *591 requestBody: required: false content: @@ -83399,9 +82902,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *592 + default: *590 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83417,9 +82920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *375 - - *376 - - *593 + - *373 + - *374 + - *591 responses: '204': description: Response @@ -83440,9 +82943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *375 - - *376 - - *593 + - *373 + - *374 + - *591 - *17 - *19 responses: @@ -83452,9 +82955,9 @@ paths: application/json: schema: type: array - items: *570 + items: *568 examples: - default: *571 + default: *569 headers: Link: *39 x-github: @@ -83473,12 +82976,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 + - *592 + - *593 + - *143 - *594 - - *595 - - *144 - - *596 - *17 - *19 responses: @@ -83488,9 +82991,9 @@ paths: application/json: schema: type: array - items: *167 + items: *166 examples: - default: *597 + default: *595 headers: Link: *39 x-github: @@ -83514,8 +83017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -83573,14 +83076,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: &598 + schema: &596 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83705,7 +83208,7 @@ paths: - custom_404 - public examples: - default: &599 + default: &597 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83746,8 +83249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83801,9 +83304,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *596 examples: - default: *599 + default: *597 '422': *15 '409': *94 x-github: @@ -83826,8 +83329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -83934,8 +83437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -83961,8 +83464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -83972,7 +83475,7 @@ paths: application/json: schema: type: array - items: &600 + items: &598 title: Page Build description: Page Build type: object @@ -84066,8 +83569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *375 - - *376 + - *373 + - *374 responses: '201': description: Response @@ -84112,16 +83615,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *600 + schema: *598 examples: - default: &601 + default: &599 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84169,8 +83672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *375 - - *376 + - *373 + - *374 - name: build_id in: path required: true @@ -84181,9 +83684,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *598 examples: - default: *601 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84203,8 +83706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -84309,9 +83812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *375 - - *376 - - &602 + - *373 + - *374 + - &600 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84369,9 +83872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *375 - - *376 - - *602 + - *373 + - *374 + - *600 responses: '204': *118 '404': *6 @@ -84398,8 +83901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -84630,7 +84133,7 @@ paths: description: Empty response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -84657,8 +84160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Private vulnerability reporting status @@ -84695,8 +84198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': *118 '422': *14 @@ -84717,8 +84220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': *118 '422': *14 @@ -84741,8 +84244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *375 - - *376 + - *373 + - *374 - name: state description: Indicates the state of the projects to return. in: query @@ -84763,7 +84266,7 @@ paths: application/json: schema: type: array - items: *321 + items: *319 examples: default: value: @@ -84803,7 +84306,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *386 + '410': *384 '422': *7 x-github: githubCloudOnly: false @@ -84826,8 +84329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -84853,13 +84356,13 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: *385 + default: *383 '401': *25 '403': *29 '404': *6 - '410': *386 + '410': *384 '422': *7 x-github: githubCloudOnly: false @@ -84882,8 +84385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -84891,7 +84394,7 @@ paths: application/json: schema: type: array - items: *323 + items: *321 examples: default: value: @@ -84922,8 +84425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -84935,7 +84438,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *323 + items: *321 required: - properties examples: @@ -84985,8 +84488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *375 - - *376 + - *373 + - *374 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85046,9 +84549,9 @@ paths: application/json: schema: type: array - items: *603 + items: *601 examples: - default: *604 + default: *602 headers: Link: *39 '304': *37 @@ -85080,8 +84583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -85146,7 +84649,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &606 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85257,8 +84760,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *500 - required: *501 + properties: *498 + required: *499 nullable: true active_lock_reason: type: string @@ -85303,7 +84806,7 @@ paths: nullable: true requested_teams: type: array - items: *343 + items: *341 nullable: true head: type: object @@ -85342,14 +84845,14 @@ paths: _links: type: object properties: - comments: *502 - commits: *502 - statuses: *502 - html: *502 - issue: *502 - review_comments: *502 - review_comment: *502 - self: *502 + comments: *500 + commits: *500 + statuses: *500 + html: *500 + issue: *500 + review_comments: *500 + review_comment: *500 + self: *500 required: - comments - commits @@ -85359,8 +84862,8 @@ paths: - review_comments - review_comment - self - author_association: *141 - auto_merge: *605 + author_association: *140 + auto_merge: *603 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -85452,7 +84955,7 @@ paths: - merged_by - review_comments examples: - default: &609 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85979,8 +85482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: sort in: query required: false @@ -85999,7 +85502,7 @@ paths: enum: - asc - desc - - *144 + - *143 - *17 - *19 responses: @@ -86009,9 +85512,9 @@ paths: application/json: schema: type: array - items: *606 + items: *604 examples: - default: &611 + default: &609 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86088,17 +85591,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '200': description: Response content: application/json: - schema: *606 + schema: *604 examples: - default: &607 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86173,9 +85676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -86197,9 +85700,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: - default: *607 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86215,9 +85718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 responses: '204': description: Response @@ -86238,9 +85741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86266,9 +85769,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 @@ -86289,9 +85792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *375 - - *376 - - *153 + - *373 + - *374 + - *152 requestBody: required: true content: @@ -86323,16 +85826,16 @@ paths: description: Reaction exists content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Reaction created content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -86354,10 +85857,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *375 - - *376 - - *153 - - *367 + - *373 + - *374 + - *152 + - *365 responses: '204': description: Response @@ -86400,9 +85903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *375 - - *376 - - &610 + - *373 + - *374 + - &608 name: pull_number description: The number that identifies the pull request. in: path @@ -86415,9 +85918,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *608 + schema: *606 examples: - default: *609 + default: *607 '304': *37 '404': *6 '406': @@ -86452,9 +85955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -86496,9 +85999,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: - default: *609 + default: *607 '422': *15 '403': *29 x-github: @@ -86520,9 +86023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: true content: @@ -86582,17 +86085,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '401': *25 '403': *29 '404': *6 @@ -86622,10 +86125,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *375 - - *376 - - *610 - - *164 + - *373 + - *374 + - *608 + - *163 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86635,7 +86138,7 @@ paths: enum: - asc - desc - - *144 + - *143 - *17 - *19 responses: @@ -86645,9 +86148,9 @@ paths: application/json: schema: type: array - items: *606 + items: *604 examples: - default: *611 + default: *609 headers: Link: *39 x-github: @@ -86680,9 +86183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: true content: @@ -86787,7 +86290,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: example-for-a-multi-line-comment: value: @@ -86875,10 +86378,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *375 - - *376 - - *610 - - *153 + - *373 + - *374 + - *608 + - *152 requestBody: required: true content: @@ -86900,7 +86403,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: default: value: @@ -86986,9 +86489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 - *17 - *19 responses: @@ -86998,9 +86501,9 @@ paths: application/json: schema: type: array - items: *496 + items: *494 examples: - default: *612 + default: *610 headers: Link: *39 x-github: @@ -87030,9 +86533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 - *17 - *19 responses: @@ -87042,7 +86545,7 @@ paths: application/json: schema: type: array - items: *511 + items: *509 examples: default: value: @@ -87080,9 +86583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 responses: '204': description: Response if pull request has been merged @@ -87105,9 +86608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -87218,9 +86721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 responses: '200': description: Response @@ -87236,7 +86739,7 @@ paths: items: *4 teams: type: array - items: *286 + items: *284 required: - users - teams @@ -87295,9 +86798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -87334,7 +86837,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: default: value: @@ -87870,9 +87373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: true content: @@ -87906,7 +87409,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: default: value: @@ -88411,9 +87914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 - *17 - *19 responses: @@ -88423,7 +87926,7 @@ paths: application/json: schema: type: array - items: &613 + items: &611 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88492,7 +87995,7 @@ paths: type: string body_text: type: string - author_association: *141 + author_association: *140 required: - id - node_id @@ -88574,9 +88077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -88662,9 +88165,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: &615 + default: &613 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88727,10 +88230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - &614 + - *373 + - *374 + - *608 + - &612 name: review_id description: The unique identifier of the review. in: path @@ -88742,9 +88245,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: &616 + default: &614 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88803,10 +88306,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 requestBody: required: true content: @@ -88829,7 +88332,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: default: value: @@ -88891,18 +88394,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 responses: '200': description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: *615 + default: *613 '422': *7 '404': *6 x-github: @@ -88929,10 +88432,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 - *17 - *19 responses: @@ -89011,13 +88514,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *141 + author_association: *140 _links: type: object properties: - self: *502 - html: *502 - pull_request: *502 + self: *500 + html: *500 + pull_request: *500 required: - self - html @@ -89026,7 +88529,7 @@ paths: type: string body_html: type: string - reactions: *142 + reactions: *141 side: description: The side of the first line of the range for a multi-line comment. @@ -89160,10 +88663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 requestBody: required: true content: @@ -89191,7 +88694,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: default: value: @@ -89254,10 +88757,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *375 - - *376 - - *610 - - *614 + - *373 + - *374 + - *608 + - *612 requestBody: required: true content: @@ -89292,9 +88795,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: *616 + default: *614 '404': *6 '422': *7 '403': *29 @@ -89316,9 +88819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *375 - - *376 - - *610 + - *373 + - *374 + - *608 requestBody: required: false content: @@ -89381,8 +88884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *375 - - *376 + - *373 + - *374 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89395,9 +88898,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: &618 + default: &616 value: type: file encoding: base64 @@ -89439,8 +88942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *375 - - *376 + - *373 + - *374 - name: dir description: The alternate path to look for a README file in: path @@ -89460,9 +88963,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: *618 + default: *616 '404': *6 '422': *15 x-github: @@ -89484,8 +88987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -89495,7 +88998,7 @@ paths: application/json: schema: type: array - items: &619 + items: &617 title: Release description: A release. type: object @@ -89558,7 +89061,7 @@ paths: author: *4 assets: type: array - items: &620 + items: &618 title: Release Asset description: Data related to a release. type: object @@ -89629,7 +89132,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *142 + reactions: *141 required: - assets_url - upload_url @@ -89739,8 +89242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -89816,9 +89319,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: &623 + default: &621 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89921,9 +89424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *375 - - *376 - - &621 + - *373 + - *374 + - &619 name: asset_id description: The unique identifier of the asset. in: path @@ -89935,9 +89438,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: &622 + default: &620 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 @@ -89971,7 +89474,7 @@ paths: type: User site_admin: false '404': *6 - '302': *513 + '302': *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89987,9 +89490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *375 - - *376 - - *621 + - *373 + - *374 + - *619 requestBody: required: false content: @@ -90017,9 +89520,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *622 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90035,9 +89538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *375 - - *376 - - *621 + - *373 + - *374 + - *619 responses: '204': description: Response @@ -90061,8 +89564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -90147,16 +89650,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: *623 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90173,8 +89676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *375 - - *376 + - *373 + - *374 - name: tag description: tag parameter in: path @@ -90187,9 +89690,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: *623 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -90211,9 +89714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *375 - - *376 - - &624 + - *373 + - *374 + - &622 name: release_id description: The unique identifier of the release. in: path @@ -90227,9 +89730,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *619 + schema: *617 examples: - default: *623 + default: *621 '401': description: Unauthorized x-github: @@ -90247,9 +89750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 requestBody: required: false content: @@ -90313,9 +89816,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: - default: *623 + default: *621 '404': description: Not Found if the discussion category name is invalid content: @@ -90336,9 +89839,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 responses: '204': description: Response @@ -90358,9 +89861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 - *17 - *19 responses: @@ -90370,7 +89873,7 @@ paths: application/json: schema: type: array - items: *620 + items: *618 examples: default: value: @@ -90451,9 +89954,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: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 - name: name in: query required: true @@ -90479,7 +89982,7 @@ paths: description: Response for successful upload content: application/json: - schema: *620 + schema: *618 examples: response-for-successful-upload: value: @@ -90533,9 +90036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90559,9 +90062,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 '404': *6 @@ -90582,9 +90085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *375 - - *376 - - *624 + - *373 + - *374 + - *622 requestBody: required: true content: @@ -90614,16 +90117,16 @@ paths: description: Reaction exists content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '201': description: Reaction created content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '422': *15 x-github: githubCloudOnly: false @@ -90645,10 +90148,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *375 - - *376 - - *624 - - *367 + - *373 + - *374 + - *622 + - *365 responses: '204': description: Response @@ -90672,9 +90175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *375 - - *376 - - *434 + - *373 + - *374 + - *432 - *17 - *19 responses: @@ -90690,8 +90193,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *625 - - &627 + - *623 + - &625 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90710,66 +90213,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *624 + - *625 - allOf: - *626 + - *625 + - allOf: - *627 + - *625 - allOf: - *628 - - *627 + - *625 - allOf: - *629 - - *627 + - *625 - allOf: - *630 - - *627 + - *625 - allOf: - *631 - - *627 + - *625 - allOf: - *632 - - *627 + - *625 - allOf: - *633 - - *627 + - *625 - allOf: - *634 - - *627 + - *625 - allOf: - *635 - - *627 + - *625 - allOf: - *636 - - *627 + - *625 - allOf: - *637 - - *627 + - *625 - allOf: - *638 - - *627 + - *625 - allOf: - *639 - - *627 + - *625 - allOf: - *640 - - *627 + - *625 - allOf: - *641 - - *627 + - *625 - allOf: - *642 - - *627 + - *625 - allOf: - *643 - - *627 + - *625 - allOf: - *644 - - *627 - - allOf: - - *645 - - *627 - - allOf: - - *646 - - *627 + - *625 examples: default: value: @@ -90808,8 +90311,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 - name: includes_parents @@ -90820,7 +90323,7 @@ paths: schema: type: boolean default: true - - *647 + - *645 responses: '200': description: Response @@ -90875,8 +90378,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 requestBody: description: Request body required: true @@ -90938,7 +90441,7 @@ paths: application/json: schema: *128 examples: - default: &656 + default: &654 value: id: 42 name: super cool ruleset @@ -90985,12 +90488,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *375 - - *376 + - *373 + - *374 + - *646 + - *221 + - *647 - *648 - - *222 - - *649 - - *650 - *17 - *19 responses: @@ -90998,9 +90501,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *652 + default: *650 '404': *6 '500': *99 x-github: @@ -91021,17 +90524,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *375 - - *376 - - *653 + - *373 + - *374 + - *651 responses: '200': description: Response content: application/json: - schema: *654 + schema: *652 examples: - default: *655 + default: *653 '404': *6 '500': *99 x-github: @@ -91059,8 +90562,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91082,7 +90585,7 @@ paths: application/json: schema: *128 examples: - default: *656 + default: *654 '404': *6 '500': *99 put: @@ -91100,8 +90603,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91165,7 +90668,7 @@ paths: application/json: schema: *128 examples: - default: *656 + default: *654 '404': *6 '500': *99 delete: @@ -91183,8 +90686,8 @@ paths: category: repos subcategory: rules parameters: - - *375 - - *376 + - *373 + - *374 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91207,8 +90710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 - name: ruleset_id @@ -91226,7 +90729,7 @@ paths: type: array items: *131 examples: - default: *331 + default: *329 '404': *6 '500': *99 x-github: @@ -91245,8 +90748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *375 - - *376 + - *373 + - *374 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91264,7 +90767,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *330 examples: default: value: @@ -91319,20 +90822,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 + - *331 + - *332 - *333 - *334 - - *335 - - *336 - *86 - *19 - *17 - - *657 - - *658 + - *655 + - *656 + - *335 + - *336 - *337 - - *338 - - *339 responses: '200': description: Response @@ -91340,7 +90843,7 @@ paths: application/json: schema: type: array - items: &661 + items: &659 type: object properties: number: *100 @@ -91359,8 +90862,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *659 - resolution: *660 + state: *657 + resolution: *658 resolved_at: type: string format: date-time @@ -91578,15 +91081,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 responses: '200': description: Response content: application/json: - schema: *661 + schema: *659 examples: default: value: @@ -91638,9 +91141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 requestBody: required: true content: @@ -91648,8 +91151,8 @@ paths: schema: type: object properties: - state: *659 - resolution: *660 + state: *657 + resolution: *658 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -91667,7 +91170,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *659 examples: default: value: @@ -91742,9 +91245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *375 - - *376 - - *465 + - *373 + - *374 + - *463 - *19 - *17 responses: @@ -91755,7 +91258,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &821 + items: &819 type: object properties: type: @@ -92114,8 +91617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -92123,14 +91626,14 @@ paths: schema: type: object properties: - reason: &663 + reason: &661 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *662 + placeholder_id: *660 required: - reason - placeholder_id @@ -92147,7 +91650,7 @@ paths: schema: type: object properties: - reason: *663 + reason: *661 expire_at: type: string format: date-time @@ -92190,8 +91693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -92206,7 +91709,7 @@ paths: properties: incremental_scans: type: array - items: &664 + items: &662 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92232,15 +91735,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *664 + items: *662 backfill_scans: type: array - items: *664 + items: *662 custom_pattern_backfill_scans: type: array items: allOf: - - *664 + - *662 - type: object properties: pattern_name: @@ -92310,8 +91813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *375 - - *376 + - *373 + - *374 - *86 - name: sort description: The property to sort the results by. @@ -92355,9 +91858,9 @@ paths: application/json: schema: type: array - items: *665 + items: *663 examples: - default: *666 + default: *664 '400': *14 '404': *6 x-github: @@ -92380,8 +91883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -92454,7 +91957,7 @@ paths: login: type: string description: The username of the user credited. - type: *342 + type: *340 required: - login - type @@ -92541,9 +92044,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: - default: &668 + default: &666 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92776,8 +92279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -92881,7 +92384,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: default: value: @@ -93028,17 +92531,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *375 - - *376 - - *667 + - *373 + - *374 + - *665 responses: '200': description: Response content: application/json: - schema: *665 + schema: *663 examples: - default: *668 + default: *666 '403': *29 '404': *6 x-github: @@ -93062,9 +92565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *375 - - *376 - - *667 + - *373 + - *374 + - *665 requestBody: required: true content: @@ -93137,7 +92640,7 @@ paths: login: type: string description: The username of the user credited. - type: *342 + type: *340 required: - login - type @@ -93223,17 +92726,17 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: - default: *668 - add_credit: *668 + default: *666 + add_credit: *666 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *180 + schema: *179 examples: invalid_state_transition: value: @@ -93264,9 +92767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *375 - - *376 - - *667 + - *373 + - *374 + - *665 responses: '202': *95 '400': *14 @@ -93293,17 +92796,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *375 - - *376 - - *667 + - *373 + - *374 + - *665 responses: '202': description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 + default: *388 '400': *14 '422': *15 '403': *29 @@ -93329,8 +92832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -93429,8 +92932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93439,7 +92942,7 @@ paths: application/json: schema: type: array - items: &669 + items: &667 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93472,8 +92975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -93549,8 +93052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -93646,8 +93149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93801,8 +93304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93812,7 +93315,7 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: default: value: @@ -93845,8 +93348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *375 - - *376 + - *373 + - *374 - name: sha in: path required: true @@ -93900,7 +93403,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *668 examples: default: value: @@ -93954,8 +93457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -93967,7 +93470,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -93987,14 +93490,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &671 + schema: &669 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94062,8 +93565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: false content: @@ -94089,7 +93592,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *669 examples: default: value: @@ -94116,8 +93619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -94137,8 +93640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -94217,8 +93720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -94226,7 +93729,7 @@ paths: application/json: schema: type: array - items: &672 + items: &670 title: Tag protection description: Tag protection type: object @@ -94278,8 +93781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -94302,7 +93805,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *670 examples: default: value: @@ -94333,8 +93836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94371,8 +93874,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *375 - - *376 + - *373 + - *374 - name: ref in: path required: true @@ -94408,8 +93911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *375 - - *376 + - *373 + - *374 - *17 - *19 responses: @@ -94419,9 +93922,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - default: *304 + default: *302 headers: Link: *39 '404': *6 @@ -94441,8 +93944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *375 - - *376 + - *373 + - *374 - *19 - *17 responses: @@ -94450,7 +93953,7 @@ paths: description: Response content: application/json: - schema: &673 + schema: &671 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94462,7 +93965,7 @@ paths: required: - names examples: - default: &674 + default: &672 value: names: - octocat @@ -94485,8 +93988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -94517,9 +94020,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *671 examples: - default: *674 + default: *672 '404': *6 '422': *7 x-github: @@ -94540,9 +94043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *375 - - *376 - - &675 + - *373 + - *374 + - &673 name: per description: The time frame to display results for. in: query @@ -94571,7 +94074,7 @@ paths: example: 128 clones: type: array - items: &676 + items: &674 title: Traffic type: object properties: @@ -94658,8 +94161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -94749,8 +94252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *375 - - *376 + - *373 + - *374 responses: '200': description: Response @@ -94810,9 +94313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *375 - - *376 - - *675 + - *373 + - *374 + - *673 responses: '200': description: Response @@ -94831,7 +94334,7 @@ paths: example: 3782 views: type: array - items: *676 + items: *674 required: - uniques - count @@ -94908,8 +94411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *375 - - *376 + - *373 + - *374 requestBody: required: true content: @@ -94945,7 +94448,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *196 examples: default: value: @@ -95183,8 +94686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95207,8 +94710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -95230,8 +94733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -95257,8 +94760,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *375 - - *376 + - *373 + - *374 - name: ref in: path required: true @@ -95350,9 +94853,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 + default: *388 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95393,7 +94896,7 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: default: value: @@ -95503,7 +95006,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &684 + - &682 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -95512,7 +95015,7 @@ paths: schema: type: string example: members - - &689 + - &687 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -95523,7 +95026,7 @@ paths: default: 1 format: int32 example: 1 - - &690 + - &688 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -95565,7 +95068,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &678 + items: &676 allOf: - type: object required: @@ -95640,7 +95143,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &691 + meta: &689 type: object description: The metadata associated with the creation/updates to the user. @@ -95700,31 +95203,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &679 + '400': &677 description: Bad request content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '401': &680 + schema: *675 + '401': &678 description: Authorization failure - '403': &681 + '403': &679 description: Permission denied - '429': &682 + '429': &680 description: Too many requests content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '500': &683 + schema: *675 + '500': &681 description: Internal server error content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 + schema: *675 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95748,7 +95251,7 @@ paths: required: true content: application/json: - schema: &687 + schema: &685 type: object required: - schemas @@ -95804,9 +95307,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *678 + schema: *676 examples: - group: &685 + group: &683 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -95825,13 +95328,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *679 - '401': *680 - '403': *681 - '409': &688 + '400': *677 + '401': *678 + '403': *679 + '409': &686 description: Duplicate record detected - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95848,7 +95351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &686 + - &684 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -95856,22 +95359,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *684 + - *682 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *678 + schema: *676 examples: - default: *685 - '400': *679 - '401': *680 - '403': *681 + default: *683 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95890,13 +95393,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *686 + - *684 - *40 requestBody: required: true content: application/json: - schema: *687 + schema: *685 examples: group: summary: Group @@ -95922,17 +95425,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *678 + schema: *676 examples: - group: *685 - groupWithMembers: *685 - '400': *679 - '401': *680 - '403': *681 + group: *683 + groupWithMembers: *683 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '409': *688 - '429': *682 - '500': *683 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95956,13 +95459,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *686 + - *684 - *40 requestBody: required: true content: application/json: - schema: &698 + schema: &696 type: object required: - Operations @@ -96022,17 +95525,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *678 + schema: *676 examples: - updateGroup: *685 - addMembers: *685 - '400': *679 - '401': *680 - '403': *681 + updateGroup: *683 + addMembers: *683 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '409': *688 - '429': *682 - '500': *683 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96048,17 +95551,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *686 + - *684 - *40 responses: '204': description: Group was deleted, no content - '400': *679 - '401': *680 - '403': *681 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96092,8 +95595,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *689 - - *690 + - *687 + - *688 - *40 responses: '200': @@ -96126,7 +95629,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &693 + items: &691 allOf: - type: object required: @@ -96205,7 +95708,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &692 + roles: &690 type: array description: The roles assigned to the user. items: @@ -96261,7 +95764,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *691 + meta: *689 startIndex: type: integer description: A starting index for the returned page @@ -96298,11 +95801,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *679 - '401': *680 - '403': *681 - '429': *682 - '500': *683 + '400': *677 + '401': *678 + '403': *679 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96326,7 +95829,7 @@ paths: required: true content: application/json: - schema: &696 + schema: &694 type: object required: - schemas @@ -96408,9 +95911,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *692 + roles: *690 examples: - user: &697 + user: &695 summary: User value: schemas: @@ -96457,9 +95960,9 @@ paths: description: User has been created content: application/scim+json: - schema: *693 + schema: *691 examples: - user: &694 + user: &692 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -96485,13 +95988,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *694 - '400': *679 - '401': *680 - '403': *681 - '409': *688 - '429': *682 - '500': *683 + enterpriseOwner: *692 + '400': *677 + '401': *678 + '403': *679 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96508,7 +96011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &695 + - &693 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -96521,15 +96024,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *693 + schema: *691 examples: - default: *694 - '400': *679 - '401': *680 - '403': *681 + default: *692 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96551,30 +96054,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *695 + - *693 - *40 requestBody: required: true content: application/json: - schema: *696 + schema: *694 examples: - user: *697 + user: *695 responses: '200': description: User was updated content: application/scim+json: - schema: *693 + schema: *691 examples: - user: *694 - '400': *679 - '401': *680 - '403': *681 + user: *692 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '409': *688 - '429': *682 - '500': *683 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96609,13 +96112,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *695 + - *693 - *40 requestBody: required: true content: application/json: - schema: *698 + schema: *696 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -96655,18 +96158,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *693 - examples: - userMultiValuedProperties: *694 - userSingleValuedProperties: *694 - disableUser: *694 - '400': *679 - '401': *680 - '403': *681 + schema: *691 + examples: + userMultiValuedProperties: *692 + userSingleValuedProperties: *692 + disableUser: *692 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '409': *688 - '429': *682 - '500': *683 + '409': *686 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96686,17 +96189,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *695 + - *693 - *40 responses: '204': description: User was deleted, no content - '400': *679 - '401': *680 - '403': *681 + '400': *677 + '401': *678 + '403': *679 '404': *6 - '429': *682 - '500': *683 + '429': *680 + '500': *681 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96729,7 +96232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *171 + - *170 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -96783,7 +96286,7 @@ paths: example: 1 Resources: type: array - items: &699 + items: &697 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97014,22 +96517,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &700 + '404': &698 description: Resource not found content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '403': &701 + schema: *675 + '403': &699 description: Forbidden content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '400': *679 - '429': *682 + schema: *675 + '400': *677 + '429': *680 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97049,15 +96552,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *171 + - *170 responses: '201': description: Response content: application/scim+json: - schema: *699 + schema: *697 examples: - default: &702 + default: &700 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97080,17 +96583,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *700 - '403': *701 - '500': *683 + '404': *698 + '403': *699 + '500': *681 '409': description: Conflict content: application/json: - schema: *677 + schema: *675 application/scim+json: - schema: *677 - '400': *679 + schema: *675 + '400': *677 requestBody: required: true content: @@ -97182,18 +96685,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *171 - - *695 + - *170 + - *693 responses: '200': description: Response content: application/scim+json: - schema: *699 + schema: *697 examples: - default: *702 - '404': *700 - '403': *701 + default: *700 + '404': *698 + '403': *699 '304': *37 x-github: githubCloudOnly: true @@ -97216,19 +96719,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *171 - - *695 + - *170 + - *693 responses: '200': description: Response content: application/scim+json: - schema: *699 + schema: *697 examples: - default: *702 + default: *700 '304': *37 - '404': *700 - '403': *701 + '404': *698 + '403': *699 requestBody: required: true content: @@ -97336,20 +96839,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *171 - - *695 + - *170 + - *693 responses: '200': description: Response content: application/scim+json: - schema: *699 + schema: *697 examples: - default: *702 + default: *700 '304': *37 - '404': *700 - '403': *701 - '400': *679 + '404': *698 + '403': *699 + '400': *677 '429': description: Response content: @@ -97439,13 +96942,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *171 - - *695 + - *170 + - *693 responses: '204': description: Response - '404': *700 - '403': *701 + '404': *698 + '403': *699 '304': *37 x-github: githubCloudOnly: true @@ -97560,7 +97063,7 @@ paths: html_url: type: string format: uri - repository: *197 + repository: *196 score: type: number file_size: @@ -97578,7 +97081,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &703 + text_matches: &701 title: Search Result Text Matches type: array items: @@ -97741,7 +97244,7 @@ paths: enum: - author-date - committer-date - - &704 + - &702 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 @@ -97812,7 +97315,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *432 + properties: *430 nullable: true comment_count: type: integer @@ -97832,7 +97335,7 @@ paths: url: type: string format: uri - verification: *548 + verification: *546 required: - author - committer @@ -97851,7 +97354,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *432 + properties: *430 nullable: true parents: type: array @@ -97864,12 +97367,12 @@ paths: type: string sha: type: string - repository: *197 + repository: *196 score: type: number node_id: type: string - text_matches: *703 + text_matches: *701 required: - sha - node_id @@ -98052,7 +97555,7 @@ paths: - interactions - created - updated - - *704 + - *702 - *17 - *19 - name: advanced_search @@ -98179,8 +97682,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *500 - required: *501 + properties: *498 + required: *499 nullable: true comments: type: integer @@ -98194,7 +97697,7 @@ paths: type: string format: date-time nullable: true - text_matches: *703 + text_matches: *701 pull_request: type: object properties: @@ -98227,7 +97730,7 @@ paths: type: string score: type: number - author_association: *141 + author_association: *140 draft: type: boolean repository: *63 @@ -98238,7 +97741,7 @@ paths: timeline_url: type: string format: uri - type: *287 + type: *285 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -98248,9 +97751,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 - reactions: *142 + properties: *138 + required: *139 + reactions: *141 required: - assignee - closed_at @@ -98422,7 +97925,7 @@ paths: enum: - created - updated - - *704 + - *702 - *17 - *19 responses: @@ -98466,7 +97969,7 @@ paths: nullable: true score: type: number - text_matches: *703 + text_matches: *701 required: - id - node_id @@ -98552,7 +98055,7 @@ paths: - forks - help-wanted-issues - updated - - *704 + - *702 - *17 - *19 responses: @@ -98771,8 +98274,8 @@ paths: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true permissions: type: object @@ -98791,7 +98294,7 @@ paths: - admin - pull - push - text_matches: *703 + text_matches: *701 temp_clone_token: type: string allow_merge_commit: @@ -99092,7 +98595,7 @@ paths: type: string format: uri nullable: true - text_matches: *703 + text_matches: *701 related: type: array nullable: true @@ -99285,7 +98788,7 @@ paths: - followers - repositories - joined - - *704 + - *702 - *17 - *19 responses: @@ -99389,7 +98892,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *703 + text_matches: *701 blog: type: string nullable: true @@ -99468,7 +98971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &705 + - &703 name: team_id description: The unique identifier of the team. in: path @@ -99480,9 +98983,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '404': *6 x-github: githubCloudOnly: false @@ -99509,7 +99012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *705 + - *703 requestBody: required: true content: @@ -99572,16 +99075,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '201': description: Response content: application/json: - schema: *356 + schema: *354 examples: - default: *357 + default: *355 '404': *6 '422': *15 '403': *29 @@ -99609,7 +99112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *705 + - *703 responses: '204': description: Response @@ -99640,7 +99143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *705 + - *703 - *86 - *17 - *19 @@ -99651,9 +99154,9 @@ paths: application/json: schema: type: array - items: *358 + items: *356 examples: - default: *706 + default: *704 headers: Link: *39 x-github: @@ -99682,7 +99185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *705 + - *703 requestBody: required: true content: @@ -99716,9 +99219,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *359 + default: *357 x-github: triggersNotification: true githubCloudOnly: false @@ -99745,16 +99248,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 responses: '200': description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *359 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99779,8 +99282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 requestBody: required: false content: @@ -99803,9 +99306,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *707 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99830,8 +99333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 responses: '204': description: Response @@ -99860,8 +99363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *705 - - *360 + - *703 + - *358 - *86 - *17 - *19 @@ -99872,9 +99375,9 @@ paths: application/json: schema: type: array - items: *361 + items: *359 examples: - default: *708 + default: *706 headers: Link: *39 x-github: @@ -99903,8 +99406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *705 - - *360 + - *703 + - *358 requestBody: required: true content: @@ -99926,9 +99429,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: *362 + default: *360 x-github: triggersNotification: true githubCloudOnly: false @@ -99955,17 +99458,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: *362 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99990,9 +99493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 requestBody: required: true content: @@ -100014,9 +99517,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *359 examples: - default: *709 + default: *707 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100041,9 +99544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 responses: '204': description: Response @@ -100072,9 +99575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -100100,9 +99603,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 x-github: @@ -100131,9 +99634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *705 - - *360 - - *363 + - *703 + - *358 + - *361 requestBody: required: true content: @@ -100165,9 +99668,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100193,8 +99696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -100220,9 +99723,9 @@ paths: application/json: schema: type: array - items: *364 + items: *362 examples: - default: *366 + default: *364 headers: Link: *39 x-github: @@ -100251,8 +99754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *705 - - *360 + - *703 + - *358 requestBody: required: true content: @@ -100284,9 +99787,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100310,7 +99813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *705 + - *703 - *17 - *19 responses: @@ -100320,9 +99823,9 @@ paths: application/json: schema: type: array - items: *283 + items: *281 examples: - default: *284 + default: *282 headers: Link: *39 x-github: @@ -100348,7 +99851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *705 + - *703 - name: role description: Filters members returned by their role in the team. in: query @@ -100371,7 +99874,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '404': *6 @@ -100399,8 +99902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '204': description: if user is a member @@ -100436,8 +99939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '204': description: Response @@ -100476,8 +99979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '204': description: Response @@ -100513,16 +100016,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '200': description: Response content: application/json: - schema: *372 + schema: *370 examples: - response-if-user-is-a-team-maintainer: *710 + response-if-user-is-a-team-maintainer: *708 '404': *6 x-github: githubCloudOnly: false @@ -100555,8 +100058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *705 - - *219 + - *703 + - *218 requestBody: required: false content: @@ -100581,9 +100084,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *370 examples: - response-if-users-membership-with-team-is-now-pending: *711 + response-if-users-membership-with-team-is-now-pending: *709 '403': description: Forbidden if team synchronization is set up '422': @@ -100617,8 +100120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *705 - - *219 + - *703 + - *218 responses: '204': description: Response @@ -100646,7 +100149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *705 + - *703 - *17 - *19 responses: @@ -100656,9 +100159,9 @@ paths: application/json: schema: type: array - items: *373 + items: *371 examples: - default: *712 + default: *710 headers: Link: *39 '404': *6 @@ -100684,16 +100187,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *705 - - *374 + - *703 + - *372 responses: '200': description: Response content: application/json: - schema: *373 + schema: *371 examples: - default: *713 + default: *711 '404': description: Not Found if project is not managed by this team x-github: @@ -100717,8 +100220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *705 - - *374 + - *703 + - *372 requestBody: required: false content: @@ -100785,8 +100288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *705 - - *374 + - *703 + - *372 responses: '204': description: Response @@ -100813,7 +100316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *705 + - *703 - *17 - *19 responses: @@ -100823,9 +100326,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 '404': *6 @@ -100855,15 +100358,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *705 - - *375 - - *376 + - *703 + - *373 + - *374 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *714 + schema: *712 examples: alternative-response-with-extra-repository-information: value: @@ -101014,9 +100517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *705 - - *375 - - *376 + - *703 + - *373 + - *374 requestBody: required: false content: @@ -101066,9 +100569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *705 - - *375 - - *376 + - *703 + - *373 + - *374 responses: '204': description: Response @@ -101097,15 +100600,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *705 + - *703 responses: '200': description: Response content: application/json: - schema: *377 + schema: *375 examples: - default: *378 + default: *376 '403': *29 '404': *6 x-github: @@ -101132,7 +100635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *705 + - *703 requestBody: required: true content: @@ -101189,7 +100692,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *375 examples: default: value: @@ -101220,7 +100723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *705 + - *703 - *17 - *19 responses: @@ -101230,9 +100733,9 @@ paths: application/json: schema: type: array - items: *286 + items: *284 examples: - response-if-child-teams-exist: *715 + response-if-child-teams-exist: *713 headers: Link: *39 '404': *6 @@ -101265,7 +100768,7 @@ paths: application/json: schema: oneOf: - - &717 + - &715 title: Private User description: Private User type: object @@ -101468,7 +100971,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *716 + - *714 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -101621,7 +101124,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: default: value: @@ -101700,7 +101203,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 '304': *37 '404': *6 '403': *29 @@ -101723,7 +101226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *219 + - *218 responses: '204': description: If the user is blocked @@ -101751,7 +101254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *219 + - *218 responses: '204': description: Response @@ -101775,7 +101278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *219 + - *218 responses: '204': description: Response @@ -101824,9 +101327,9 @@ paths: type: integer codespaces: type: array - items: *293 + items: *291 examples: - default: *294 + default: *292 '304': *37 '500': *99 '401': *25 @@ -101965,17 +101468,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '401': *25 '403': *29 '404': *6 @@ -102019,7 +101522,7 @@ paths: type: integer secrets: type: array - items: &718 + items: &716 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102059,7 +101562,7 @@ paths: - visibility - selected_repositories_url examples: - default: *488 + default: *486 headers: Link: *39 x-github: @@ -102129,13 +101632,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *207 + - *206 responses: '200': description: Response content: application/json: - schema: *718 + schema: *716 examples: default: value: @@ -102165,7 +101668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *207 + - *206 requestBody: required: true content: @@ -102210,7 +101713,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -102238,7 +101741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *207 + - *206 responses: '204': description: Response @@ -102263,7 +101766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *207 + - *206 responses: '200': description: Response @@ -102279,9 +101782,9 @@ paths: type: integer repositories: type: array - items: *197 + items: *196 examples: - default: *719 + default: *717 '401': *25 '403': *29 '404': *6 @@ -102306,7 +101809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *207 + - *206 requestBody: required: true content: @@ -102360,7 +101863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *207 + - *206 - name: repository_id in: path required: true @@ -102393,7 +101896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *207 + - *206 - name: repository_id in: path required: true @@ -102425,15 +101928,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '304': *37 '500': *99 '401': *25 @@ -102459,7 +101962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 requestBody: required: false content: @@ -102489,9 +101992,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '401': *25 '403': *29 '404': *6 @@ -102513,7 +102016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '202': *95 '304': *37 @@ -102542,13 +102045,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '202': description: Response content: application/json: - schema: &720 + schema: &718 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -102589,7 +102092,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &721 + default: &719 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -102621,7 +102124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *295 + - *293 - name: export_id in: path required: true @@ -102634,9 +102137,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *718 examples: - default: *721 + default: *719 '404': *6 x-github: githubCloudOnly: false @@ -102657,7 +102160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *295 + - *293 responses: '200': description: Response @@ -102673,9 +102176,9 @@ paths: type: integer machines: type: array - items: *722 + items: *720 examples: - default: *723 + default: *721 '304': *37 '500': *99 '401': *25 @@ -102704,7 +102207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *295 + - *293 requestBody: required: true content: @@ -102754,13 +102257,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *388 + repository: *386 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *486 - required: *487 + properties: *484 + required: *485 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -103534,15 +103037,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '304': *37 '500': *99 '400': *14 @@ -103574,15 +103077,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *295 + - *293 responses: '200': description: Response content: application/json: - schema: *293 + schema: *291 examples: - default: *485 + default: *483 '500': *99 '401': *25 '403': *29 @@ -103612,9 +103115,9 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: &736 + default: &734 value: - id: 197 name: hello_docker @@ -103715,7 +103218,7 @@ paths: application/json: schema: type: array - items: &724 + items: &722 title: Email description: Email type: object @@ -103780,9 +103283,9 @@ paths: application/json: schema: type: array - items: *724 + items: *722 examples: - default: &738 + default: &736 value: - email: octocat@github.com verified: true @@ -103857,7 +103360,7 @@ paths: application/json: schema: type: array - items: *724 + items: *722 examples: default: value: @@ -103967,7 +103470,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '304': *37 @@ -104000,7 +103503,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 '304': *37 @@ -104022,7 +103525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *219 + - *218 responses: '204': description: if the person is followed by the authenticated user @@ -104052,7 +103555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *219 + - *218 responses: '204': description: Response @@ -104077,7 +103580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *219 + - *218 responses: '204': description: Response @@ -104113,7 +103616,7 @@ paths: application/json: schema: type: array - items: &725 + items: &723 title: GPG Key description: A unique encryption key type: object @@ -104244,7 +103747,7 @@ paths: - subkeys - revoked examples: - default: &749 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -104329,9 +103832,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *723 examples: - default: &726 + default: &724 value: id: 3 name: Octocat's GPG Key @@ -104388,7 +103891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &727 + - &725 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -104400,9 +103903,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *723 examples: - default: *726 + default: *724 '404': *6 '304': *37 '403': *29 @@ -104425,7 +103928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *727 + - *725 responses: '204': description: Response @@ -104616,7 +104119,7 @@ paths: type: array items: *63 examples: - default: *728 + default: *726 headers: Link: *39 '404': *6 @@ -104641,7 +104144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *192 + - *191 responses: '204': description: Response @@ -104667,7 +104170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *192 + - *191 responses: '204': description: Response @@ -104701,12 +104204,12 @@ paths: application/json: schema: anyOf: - - *281 + - *279 - type: object properties: {} additionalProperties: false examples: - default: *282 + default: *280 '204': description: Response when there are no restrictions x-github: @@ -104730,7 +104233,7 @@ paths: required: true content: application/json: - schema: *559 + schema: *557 examples: default: value: @@ -104741,7 +104244,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *279 examples: default: value: @@ -104822,7 +104325,7 @@ paths: - closed - all default: open - - *290 + - *288 - name: sort description: What to sort results by. in: query @@ -104835,7 +104338,7 @@ paths: - comments default: created - *86 - - *144 + - *143 - *17 - *19 responses: @@ -104845,9 +104348,9 @@ paths: application/json: schema: type: array - items: *154 + items: *153 examples: - default: *291 + default: *289 headers: Link: *39 '404': *6 @@ -104880,7 +104383,7 @@ paths: application/json: schema: type: array - items: &729 + items: &727 title: Key description: Key type: object @@ -104977,9 +104480,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *727 examples: - default: &730 + default: &728 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105012,15 +104515,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *588 + - *586 responses: '200': description: Response content: application/json: - schema: *729 + schema: *727 examples: - default: *730 + default: *728 '404': *6 '304': *37 '403': *29 @@ -105043,7 +104546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *588 + - *586 responses: '204': description: Response @@ -105076,7 +104579,7 @@ paths: application/json: schema: type: array - items: &731 + items: &729 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -105133,7 +104636,7 @@ paths: - id - type - login - plan: *158 + plan: *157 required: - billing_cycle - next_billing_date @@ -105144,7 +104647,7 @@ paths: - account - plan examples: - default: &732 + default: &730 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -105206,9 +104709,9 @@ paths: application/json: schema: type: array - items: *731 + items: *729 examples: - default: *732 + default: *730 headers: Link: *39 '304': *37 @@ -105248,7 +104751,7 @@ paths: application/json: schema: type: array - items: *296 + items: *294 examples: default: value: @@ -105350,13 +104853,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *171 + - *170 responses: '200': description: Response content: application/json: - schema: *296 + schema: *294 examples: default: value: @@ -105414,7 +104917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *171 + - *170 requestBody: required: true content: @@ -105439,7 +104942,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *294 examples: default: value: @@ -105507,7 +105010,7 @@ paths: application/json: schema: type: array - items: *298 + items: *296 examples: default: value: @@ -105760,7 +105263,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *296 examples: default: value: @@ -105940,7 +105443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *299 + - *297 - name: exclude in: query required: false @@ -105953,7 +105456,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *296 examples: default: value: @@ -106147,7 +105650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *299 + - *297 responses: '302': description: Response @@ -106173,7 +105676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *299 + - *297 responses: '204': description: Response @@ -106202,8 +105705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *299 - - *733 + - *297 + - *731 responses: '204': description: Response @@ -106227,7 +105730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *299 + - *297 - *17 - *19 responses: @@ -106237,9 +105740,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 '404': *6 @@ -106276,7 +105779,7 @@ paths: type: array items: *58 examples: - default: *734 + default: *732 headers: Link: *39 '304': *37 @@ -106318,7 +105821,7 @@ paths: - docker - nuget - container - - *735 + - *733 - *19 - *17 responses: @@ -106328,10 +105831,10 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: *736 - '400': *737 + default: *734 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106351,16 +105854,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *307 - - *308 + - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *305 + schema: *303 examples: - default: &750 + default: &748 value: id: 40201 name: octo-name @@ -106473,8 +105976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *307 - - *308 + - *305 + - *306 responses: '204': description: Response @@ -106504,8 +106007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *307 - - *308 + - *305 + - *306 - name: token description: package token schema: @@ -106537,8 +106040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *307 - - *308 + - *305 + - *306 - *19 - *17 - name: state @@ -106558,7 +106061,7 @@ paths: application/json: schema: type: array - items: *309 + items: *307 examples: default: value: @@ -106607,15 +106110,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *307 + - *305 + - *306 - *308 - - *310 responses: '200': description: Response content: application/json: - schema: *309 + schema: *307 examples: default: value: @@ -106651,9 +106154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *307 + - *305 + - *306 - *308 - - *310 responses: '204': description: Response @@ -106683,9 +106186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *307 + - *305 + - *306 - *308 - - *310 responses: '204': description: Response @@ -106741,7 +106244,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: default: value: @@ -106813,9 +106316,9 @@ paths: application/json: schema: type: array - items: *724 + items: *722 examples: - default: *738 + default: *736 headers: Link: *39 '304': *37 @@ -106928,7 +106431,7 @@ paths: type: array items: *63 examples: - default: &745 + default: &743 summary: Default response value: - id: 1296269 @@ -107230,9 +106733,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *386 examples: - default: *390 + default: *388 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107270,9 +106773,9 @@ paths: application/json: schema: type: array - items: *561 + items: *559 examples: - default: *739 + default: *737 headers: Link: *39 '304': *37 @@ -107295,7 +106798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *285 + - *283 responses: '204': description: Response @@ -107318,7 +106821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *285 + - *283 responses: '204': description: Response @@ -107351,7 +106854,7 @@ paths: application/json: schema: type: array - items: &740 + items: &738 title: Social account description: Social media account type: object @@ -107366,7 +106869,7 @@ paths: - provider - url examples: - default: &741 + default: &739 value: - provider: twitter url: https://twitter.com/github @@ -107428,9 +106931,9 @@ paths: application/json: schema: type: array - items: *740 + items: *738 examples: - default: *741 + default: *739 '422': *15 '304': *37 '404': *6 @@ -107517,7 +107020,7 @@ paths: application/json: schema: type: array - items: &742 + items: &740 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -107537,7 +107040,7 @@ paths: - title - created_at examples: - default: &751 + default: &749 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107603,9 +107106,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *740 examples: - default: &743 + default: &741 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107636,7 +107139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &744 + - &742 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -107648,9 +107151,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *740 examples: - default: *743 + default: *741 '404': *6 '304': *37 '403': *29 @@ -107673,7 +107176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *744 + - *742 responses: '204': description: Response @@ -107702,7 +107205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &752 + - &750 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 @@ -107727,11 +107230,11 @@ paths: type: array items: *63 examples: - default-response: *745 + default-response: *743 application/vnd.github.v3.star+json: schema: type: array - items: &753 + items: &751 title: Starred Repository description: Starred Repository type: object @@ -107887,8 +107390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response if this repository is starred by you @@ -107916,8 +107419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -107941,8 +107444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *375 - - *376 + - *373 + - *374 responses: '204': description: Response @@ -107975,9 +107478,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 '304': *37 @@ -108014,7 +107517,7 @@ paths: application/json: schema: type: array - items: *356 + items: *354 examples: default: value: @@ -108092,7 +107595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *160 + - *159 responses: '200': description: Response @@ -108100,10 +107603,10 @@ paths: application/json: schema: oneOf: - - *717 - - *716 + - *715 + - *714 examples: - default-response: &747 + default-response: &745 summary: Default response value: login: octocat @@ -108138,7 +107641,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &748 + response-with-git-hub-plan-information: &746 summary: Response with GitHub plan information value: login: octocat @@ -108198,7 +107701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *746 + - *744 - *17 responses: '200': @@ -108209,7 +107712,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: example: ; rel="next" @@ -108239,7 +107742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *219 + - *218 responses: '200': description: Response @@ -108247,11 +107750,11 @@ paths: application/json: schema: oneOf: - - *717 - - *716 + - *715 + - *714 examples: - default-response: *747 - response-with-git-hub-plan-information: *748 + default-response: *745 + response-with-git-hub-plan-information: *746 '404': *6 x-github: githubCloudOnly: false @@ -108277,7 +107780,7 @@ paths: - *17 - *84 - *85 - - *219 + - *218 - name: subject_digest description: Subject Digest in: path @@ -108327,12 +107830,12 @@ paths: bundle_url: type: string examples: - default: *428 + default: *426 '201': description: Response content: application/json: - schema: *208 + schema: *207 examples: default: value: @@ -108358,7 +107861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *219 + - *218 responses: '200': description: Response @@ -108366,9 +107869,9 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: *736 + default: *734 '403': *29 '401': *25 x-github: @@ -108391,7 +107894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108401,7 +107904,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -108472,8 +107975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *219 - - *171 + - *218 + - *170 - *17 - *19 responses: @@ -108483,7 +107986,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -108562,7 +108065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108572,7 +108075,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -108639,7 +108142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108651,7 +108154,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -108670,7 +108173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108682,7 +108185,7 @@ paths: type: array items: *4 examples: - default: *292 + default: *290 headers: Link: *39 x-github: @@ -108701,7 +108204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *219 + - *218 - name: target_user in: path required: true @@ -108728,8 +108231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *219 - - *144 + - *218 + - *143 - *17 - *19 responses: @@ -108739,9 +108242,9 @@ paths: application/json: schema: type: array - items: *145 + items: *144 examples: - default: *146 + default: *145 headers: Link: *39 '422': *15 @@ -108762,7 +108265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108772,9 +108275,9 @@ paths: application/json: schema: type: array - items: *725 + items: *723 examples: - default: *749 + default: *747 headers: Link: *39 x-github: @@ -108798,7 +108301,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *219 + - *218 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -108870,7 +108373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *219 + - *218 responses: '200': description: Response @@ -108878,7 +108381,7 @@ paths: application/json: schema: *22 examples: - default: *558 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108896,7 +108399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108944,7 +108447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -108956,7 +108459,7 @@ paths: type: array items: *58 examples: - default: *734 + default: *732 headers: Link: *39 x-github: @@ -108995,8 +108498,8 @@ paths: - docker - nuget - container - - *735 - - *219 + - *733 + - *218 - *19 - *17 responses: @@ -109006,12 +108509,12 @@ paths: application/json: schema: type: array - items: *305 + items: *303 examples: - default: *736 + default: *734 '403': *29 '401': *25 - '400': *737 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109031,17 +108534,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *307 - - *308 - - *219 + - *305 + - *306 + - *218 responses: '200': description: Response content: application/json: - schema: *305 + schema: *303 examples: - default: *750 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109062,9 +108565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *307 - - *308 - - *219 + - *305 + - *306 + - *218 responses: '204': description: Response @@ -109096,9 +108599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *307 - - *308 - - *219 + - *305 + - *306 + - *218 - name: token description: package token schema: @@ -109130,9 +108633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *307 - - *308 - - *219 + - *305 + - *306 + - *218 responses: '200': description: Response @@ -109140,7 +108643,7 @@ paths: application/json: schema: type: array - items: *309 + items: *307 examples: default: value: @@ -109198,16 +108701,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *307 + - *305 + - *306 - *308 - - *310 - - *219 + - *218 responses: '200': description: Response content: application/json: - schema: *309 + schema: *307 examples: default: value: @@ -109242,10 +108745,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *307 + - *305 + - *306 + - *218 - *308 - - *219 - - *310 responses: '204': description: Response @@ -109277,10 +108780,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *307 + - *305 + - *306 + - *218 - *308 - - *219 - - *310 responses: '204': description: Response @@ -109306,7 +108809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *219 + - *218 - name: state description: Indicates the state of the projects to return. in: query @@ -109327,7 +108830,7 @@ paths: application/json: schema: type: array - items: *321 + items: *319 examples: default: value: @@ -109389,7 +108892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109399,7 +108902,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -109478,7 +108981,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109488,7 +108991,7 @@ paths: application/json: schema: type: array - items: *166 + items: *165 examples: default: value: @@ -109565,7 +109068,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *219 + - *218 - name: type description: Limit results to repositories of the specified type. in: query @@ -109608,9 +109111,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -109634,15 +109137,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *219 + - *218 responses: '200': description: Response content: application/json: - schema: *344 + schema: *342 examples: - default: *345 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109664,15 +109167,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *219 + - *218 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109694,15 +109197,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *219 + - *218 responses: '200': description: Response content: application/json: - schema: *350 + schema: *348 examples: - default: *351 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109720,7 +109223,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109730,9 +109233,9 @@ paths: application/json: schema: type: array - items: *740 + items: *738 examples: - default: *741 + default: *739 headers: Link: *39 x-github: @@ -109752,7 +109255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109762,9 +109265,9 @@ paths: application/json: schema: type: array - items: *742 + items: *740 examples: - default: *751 + default: *749 headers: Link: *39 x-github: @@ -109788,8 +109291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *219 - - *752 + - *218 + - *750 - *86 - *17 - *19 @@ -109801,11 +109304,11 @@ paths: schema: anyOf: - type: array - items: *753 + items: *751 - type: array items: *63 examples: - default-response: *745 + default-response: *743 headers: Link: *39 x-github: @@ -109824,7 +109327,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *219 + - *218 - *17 - *19 responses: @@ -109834,9 +109337,9 @@ paths: application/json: schema: type: array - items: *197 + items: *196 examples: - default: *311 + default: *309 headers: Link: *39 x-github: @@ -109964,7 +109467,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &754 + enterprise: &752 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -110022,7 +109525,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &755 + installation: &753 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -110041,7 +109544,7 @@ x-webhooks: required: - id - node_id - organization: &756 + organization: &754 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -110101,13 +109604,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &757 + repository: &755 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &794 + properties: &792 id: description: Unique identifier of the repository example: 42 @@ -110127,8 +109630,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *155 - required: *156 + properties: *154 + required: *155 nullable: true organization: title: Simple User @@ -110790,7 +110293,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &795 + required: &793 - archive_url - assignees_url - blobs_url @@ -110941,10 +110444,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -111020,11 +110523,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - rule: &758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: &756 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -111247,11 +110750,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - rule: *758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -111434,11 +110937,11 @@ x-webhooks: - everyone required: - from - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - rule: *758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -111509,7 +111012,7 @@ x-webhooks: required: true content: application/json: - schema: &761 + schema: &759 title: Exemption request cancellation event type: object properties: @@ -111517,11 +111020,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: &759 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: &757 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -111746,7 +111249,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &760 + items: &758 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -111854,7 +111357,7 @@ x-webhooks: required: true content: application/json: - schema: &762 + schema: &760 title: Exemption request completed event type: object properties: @@ -111862,11 +111365,11 @@ x-webhooks: type: string enum: - completed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: *759 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -111936,7 +111439,7 @@ x-webhooks: required: true content: application/json: - schema: &763 + schema: &761 title: Exemption request created event type: object properties: @@ -111944,11 +111447,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: *759 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -112018,7 +111521,7 @@ x-webhooks: required: true content: application/json: - schema: &764 + schema: &762 title: Exemption response dismissed event type: object properties: @@ -112026,12 +111529,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: *759 - exemption_response: *760 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -112103,7 +111606,7 @@ x-webhooks: required: true content: application/json: - schema: &765 + schema: &763 title: Exemption response submitted event type: object properties: @@ -112111,12 +111614,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - exemption_request: *759 - exemption_response: *760 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -112189,7 +111692,7 @@ x-webhooks: required: true content: application/json: - schema: *761 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112256,7 +111759,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112323,7 +111826,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112390,7 +111893,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112458,7 +111961,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112536,7 +112039,7 @@ x-webhooks: type: string enum: - completed - check_run: &767 + check_run: &765 title: CheckRun description: A check performed on the code of a given code change type: object @@ -112550,8 +112053,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 check_suite: description: A suite of checks performed on the code of a given code change @@ -112599,8 +112102,8 @@ x-webhooks: type: string pull_requests: type: array - items: *447 - repository: *197 + items: *445 + repository: *196 status: example: completed type: string @@ -112637,7 +112140,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *766 + deployment: *764 details_url: example: https://example.com type: string @@ -112687,7 +112190,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *447 + items: *445 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -112722,9 +112225,9 @@ x-webhooks: - output - app - pull_requests - installation: *755 - organization: *756 - repository: *757 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -113117,10 +112620,10 @@ x-webhooks: type: string enum: - created - check_run: *767 - installation: *755 - organization: *756 - repository: *757 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -113516,10 +113019,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *767 - installation: *755 - organization: *756 - repository: *757 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 requested_action: description: The action requested by the user. type: object @@ -113924,10 +113427,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *767 - installation: *755 - organization: *756 - repository: *757 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -114904,10 +114407,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -115577,10 +115080,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -116244,10 +115747,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -116410,7 +115913,7 @@ x-webhooks: required: - login - id - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116555,20 +116058,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &768 + commit_oid: &766 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: *754 - installation: *755 - organization: *756 - ref: &769 + enterprise: *752 + installation: *753 + organization: *754 + ref: &767 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: *757 + repository: *755 sender: *4 required: - action @@ -116730,7 +116233,7 @@ x-webhooks: required: - login - id - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116960,12 +116463,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *768 - enterprise: *754 - installation: *755 - organization: *756 - ref: *769 - repository: *757 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -117060,7 +116563,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117228,12 +116731,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *768 - enterprise: *754 - installation: *755 - organization: *756 - ref: *769 - repository: *757 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -117396,7 +116899,7 @@ x-webhooks: required: - login - id - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117562,12 +117065,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *768 - enterprise: *754 - installation: *755 - organization: *756 - ref: *769 - repository: *757 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -117664,7 +117167,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117832,16 +117335,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *757 + repository: *755 sender: *4 required: - action @@ -117935,7 +117438,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *460 + dismissed_comment: *458 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118075,12 +117578,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *768 - enterprise: *754 - installation: *755 - organization: *756 - ref: *769 - repository: *757 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -118337,10 +117840,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -118420,18 +117923,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *756 - pusher_type: &770 + organization: *754 + pusher_type: &768 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &771 + ref: &769 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -118441,7 +117944,7 @@ x-webhooks: enum: - tag - branch - repository: *757 + repository: *755 sender: *4 required: - ref @@ -118524,9 +118027,9 @@ x-webhooks: enum: - created definition: *114 - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -118611,9 +118114,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -118691,9 +118194,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *114 - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -118771,9 +118274,9 @@ x-webhooks: enum: - updated definition: *114 - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -118850,19 +118353,19 @@ x-webhooks: type: string enum: - updated - enterprise: *754 - installation: *755 - repository: *757 - organization: *756 + enterprise: *752 + installation: *753 + repository: *755 + organization: *754 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *323 + items: *321 old_property_values: type: array description: The old custom property values for the repository. - items: *323 + items: *321 required: - action - repository @@ -118938,18 +118441,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 - pusher_type: *770 - ref: *771 + enterprise: *752 + installation: *753 + organization: *754 + pusher_type: *768 + ref: *769 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *757 + repository: *755 sender: *4 required: - ref @@ -119033,11 +118536,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119121,11 +118624,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119209,11 +118712,11 @@ x-webhooks: type: string enum: - created - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119295,11 +118798,11 @@ x-webhooks: type: string enum: - dismissed - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119381,11 +118884,11 @@ x-webhooks: type: string enum: - fixed - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119468,11 +118971,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119554,11 +119057,11 @@ x-webhooks: type: string enum: - reopened - alert: *517 - installation: *755 - organization: *756 - enterprise: *754 - repository: *757 + alert: *515 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -119635,9 +119138,9 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - key: &772 + enterprise: *752 + installation: *753 + key: &770 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119673,8 +119176,8 @@ x-webhooks: - verified - created_at - read_only - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119751,11 +119254,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - key: *772 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + key: *770 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120316,12 +119819,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: &776 + workflow: &774 title: Workflow type: object nullable: true @@ -121047,13 +120550,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *523 + deployment: *521 pull_requests: type: array - items: *608 - repository: *757 - organization: *756 - installation: *755 + items: *606 + repository: *755 + organization: *754 + installation: *753 sender: *4 responses: '200': @@ -121124,7 +120627,7 @@ x-webhooks: type: string enum: - approved - approver: &773 + approver: &771 type: object properties: avatar_url: @@ -121167,11 +120670,11 @@ x-webhooks: type: string comment: type: string - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - reviewers: &774 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: &772 type: array items: type: object @@ -121250,7 +120753,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &775 + workflow_job_run: &773 type: object properties: conclusion: @@ -121981,18 +121484,18 @@ x-webhooks: type: string enum: - rejected - approver: *773 + approver: *771 comment: type: string - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - reviewers: *774 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: *772 sender: *4 since: type: string - workflow_job_run: *775 + workflow_job_run: *773 workflow_job_runs: type: array items: @@ -122696,13 +122199,13 @@ x-webhooks: type: string enum: - requested - enterprise: *754 + enterprise: *752 environment: type: string - installation: *755 - organization: *756 - repository: *757 - requestor: &781 + installation: *753 + organization: *754 + repository: *755 + requestor: &779 title: User type: object nullable: true @@ -124601,12 +124104,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *776 + workflow: *774 workflow_run: title: Deployment Workflow Run type: object @@ -125286,7 +124789,7 @@ x-webhooks: type: string enum: - answered - answer: &779 + answer: &777 type: object properties: author_association: @@ -125443,7 +124946,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &777 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -125729,7 +125232,7 @@ x-webhooks: - id labels: type: array - items: *570 + items: *568 required: - repository_url - category @@ -125751,10 +125254,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -125881,11 +125384,11 @@ x-webhooks: - from required: - category - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -125968,11 +125471,11 @@ x-webhooks: type: string enum: - closed - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126054,7 +125557,7 @@ x-webhooks: type: string enum: - created - comment: &778 + comment: &776 type: object properties: author_association: @@ -126211,11 +125714,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126298,12 +125801,12 @@ x-webhooks: type: string enum: - deleted - comment: *778 - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126398,12 +125901,12 @@ x-webhooks: - from required: - body - comment: *778 - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126487,11 +125990,11 @@ x-webhooks: type: string enum: - created - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126573,11 +126076,11 @@ x-webhooks: type: string enum: - deleted - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126677,11 +126180,11 @@ x-webhooks: type: string required: - from - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126763,10 +126266,10 @@ x-webhooks: type: string enum: - labeled - discussion: *777 - enterprise: *754 - installation: *755 - label: &780 + discussion: *775 + enterprise: *752 + installation: *753 + label: &778 title: Label type: object properties: @@ -126798,8 +126301,8 @@ x-webhooks: - color - default - description - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126882,11 +126385,11 @@ x-webhooks: type: string enum: - locked - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -126968,11 +126471,11 @@ x-webhooks: type: string enum: - pinned - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127054,11 +126557,11 @@ x-webhooks: type: string enum: - reopened - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127143,16 +126646,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *777 - new_repository: *757 + new_discussion: *775 + new_repository: *755 required: - new_discussion - new_repository - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127235,10 +126738,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *777 - old_answer: *779 - organization: *756 - repository: *757 + discussion: *775 + old_answer: *777 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127320,12 +126823,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *777 - enterprise: *754 - installation: *755 - label: *780 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127408,11 +126911,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127494,11 +126997,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *777 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -127570,7 +127073,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127636,7 +127139,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127702,7 +127205,7 @@ x-webhooks: required: true content: application/json: - schema: *761 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127768,7 +127271,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127834,7 +127337,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127900,7 +127403,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127966,7 +127469,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128033,7 +127536,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *754 + enterprise: *752 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -128693,9 +128196,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *755 - organization: *756 - repository: *757 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - forkee @@ -128841,9 +128344,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pages: description: The pages that were updated. type: array @@ -128880,7 +128383,7 @@ x-webhooks: - action - sha - html_url - repository: *757 + repository: *755 sender: *4 required: - pages @@ -128956,10 +128459,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: &782 + organization: *754 + repositories: &780 description: An array of repository objects that the installation can access. type: array @@ -128985,8 +128488,8 @@ x-webhooks: - name - full_name - private - repository: *757 - requester: *781 + repository: *755 + requester: *779 sender: *4 required: - action @@ -129061,11 +128564,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: *782 - repository: *757 + organization: *754 + repositories: *780 + repository: *755 requester: nullable: true sender: *4 @@ -129141,11 +128644,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: *782 - repository: *757 + organization: *754 + repositories: *780 + repository: *755 requester: nullable: true sender: *4 @@ -129221,10 +128724,10 @@ x-webhooks: type: string enum: - added - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories_added: &783 + organization: *754 + repositories_added: &781 description: An array of repository objects, which were added to the installation. type: array @@ -129270,15 +128773,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *757 - repository_selection: &784 + repository: *755 + repository_selection: &782 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *781 + requester: *779 sender: *4 required: - action @@ -129357,10 +128860,10 @@ x-webhooks: type: string enum: - removed - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories_added: *783 + organization: *754 + repositories_added: *781 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -129387,9 +128890,9 @@ x-webhooks: - name - full_name - private - repository: *757 - repository_selection: *784 - requester: *781 + repository: *755 + repository_selection: *782 + requester: *779 sender: *4 required: - action @@ -129468,11 +128971,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: *782 - repository: *757 + organization: *754 + repositories: *780 + repository: *755 requester: nullable: true sender: *4 @@ -129651,10 +129154,10 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 target_type: type: string @@ -129733,11 +129236,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *754 + enterprise: *752 installation: *22 - organization: *756 - repositories: *782 - repository: *757 + organization: *754 + repositories: *780 + repository: *755 requester: nullable: true sender: *4 @@ -129861,8 +129364,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *139 - required: *140 + properties: *138 + required: *139 reactions: title: Reactions type: object @@ -129989,8 +129492,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130813,7 +130316,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -131146,8 +130649,8 @@ x-webhooks: - state - locked - assignee - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131227,7 +130730,7 @@ x-webhooks: type: string enum: - deleted - comment: &785 + comment: &783 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -131392,8 +130895,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -132212,7 +131715,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -132547,8 +132050,8 @@ x-webhooks: - state - locked - assignee - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -132628,7 +132131,7 @@ x-webhooks: type: string enum: - edited - changes: &813 + changes: &811 description: The changes to the comment. type: object properties: @@ -132640,9 +132143,9 @@ x-webhooks: type: string required: - from - comment: *785 - enterprise: *754 - installation: *755 + comment: *783 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133464,7 +132967,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -133797,8 +133300,8 @@ x-webhooks: - state - locked - assignee - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -133880,10 +133383,10 @@ x-webhooks: type: string enum: - assigned - assignee: *781 - enterprise: *754 - installation: *755 - issue: &788 + assignee: *779 + enterprise: *752 + installation: *753 + issue: &786 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -134701,7 +134204,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -134802,8 +134305,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -134883,8 +134386,8 @@ x-webhooks: type: string enum: - closed - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135707,7 +135210,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -135943,8 +135446,8 @@ x-webhooks: required: - state - closed_at - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136023,8 +135526,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136836,7 +136339,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -136936,8 +136439,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137016,8 +136519,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137853,7 +137356,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -137932,7 +137435,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &786 + milestone: &784 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138070,8 +137573,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138170,8 +137673,8 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138986,7 +138489,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *287 + type: *285 title: description: Title of the issue type: string @@ -139090,9 +138593,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *780 - organization: *756 - repository: *757 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -139172,8 +138675,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139987,7 +139490,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *287 + type: *285 title: description: Title of the issue type: string @@ -140091,9 +139594,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *780 - organization: *756 - repository: *757 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140173,8 +139676,8 @@ x-webhooks: type: string enum: - locked - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141012,7 +140515,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *287 + type: *285 title: description: Title of the issue type: string @@ -141093,8 +140596,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141173,8 +140676,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142009,7 +141512,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -142087,9 +141590,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *786 - organization: *756 - repository: *757 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -143550,8 +143053,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144369,7 +143872,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -144469,8 +143972,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -144550,9 +144053,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *754 - installation: *755 - issue: &787 + enterprise: *752 + installation: *753 + issue: &785 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145364,7 +144867,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -145464,8 +144967,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145544,8 +145047,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146462,9 +145965,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *287 - organization: *756 - repository: *757 + type: *285 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147359,7 +146862,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -147927,11 +147430,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *754 - installation: *755 - issue: *787 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147951,6 +147454,91 @@ x-webhooks: - repository - organization - app + 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/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. + + 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 + 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 typed event + type: object + properties: + action: + type: string + enum: + - typed + enterprise: *752 + installation: *753 + issue: *786 + type: *285 + organization: *754 + repository: *755 + sender: *4 + required: + - action + - issue + - type + - 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-unassigned: post: summary: |- @@ -148012,7 +147600,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &816 + assignee: &814 title: User type: object nullable: true @@ -148082,11 +147670,11 @@ x-webhooks: required: - login - id - enterprise: *754 - installation: *755 - issue: *788 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + issue: *786 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148165,12 +147753,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *754 - installation: *755 - issue: *788 - label: *780 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + issue: *786 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148250,8 +147838,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149090,7 +148678,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *287 + type: *285 updated_at: type: string format: date-time @@ -149168,8 +148756,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149249,15 +148837,100 @@ x-webhooks: type: string enum: - unpinned - enterprise: *754 - installation: *755 - issue: *787 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 + sender: *4 + 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-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/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. + + 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/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 untyped event + type: object + properties: + action: + type: string + enum: + - untyped + enterprise: *752 + installation: *753 + issue: *786 + type: *285 + organization: *754 + repository: *755 sender: *4 required: - action - issue + - type - repository - sender responses: @@ -149332,11 +149005,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - label: *780 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149414,11 +149087,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - label: *780 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149528,11 +149201,11 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - label: *780 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149614,9 +149287,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *754 - installation: *755 - marketplace_purchase: &789 + enterprise: *752 + installation: *753 + marketplace_purchase: &787 title: Marketplace Purchase type: object required: @@ -149699,8 +149372,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *756 - previous_marketplace_purchase: &790 + organization: *754 + previous_marketplace_purchase: &788 title: Marketplace Purchase type: object properties: @@ -149780,7 +149453,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *757 + repository: *755 sender: *4 required: - action @@ -149860,10 +149533,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *754 - installation: *755 - marketplace_purchase: *789 - organization: *756 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149946,7 +149619,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *757 + repository: *755 sender: *4 required: - action @@ -150028,10 +149701,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *754 - installation: *755 - marketplace_purchase: *789 - organization: *756 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150113,7 +149786,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *757 + repository: *755 sender: *4 required: - action @@ -150194,8 +149867,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 marketplace_purchase: title: Marketplace Purchase type: object @@ -150277,9 +149950,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *756 - previous_marketplace_purchase: *790 - repository: *757 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -150359,12 +150032,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *754 - installation: *755 - marketplace_purchase: *789 - organization: *756 - previous_marketplace_purchase: *790 - repository: *757 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -150466,11 +150139,11 @@ x-webhooks: type: string required: - to - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -150570,11 +150243,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -150653,11 +150326,11 @@ x-webhooks: type: string enum: - removed - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -150735,11 +150408,11 @@ x-webhooks: type: string enum: - added - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150815,7 +150488,7 @@ x-webhooks: required: - login - id - team: &791 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -151005,11 +150678,11 @@ x-webhooks: type: string enum: - removed - enterprise: *754 - installation: *755 - member: *781 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151086,7 +150759,7 @@ x-webhooks: required: - login - id - team: *791 + team: *789 required: - action - scope @@ -151168,8 +150841,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *755 - merge_group: &793 + installation: *753 + merge_group: &791 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151188,15 +150861,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *792 + head_commit: *790 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151282,10 +150955,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *755 - merge_group: *793 - organization: *756 - repository: *757 + installation: *753 + merge_group: *791 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151358,7 +151031,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 + enterprise: *752 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151466,16 +151139,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *755 - organization: *756 + installation: *753 + organization: *754 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *794 - required: *795 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -151556,11 +151229,11 @@ x-webhooks: type: string enum: - closed - enterprise: *754 - installation: *755 - milestone: *786 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151639,9 +151312,9 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - milestone: &796 + enterprise: *752 + installation: *753 + milestone: &794 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151778,8 +151451,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151858,11 +151531,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - milestone: *786 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151972,11 +151645,11 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - milestone: *786 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152056,11 +151729,11 @@ x-webhooks: type: string enum: - opened - enterprise: *754 - installation: *755 - milestone: *796 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + milestone: *794 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152139,11 +151812,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *781 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152222,11 +151895,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *781 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152305,9 +151978,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - membership: &797 + enterprise: *752 + installation: *753 + membership: &795 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152399,8 +152072,8 @@ x-webhooks: - role - organization_url - user - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152478,11 +152151,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *754 - installation: *755 - membership: *797 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + membership: *795 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152561,8 +152234,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152678,10 +152351,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 - user: *781 + user: *779 required: - action - invitation @@ -152759,11 +152432,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *754 - installation: *755 - membership: *797 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + membership: *795 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152850,11 +152523,11 @@ x-webhooks: properties: from: type: string - enterprise: *754 - installation: *755 - membership: *797 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + membership: *795 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152930,9 +152603,9 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -153431,7 +153104,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &798 + items: &796 title: Ruby Gems metadata type: object properties: @@ -153526,7 +153199,7 @@ x-webhooks: - owner - package_version - registry - repository: *757 + repository: *755 sender: *4 required: - action @@ -153602,9 +153275,9 @@ x-webhooks: type: string enum: - updated - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -153957,7 +153630,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *798 + items: *796 source_url: type: string format: uri @@ -154027,7 +153700,7 @@ x-webhooks: - owner - package_version - registry - repository: *757 + repository: *755 sender: *4 required: - action @@ -154204,12 +153877,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *754 + enterprise: *752 id: type: integer - installation: *755 - organization: *756 - repository: *757 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - id @@ -154286,7 +153959,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &799 + personal_access_token_request: &797 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154432,10 +154105,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *754 - organization: *756 + enterprise: *752 + organization: *754 sender: *4 - installation: *755 + installation: *753 required: - action - personal_access_token_request @@ -154512,11 +154185,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *799 - enterprise: *754 - organization: *756 + personal_access_token_request: *797 + enterprise: *752 + organization: *754 sender: *4 - installation: *755 + installation: *753 required: - action - personal_access_token_request @@ -154592,11 +154265,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *799 - enterprise: *754 - organization: *756 + personal_access_token_request: *797 + enterprise: *752 + organization: *754 sender: *4 - installation: *755 + installation: *753 required: - action - personal_access_token_request @@ -154671,11 +154344,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *799 - organization: *756 - enterprise: *754 + personal_access_token_request: *797 + organization: *754 + enterprise: *752 sender: *4 - installation: *755 + installation: *753 required: - action - personal_access_token_request @@ -154780,7 +154453,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *800 + last_response: *798 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -154812,8 +154485,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 zen: description: Random string of GitHub zen. @@ -155058,10 +154731,10 @@ x-webhooks: - from required: - note - enterprise: *754 - installation: *755 - organization: *756 - project_card: &801 + enterprise: *752 + installation: *753 + organization: *754 + project_card: &799 title: Project Card type: object properties: @@ -155180,7 +154853,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *757 + repository: *755 sender: *4 required: - action @@ -155261,11 +154934,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - project_card: *801 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *799 + repository: *755 sender: *4 required: - action @@ -155345,9 +155018,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 project_card: title: Project Card type: object @@ -155475,8 +155148,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *794 - required: *795 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -155570,11 +155243,11 @@ x-webhooks: - from required: - note - enterprise: *754 - installation: *755 - organization: *756 - project_card: *801 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *799 + repository: *755 sender: *4 required: - action @@ -155668,9 +155341,9 @@ x-webhooks: - from required: - column_id - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 project_card: allOf: - title: Project Card @@ -155860,7 +155533,7 @@ x-webhooks: type: string required: - after_id - repository: *757 + repository: *755 sender: *4 required: - action @@ -155940,10 +155613,10 @@ x-webhooks: type: string enum: - closed - enterprise: *754 - installation: *755 - organization: *756 - project: &803 + enterprise: *752 + installation: *753 + organization: *754 + project: &801 title: Project type: object properties: @@ -156067,7 +155740,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *757 + repository: *755 sender: *4 required: - action @@ -156147,10 +155820,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - project_column: &802 + enterprise: *752 + installation: *753 + organization: *754 + project_column: &800 title: Project Column type: object properties: @@ -156189,7 +155862,7 @@ x-webhooks: - name - created_at - updated_at - repository: *757 + repository: *755 sender: *4 required: - action @@ -156268,18 +155941,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - project_column: *802 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *800 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *794 - required: *795 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -156369,11 +156042,11 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 - project_column: *802 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *800 + repository: *755 sender: *4 required: - action @@ -156453,11 +156126,11 @@ x-webhooks: type: string enum: - moved - enterprise: *754 - installation: *755 - organization: *756 - project_column: *802 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *800 + repository: *755 sender: *4 required: - action @@ -156537,11 +156210,11 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - project: *803 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project: *801 + repository: *755 sender: *4 required: - action @@ -156621,18 +156294,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - project: *803 + enterprise: *752 + installation: *753 + organization: *754 + project: *801 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *794 - required: *795 + properties: *792 + required: *793 nullable: true sender: *4 required: @@ -156734,11 +156407,11 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 - project: *803 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project: *801 + repository: *755 sender: *4 required: - action @@ -156817,11 +156490,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *754 - installation: *755 - organization: *756 - project: *803 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + project: *801 + repository: *755 sender: *4 required: - action @@ -156902,9 +156575,9 @@ x-webhooks: type: string enum: - closed - installation: *755 - organization: *756 - projects_v2: &804 + installation: *753 + organization: *754 + projects_v2: &802 title: Projects v2 Project description: A projects v2 project type: object @@ -157047,9 +156720,9 @@ x-webhooks: type: string enum: - created - installation: *755 - organization: *756 - projects_v2: *804 + installation: *753 + organization: *754 + projects_v2: *802 sender: *4 required: - action @@ -157130,9 +156803,9 @@ x-webhooks: type: string enum: - deleted - installation: *755 - organization: *756 - projects_v2: *804 + installation: *753 + organization: *754 + projects_v2: *802 sender: *4 required: - action @@ -157249,9 +156922,9 @@ x-webhooks: type: string to: type: string - installation: *755 - organization: *756 - projects_v2: *804 + installation: *753 + organization: *754 + projects_v2: *802 sender: *4 required: - action @@ -157334,7 +157007,7 @@ x-webhooks: type: string enum: - archived - changes: &808 + changes: &806 type: object properties: archived_at: @@ -157348,9 +157021,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *755 - organization: *756 - projects_v2_item: &805 + installation: *753 + organization: *754 + projects_v2_item: &803 title: Projects v2 Item description: An item belonging to a project type: object @@ -157484,9 +157157,9 @@ x-webhooks: nullable: true to: type: string - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157568,9 +157241,9 @@ x-webhooks: type: string enum: - created - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157651,9 +157324,9 @@ x-webhooks: type: string enum: - deleted - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157759,7 +157432,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &806 + - &804 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -157777,7 +157450,7 @@ x-webhooks: required: - id - name - - &807 + - &805 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -157800,8 +157473,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *806 - - *807 + - *804 + - *805 required: - field_value - type: object @@ -157817,9 +157490,9 @@ x-webhooks: nullable: true required: - body - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157914,9 +157587,9 @@ x-webhooks: to: type: string nullable: true - installation: *755 - organization: *756 - projects_v2_item: *805 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -157999,10 +157672,10 @@ x-webhooks: type: string enum: - restored - changes: *808 - installation: *755 - organization: *756 - projects_v2_item: *805 + changes: *806 + installation: *753 + organization: *754 + projects_v2_item: *803 sender: *4 required: - action @@ -158084,9 +157757,9 @@ x-webhooks: type: string enum: - reopened - installation: *755 - organization: *756 - projects_v2: *804 + installation: *753 + organization: *754 + projects_v2: *802 sender: *4 required: - action @@ -158167,9 +157840,9 @@ x-webhooks: type: string enum: - created - installation: *755 - organization: *756 - projects_v2_status_update: &809 + installation: *753 + organization: *754 + projects_v2_status_update: &807 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -158296,9 +157969,9 @@ x-webhooks: type: string enum: - deleted - installation: *755 - organization: *756 - projects_v2_status_update: *809 + installation: *753 + organization: *754 + projects_v2_status_update: *807 sender: *4 required: - action @@ -158434,9 +158107,9 @@ x-webhooks: type: string format: date nullable: true - installation: *755 - organization: *756 - projects_v2_status_update: *809 + installation: *753 + organization: *754 + projects_v2_status_update: *807 sender: *4 required: - action @@ -158507,10 +158180,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - repository @@ -158587,13 +158260,13 @@ x-webhooks: type: string enum: - assigned - assignee: *781 - enterprise: *754 - installation: *755 - number: &810 + assignee: *779 + enterprise: *752 + installation: *753 + number: &808 description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -160876,7 +160549,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -160958,11 +160631,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -163240,7 +162913,7 @@ x-webhooks: - draft reason: type: string - repository: *757 + repository: *755 sender: *4 required: - action @@ -163322,11 +162995,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -165604,7 +165277,7 @@ x-webhooks: - draft reason: type: string - repository: *757 + repository: *755 sender: *4 required: - action @@ -165686,13 +165359,13 @@ x-webhooks: type: string enum: - closed - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: &811 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: &809 allOf: - - *608 + - *606 - type: object properties: allow_auto_merge: @@ -165754,7 +165427,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *757 + repository: *755 sender: *4 required: - action @@ -165835,12 +165508,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -165920,11 +165593,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *754 - milestone: *591 - number: *810 - organization: *756 - pull_request: &812 + enterprise: *752 + milestone: *589 + number: *808 + organization: *754 + pull_request: &810 title: Pull Request type: object properties: @@ -168187,7 +167860,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -168266,11 +167939,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -170552,7 +170225,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *757 + repository: *755 sender: *4 required: - action @@ -170676,12 +170349,12 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -170761,11 +170434,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -173032,7 +172705,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -173112,11 +172785,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *754 - installation: *755 - label: *780 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + label: *778 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -175398,7 +175071,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -175479,10 +175152,10 @@ x-webhooks: type: string enum: - locked - enterprise: *754 - installation: *755 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -177762,7 +177435,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -177842,12 +177515,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *754 - milestone: *591 - number: *810 - organization: *756 - pull_request: *812 - repository: *757 + enterprise: *752 + milestone: *589 + number: *808 + organization: *754 + pull_request: *810 + repository: *755 sender: *4 required: - action @@ -177926,12 +177599,12 @@ x-webhooks: type: string enum: - opened - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -178012,12 +177685,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -178097,12 +177770,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *754 - installation: *755 - number: *810 - organization: *756 - pull_request: *811 - repository: *757 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 + pull_request: *809 + repository: *755 sender: *4 required: - action @@ -178468,9 +178141,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -180640,7 +180313,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *757 + repository: *755 sender: *4 required: - action @@ -180720,7 +180393,7 @@ x-webhooks: type: string enum: - deleted - comment: &814 + comment: &812 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -181005,9 +180678,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -183165,7 +182838,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *757 + repository: *755 sender: *4 required: - action @@ -183245,11 +182918,11 @@ x-webhooks: type: string enum: - edited - changes: *813 - comment: *814 - enterprise: *754 - installation: *755 - organization: *756 + changes: *811 + comment: *812 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -185410,7 +185083,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *757 + repository: *755 sender: *4 required: - action @@ -185491,9 +185164,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -187666,7 +187339,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 + repository: *755 review: description: The review that was affected. type: object @@ -187909,9 +187582,9 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -189965,8 +189638,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 - review: &815 + repository: *755 + review: &813 description: The review that was affected. type: object properties: @@ -190195,12 +189868,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -192483,7 +192156,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 requested_reviewer: title: User type: object @@ -192567,12 +192240,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -194862,7 +194535,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195054,12 +194727,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -197344,7 +197017,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 requested_reviewer: title: User type: object @@ -197429,12 +197102,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *754 - installation: *755 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *756 + organization: *754 pull_request: title: Pull Request type: object @@ -199710,7 +199383,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199891,9 +199564,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -202068,8 +201741,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 - review: *815 + repository: *755 + review: *813 sender: *4 required: - action @@ -202149,9 +201822,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -204221,7 +203894,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 + repository: *755 sender: *4 thread: type: object @@ -204604,9 +204277,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -206662,7 +206335,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *757 + repository: *755 sender: *4 thread: type: object @@ -207048,10 +206721,10 @@ x-webhooks: type: string before: type: string - enterprise: *754 - installation: *755 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -209322,7 +208995,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -209404,11 +209077,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *816 - enterprise: *754 - installation: *755 - number: *810 - organization: *756 + assignee: *814 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -211691,7 +211364,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -211770,11 +211443,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *754 - installation: *755 - label: *780 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + label: *778 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -214047,7 +213720,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -214128,10 +213801,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *754 - installation: *755 - number: *810 - organization: *756 + enterprise: *752 + installation: *753 + number: *808 + organization: *754 pull_request: title: Pull Request type: object @@ -216396,7 +216069,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *757 + repository: *755 sender: *4 required: - action @@ -216596,7 +216269,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *754 + enterprise: *752 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216688,8 +216361,8 @@ x-webhooks: - url - author - committer - installation: *755 - organization: *756 + installation: *753 + organization: *754 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217264,9 +216937,9 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -217712,7 +217385,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *798 + items: *796 summary: type: string tag_name: @@ -217766,7 +217439,7 @@ x-webhooks: - owner - package_version - registry - repository: *757 + repository: *755 sender: *4 required: - action @@ -217844,9 +217517,9 @@ x-webhooks: type: string enum: - updated - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -218154,7 +217827,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *798 + items: *796 summary: type: string tag_name: @@ -218203,7 +217876,7 @@ x-webhooks: - owner - package_version - registry - repository: *757 + repository: *755 sender: *4 required: - action @@ -218280,10 +217953,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - release: &817 + enterprise: *752 + installation: *753 + organization: *754 + release: &815 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -218588,7 +218261,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *757 + repository: *755 sender: *4 required: - action @@ -218665,11 +218338,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - release: *817 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + release: *815 + repository: *755 sender: *4 required: - action @@ -218786,11 +218459,11 @@ x-webhooks: type: boolean required: - to - enterprise: *754 - installation: *755 - organization: *756 - release: *817 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + release: *815 + repository: *755 sender: *4 required: - action @@ -218868,9 +218541,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -219179,7 +218852,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *757 + repository: *755 sender: *4 required: - action @@ -219255,10 +218928,10 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 - release: &818 + enterprise: *752 + installation: *753 + organization: *754 + release: &816 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219564,7 +219237,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *757 + repository: *755 sender: *4 required: - action @@ -219640,11 +219313,11 @@ x-webhooks: type: string enum: - released - enterprise: *754 - installation: *755 - organization: *756 - release: *817 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + release: *815 + repository: *755 sender: *4 required: - action @@ -219720,11 +219393,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *754 - installation: *755 - organization: *756 - release: *818 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + release: *816 + repository: *755 sender: *4 required: - action @@ -219800,11 +219473,11 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - repository_advisory: *665 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *663 sender: *4 required: - action @@ -219880,11 +219553,11 @@ x-webhooks: type: string enum: - reported - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - repository_advisory: *665 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *663 sender: *4 required: - action @@ -219960,10 +219633,10 @@ x-webhooks: type: string enum: - archived - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220040,10 +219713,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220121,10 +219794,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220208,10 +219881,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220323,10 +219996,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220398,10 +220071,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 status: type: string @@ -220482,10 +220155,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220562,10 +220235,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220659,10 +220332,10 @@ x-webhooks: - name required: - repository - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -220742,10 +220415,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *128 sender: *4 required: @@ -220824,10 +220497,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *128 sender: *4 required: @@ -220906,10 +220579,10 @@ x-webhooks: type: string enum: - edited - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *128 changes: type: object @@ -221214,10 +220887,10 @@ x-webhooks: - from required: - owner - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221295,10 +220968,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221376,7 +221049,7 @@ x-webhooks: type: string enum: - create - alert: &819 + alert: &817 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221497,10 +221170,10 @@ x-webhooks: type: string enum: - open - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221706,10 +221379,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221787,11 +221460,11 @@ x-webhooks: type: string enum: - reopen - alert: *819 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *817 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -221990,10 +221663,10 @@ x-webhooks: enum: - fixed - open - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222071,7 +221744,7 @@ x-webhooks: type: string enum: - created - alert: &820 + alert: &818 type: object properties: number: *100 @@ -222182,10 +221855,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222266,11 +221939,11 @@ x-webhooks: type: string enum: - created - alert: *820 - installation: *755 - location: *821 - organization: *756 - repository: *757 + alert: *818 + installation: *753 + location: *819 + organization: *754 + repository: *755 sender: *4 required: - location @@ -222508,11 +222181,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *820 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222590,11 +222263,11 @@ x-webhooks: type: string enum: - reopened - alert: *820 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222672,11 +222345,11 @@ x-webhooks: type: string enum: - resolved - alert: *820 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222754,11 +222427,11 @@ x-webhooks: type: string enum: - validated - alert: *820 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + alert: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -222884,10 +222557,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *757 - enterprise: *754 - installation: *755 - organization: *756 + repository: *755 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -222965,11 +222638,11 @@ x-webhooks: type: string enum: - published - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - security_advisory: &822 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: &820 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223152,11 +222825,11 @@ x-webhooks: type: string enum: - updated - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 - security_advisory: *822 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: *820 sender: *4 required: - action @@ -223229,10 +222902,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223416,11 +223089,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *326 - enterprise: *754 - installation: *755 - organization: *756 - repository: *388 + security_and_analysis: *324 + enterprise: *752 + installation: *753 + organization: *754 + repository: *386 sender: *4 required: - changes @@ -223498,12 +223171,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: &823 + sponsorship: &821 type: object properties: created_at: @@ -223804,12 +223477,12 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - sponsorship @@ -223897,12 +223570,12 @@ x-webhooks: type: string required: - from - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - changes @@ -223979,17 +223652,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &824 + effective_date: &822 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: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - sponsorship @@ -224063,7 +223736,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &825 + changes: &823 type: object properties: tier: @@ -224107,13 +223780,13 @@ x-webhooks: - from required: - tier - effective_date: *824 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + effective_date: *822 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - changes @@ -224190,13 +223863,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *825 - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + changes: *823 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *823 + sponsorship: *821 required: - action - changes @@ -224270,10 +223943,10 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224356,10 +224029,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224779,15 +224452,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *754 + enterprise: *752 id: description: The unique identifier of the status. type: integer - installation: *755 + installation: *753 name: type: string - organization: *756 - repository: *757 + organization: *754 + repository: *755 sender: *4 sha: description: The Commit SHA. @@ -224896,15 +224569,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *154 + parent_issue: *153 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *154 - installation: *755 - organization: *756 - repository: *757 + sub_issue: *153 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -224988,15 +224661,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *154 + parent_issue: *153 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *154 - installation: *755 - organization: *756 - repository: *757 + sub_issue: *153 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -225080,15 +224753,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *154 + sub_issue: *153 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *154 - installation: *755 - organization: *756 - repository: *757 + parent_issue: *153 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -225172,15 +224845,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *154 + sub_issue: *153 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *154 - installation: *755 - organization: *756 - repository: *757 + parent_issue: *153 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -225257,12 +224930,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - team: &826 + team: &824 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225452,9 +225125,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -225912,7 +225585,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - team @@ -225988,9 +225661,9 @@ x-webhooks: type: string enum: - created - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -226448,7 +226121,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - team @@ -226525,9 +226198,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -226985,7 +226658,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - team @@ -227129,9 +226802,9 @@ x-webhooks: - from required: - permissions - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -227589,7 +227262,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - changes @@ -227667,9 +227340,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *754 - installation: *755 - organization: *756 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -228127,7 +227800,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *826 + team: *824 required: - action - team @@ -228203,10 +227876,10 @@ x-webhooks: type: string enum: - started - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228279,16 +227952,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *754 + enterprise: *752 inputs: type: object nullable: true additionalProperties: true - installation: *755 - organization: *756 + installation: *753 + organization: *754 ref: type: string - repository: *757 + repository: *755 sender: *4 workflow: type: string @@ -228370,10 +228043,10 @@ x-webhooks: type: string enum: - completed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -228610,7 +228283,7 @@ x-webhooks: type: string required: - conclusion - deployment: *523 + deployment: *521 required: - action - repository @@ -228689,10 +228362,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -228952,7 +228625,7 @@ x-webhooks: required: - status - steps - deployment: *523 + deployment: *521 required: - action - repository @@ -229031,10 +228704,10 @@ x-webhooks: type: string enum: - queued - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -229169,7 +228842,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *523 + deployment: *521 required: - action - repository @@ -229248,10 +228921,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -229387,7 +229060,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *523 + deployment: *521 required: - action - repository @@ -229467,12 +229140,12 @@ x-webhooks: type: string enum: - completed - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *776 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -230471,12 +230144,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *776 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -231460,12 +231133,12 @@ x-webhooks: type: string enum: - requested - enterprise: *754 - installation: *755 - organization: *756 - repository: *757 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *776 + workflow: *774 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 807a63e8e0..ec88d85a92 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -6805,93 +6805,6 @@ } } }, - "/enterprises/{enterprise}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for enterprise members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nThe time zone in the response is in UTC time, that means that the cutoff time for the \"day\" is UTC time.\n\nOnly owners and billing managers can view Copilot usage metrics for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-enterprise" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -8887,96 +8800,6 @@ } } }, - "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-enterprise-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/enterprises/{enterprise}/{security_product}/{enablement}": { "post": { "summary": "Enable or disable a security feature", @@ -19586,93 +19409,6 @@ } } }, - "/orgs/{org}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for organization members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nOrganization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/credential-authorizations": { "get": { "summary": "List SAML SSO authorizations for an organization", @@ -29739,96 +29475,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for a team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -47494,7 +47140,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], @@ -89640,11 +89286,197 @@ } } }, - "issues-locked": { + "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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", + "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": { + "$ref": "#/components/schemas/webhook-issues-locked" + } + } + } + }, + "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-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/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 was added to a milestone.", + "operationId": "issues/milestoned", + "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": { + "$ref": "#/components/schemas/webhook-issues-milestoned" + } + } + } + }, + "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-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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "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/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -89711,7 +89543,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -89733,11 +89565,11 @@ } } }, - "issues-milestoned": { + "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/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 was added to a milestone.", - "operationId": "issues/milestoned", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -89804,7 +89636,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -89826,11 +89658,11 @@ } } }, - "issues-opened": { + "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/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 was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -89897,7 +89729,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -89919,11 +89751,11 @@ } } }, - "issues-pinned": { + "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/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 was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -89990,7 +89822,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -90012,11 +89844,11 @@ } } }, - "issues-reopened": { + "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/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": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90083,7 +89915,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -90105,11 +89937,11 @@ } } }, - "issues-transferred": { + "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/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 was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90176,7 +90008,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -90198,11 +90030,11 @@ } } }, - "issues-unassigned": { + "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/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": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90269,7 +90101,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -90291,11 +90123,11 @@ } } }, - "issues-unlabeled": { + "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/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": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90362,7 +90194,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -90384,11 +90216,11 @@ } } }, - "issues-unlocked": { + "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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90455,7 +90287,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -90477,11 +90309,11 @@ } } }, - "issues-unpinned": { + "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/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 was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "An issue type was removed from an issue.", + "operationId": "issues/untyped", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90548,7 +90380,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-untyped" } } } @@ -112728,95 +112560,6 @@ ], "additionalProperties": true }, - "copilot-usage-metrics": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -191705,6 +191448,46 @@ "sender" ] }, + "webhook-issues-typed": { + "title": "issues typed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "typed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "type": { + "$ref": "#/components/schemas/issue-type" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "type", + "repository", + "sender" + ] + }, "webhook-issues-unassigned": { "title": "issues unassigned event", "type": "object", @@ -193068,6 +192851,46 @@ "sender" ] }, + "webhook-issues-untyped": { + "title": "issues untyped event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "untyped" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "type": { + "$ref": "#/components/schemas/issue-type" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "type", + "repository", + "sender" + ] + }, "webhook-label-created": { "title": "label created event", "type": "object", @@ -286874,90 +286697,6 @@ } ] }, - "copilot-usage-metrics-enterprise": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 5000, - "total_acceptances_count": 3000, - "total_lines_suggested": 7000, - "total_lines_accepted": 3500, - "total_active_users": 15, - "total_chat_acceptances": 45, - "total_chat_turns": 350, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 3000, - "acceptances_count": 2000, - "lines_suggested": 3000, - "lines_accepted": 1500, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 1000, - "acceptances_count": 500, - "lines_suggested": 2000, - "lines_accepted": 1000, - "active_users": 5 - }, - { - "language": "javascript", - "editor": "vscode", - "suggestions_count": 1000, - "acceptances_count": 500, - "lines_suggested": 2000, - "lines_accepted": 1000, - "active_users": 5 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 5200, - "total_acceptances_count": 5100, - "total_lines_suggested": 5300, - "total_lines_accepted": 5000, - "total_active_users": 15, - "total_chat_acceptances": 57, - "total_chat_turns": 455, - "total_active_chat_users": 12, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 3100, - "acceptances_count": 3000, - "lines_suggested": 3200, - "lines_accepted": 3100, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 1100, - "acceptances_count": 1000, - "lines_suggested": 1200, - "lines_accepted": 1100, - "active_users": 5 - }, - { - "language": "javascript", - "editor": "vscode", - "suggestions_count": 1000, - "acceptances_count": 900, - "lines_suggested": 1100, - "lines_accepted": 1000, - "active_users": 5 - } - ] - } - ] - }, "dependabot-alerts-for-organization": { "value": [ { @@ -287916,90 +287655,6 @@ ] } }, - "copilot-usage-metrics-org": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - }, "public-events-items": { "value": [ { @@ -315895,15 +315550,6 @@ "type": "string" } }, - "team-slug": { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "enterprise-security-product": { "name": "security_product", "in": "path", @@ -316350,6 +315996,15 @@ "type": "string" } }, + "team-slug": { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "package-visibility": { "name": "visibility", "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index a2aac62b8b..1790dbbc46 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -4864,83 +4864,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/enterprises/{enterprise}/copilot/usage": - get: - summary: Get a summary of Copilot usage for enterprise members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, - and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - The time zone in the response is in UTC time, that means that the cutoff time for the "day" is UTC time. - - Only owners and billing managers can view Copilot usage metrics for the enterprise. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members - parameters: - - "$ref": "#/components/parameters/enterprise" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-enterprise" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -6299,85 +6222,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for an enterprise team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-enterprise-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/team-slug" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/enterprises/{enterprise}/{security_product}/{enablement}": post: summary: Enable or disable a security feature @@ -14221,81 +14065,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/copilot/usage": - get: - summary: Get a summary of Copilot usage for organization members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members - parameters: - - "$ref": "#/components/parameters/org" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/credential-authorizations": get: summary: List SAML SSO authorizations for an organization @@ -21560,85 +21329,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for a team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -34564,7 +34254,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: @@ -65366,6 +65056,72 @@ x-webhooks: - repository - organization - app + 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/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. + + 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 + 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: + "$ref": "#/components/schemas/webhook-issues-typed" + 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-unassigned: post: summary: |- @@ -65632,6 +65388,72 @@ x-webhooks: - 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/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. + + 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/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: + "$ref": "#/components/schemas/webhook-issues-untyped" + 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 label-created: post: summary: |- @@ -82099,89 +81921,6 @@ components: required: - date additionalProperties: true - copilot-usage-metrics: - title: Copilot Usage Metrics - description: Summary of Copilot usage. - type: object - properties: - day: - type: string - format: date - description: The date for which the usage metrics are reported, in `YYYY-MM-DD` - format. - total_suggestions_count: - type: integer - description: The total number of Copilot code completion suggestions shown - to users. - total_acceptances_count: - type: integer - description: The total number of Copilot code completion suggestions accepted - by users. - total_lines_suggested: - type: integer - description: The total number of lines of code completions suggested by - Copilot. - total_lines_accepted: - type: integer - description: The total number of lines of code completions accepted by users. - total_active_users: - type: integer - description: The total number of users who were shown Copilot code completion - suggestions during the day specified. - total_chat_acceptances: - type: integer - description: The total instances of users who accepted code suggested by - Copilot Chat in the IDE (panel and inline). - total_chat_turns: - type: integer - description: The total number of chat turns (prompt and response pairs) - sent between users and Copilot Chat in the IDE. - total_active_chat_users: - type: integer - description: The total number of users who interacted with Copilot Chat - in the IDE during the day specified. - breakdown: - type: array - description: Breakdown of Copilot code completions usage by language and - editor - nullable: true - items: - type: object - description: Breakdown of Copilot usage by editor for this language - additionalProperties: true - properties: - language: - type: string - description: The language in which Copilot suggestions were shown - to users in the specified editor. - editor: - type: string - description: The editor in which Copilot suggestions were shown to - users for the specified language. - suggestions_count: - type: integer - description: The number of Copilot suggestions shown to users in the - editor specified during the day specified. - acceptances_count: - type: integer - description: The number of Copilot suggestions accepted by users in - the editor specified during the day specified. - lines_suggested: - type: integer - description: The number of lines of code suggested by Copilot in the - editor specified during the day specified. - lines_accepted: - type: integer - description: The number of lines of code accepted by users in the - editor specified during the day specified. - active_users: - type: integer - description: The number of users who were shown Copilot completion - suggestions in the editor specified during the day specified. - required: - - day - - breakdown - additionalProperties: false dependabot-alert-package: type: object description: Details for the vulnerable package. @@ -141882,6 +141621,34 @@ components: - issue - repository - sender + webhook-issues-typed: + title: issues typed event + type: object + properties: + action: + type: string + enum: + - typed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + type: + "$ref": "#/components/schemas/issue-type" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - type + - repository + - sender webhook-issues-unassigned: title: issues unassigned event type: object @@ -142901,6 +142668,34 @@ components: - issue - repository - sender + webhook-issues-untyped: + title: issues untyped event + type: object + properties: + action: + type: string + enum: + - untyped + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + type: + "$ref": "#/components/schemas/issue-type" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - type + - repository + - sender webhook-label-created: title: label created event type: object @@ -214559,70 +214354,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - copilot-usage-metrics-enterprise: - value: - - day: '2023-10-15' - total_suggestions_count: 5000 - total_acceptances_count: 3000 - total_lines_suggested: 7000 - total_lines_accepted: 3500 - total_active_users: 15 - total_chat_acceptances: 45 - total_chat_turns: 350 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 3000 - acceptances_count: 2000 - lines_suggested: 3000 - lines_accepted: 1500 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 1000 - acceptances_count: 500 - lines_suggested: 2000 - lines_accepted: 1000 - active_users: 5 - - language: javascript - editor: vscode - suggestions_count: 1000 - acceptances_count: 500 - lines_suggested: 2000 - lines_accepted: 1000 - active_users: 5 - - day: '2023-10-16' - total_suggestions_count: 5200 - total_acceptances_count: 5100 - total_lines_suggested: 5300 - total_lines_accepted: 5000 - total_active_users: 15 - total_chat_acceptances: 57 - total_chat_turns: 455 - total_active_chat_users: 12 - breakdown: - - language: python - editor: vscode - suggestions_count: 3100 - acceptances_count: 3000 - lines_suggested: 3200 - lines_accepted: 3100 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 1100 - acceptances_count: 1000 - lines_suggested: 1200 - lines_accepted: 1100 - active_users: 5 - - language: javascript - editor: vscode - suggestions_count: 1000 - acceptances_count: 900 - lines_suggested: 1100 - lines_accepted: 1000 - active_users: 5 dependabot-alerts-for-organization: value: - number: 2 @@ -215380,70 +215111,6 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example - copilot-usage-metrics-org: - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 public-events-items: value: - id: '22249084947' @@ -239511,13 +239178,6 @@ components: required: true schema: type: string - team-slug: - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string enterprise-security-product: name: security_product in: path @@ -239891,6 +239551,13 @@ components: required: true schema: type: string + team-slug: + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string package-visibility: name: visibility description: |- diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 807a63e8e0..ec88d85a92 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -6805,93 +6805,6 @@ } } }, - "/enterprises/{enterprise}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for enterprise members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nThe time zone in the response is in UTC time, that means that the cutoff time for the \"day\" is UTC time.\n\nOnly owners and billing managers can view Copilot usage metrics for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-enterprise" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -8887,96 +8800,6 @@ } } }, - "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-enterprise-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/enterprises/{enterprise}/{security_product}/{enablement}": { "post": { "summary": "Enable or disable a security feature", @@ -19586,93 +19409,6 @@ } } }, - "/orgs/{org}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for organization members", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\nOrganization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/credential-authorizations": { "get": { "summary": "List SAML SSO authorizations for an organization", @@ -29739,96 +29475,6 @@ } } }, - "/orgs/{org}/team/{team_slug}/copilot/usage": { - "get": { - "summary": "Get a summary of Copilot usage for a team", - "description": "> [!NOTE]\n> This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/usage-metrics-for-team", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "name": "since", - "description": "Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "until", - "description": "Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/page" - }, - { - "name": "per_page", - "description": "The number of days of metrics to display per page (max 28). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 28 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/copilot-usage-metrics" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/copilot-usage-metrics-org" - } - } - } - } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-usage" - } - } - }, "/orgs/{org}/teams": { "get": { "summary": "List teams", @@ -47494,7 +47140,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], @@ -89640,11 +89286,197 @@ } } }, - "issues-locked": { + "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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", + "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": { + "$ref": "#/components/schemas/webhook-issues-locked" + } + } + } + }, + "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-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/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 was added to a milestone.", + "operationId": "issues/milestoned", + "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": { + "$ref": "#/components/schemas/webhook-issues-milestoned" + } + } + } + }, + "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-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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "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/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -89711,7 +89543,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -89733,11 +89565,11 @@ } } }, - "issues-milestoned": { + "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/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 was added to a milestone.", - "operationId": "issues/milestoned", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -89804,7 +89636,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -89826,11 +89658,11 @@ } } }, - "issues-opened": { + "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/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 was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -89897,7 +89729,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -89919,11 +89751,11 @@ } } }, - "issues-pinned": { + "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/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 was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -89990,7 +89822,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -90012,11 +89844,11 @@ } } }, - "issues-reopened": { + "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/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": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90083,7 +89915,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -90105,11 +89937,11 @@ } } }, - "issues-transferred": { + "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/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 was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90176,7 +90008,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -90198,11 +90030,11 @@ } } }, - "issues-unassigned": { + "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/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": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90269,7 +90101,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -90291,11 +90123,11 @@ } } }, - "issues-unlabeled": { + "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/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": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90362,7 +90194,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -90384,11 +90216,11 @@ } } }, - "issues-unlocked": { + "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/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": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90455,7 +90287,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -90477,11 +90309,11 @@ } } }, - "issues-unpinned": { + "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/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 was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "An issue type was removed from an issue.", + "operationId": "issues/untyped", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -90548,7 +90380,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-untyped" } } } @@ -112728,95 +112560,6 @@ ], "additionalProperties": true }, - "copilot-usage-metrics": { - "title": "Copilot Usage Metrics", - "description": "Summary of Copilot usage.", - "type": "object", - "properties": { - "day": { - "type": "string", - "format": "date", - "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." - }, - "total_suggestions_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." - }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." - }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." - }, - "total_lines_accepted": { - "type": "integer", - "description": "The total number of lines of code completions accepted by users." - }, - "total_active_users": { - "type": "integer", - "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." - }, - "total_chat_acceptances": { - "type": "integer", - "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." - }, - "total_chat_turns": { - "type": "integer", - "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." - }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." - }, - "breakdown": { - "type": "array", - "description": "Breakdown of Copilot code completions usage by language and editor", - "nullable": true, - "items": { - "type": "object", - "description": "Breakdown of Copilot usage by editor for this language", - "additionalProperties": true, - "properties": { - "language": { - "type": "string", - "description": "The language in which Copilot suggestions were shown to users in the specified editor." - }, - "editor": { - "type": "string", - "description": "The editor in which Copilot suggestions were shown to users for the specified language." - }, - "suggestions_count": { - "type": "integer", - "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." - }, - "acceptances_count": { - "type": "integer", - "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." - }, - "lines_suggested": { - "type": "integer", - "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." - }, - "lines_accepted": { - "type": "integer", - "description": "The number of lines of code accepted by users in the editor specified during the day specified." - }, - "active_users": { - "type": "integer", - "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." - } - } - } - } - }, - "required": [ - "day", - "breakdown" - ], - "additionalProperties": false - }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -191705,6 +191448,46 @@ "sender" ] }, + "webhook-issues-typed": { + "title": "issues typed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "typed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "type": { + "$ref": "#/components/schemas/issue-type" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "type", + "repository", + "sender" + ] + }, "webhook-issues-unassigned": { "title": "issues unassigned event", "type": "object", @@ -193068,6 +192851,46 @@ "sender" ] }, + "webhook-issues-untyped": { + "title": "issues untyped event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "untyped" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "type": { + "$ref": "#/components/schemas/issue-type" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "type", + "repository", + "sender" + ] + }, "webhook-label-created": { "title": "label created event", "type": "object", @@ -286874,90 +286697,6 @@ } ] }, - "copilot-usage-metrics-enterprise": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 5000, - "total_acceptances_count": 3000, - "total_lines_suggested": 7000, - "total_lines_accepted": 3500, - "total_active_users": 15, - "total_chat_acceptances": 45, - "total_chat_turns": 350, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 3000, - "acceptances_count": 2000, - "lines_suggested": 3000, - "lines_accepted": 1500, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 1000, - "acceptances_count": 500, - "lines_suggested": 2000, - "lines_accepted": 1000, - "active_users": 5 - }, - { - "language": "javascript", - "editor": "vscode", - "suggestions_count": 1000, - "acceptances_count": 500, - "lines_suggested": 2000, - "lines_accepted": 1000, - "active_users": 5 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 5200, - "total_acceptances_count": 5100, - "total_lines_suggested": 5300, - "total_lines_accepted": 5000, - "total_active_users": 15, - "total_chat_acceptances": 57, - "total_chat_turns": 455, - "total_active_chat_users": 12, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 3100, - "acceptances_count": 3000, - "lines_suggested": 3200, - "lines_accepted": 3100, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 1100, - "acceptances_count": 1000, - "lines_suggested": 1200, - "lines_accepted": 1100, - "active_users": 5 - }, - { - "language": "javascript", - "editor": "vscode", - "suggestions_count": 1000, - "acceptances_count": 900, - "lines_suggested": 1100, - "lines_accepted": 1000, - "active_users": 5 - } - ] - } - ] - }, "dependabot-alerts-for-organization": { "value": [ { @@ -287916,90 +287655,6 @@ ] } }, - "copilot-usage-metrics-org": { - "value": [ - { - "day": "2023-10-15", - "total_suggestions_count": 1000, - "total_acceptances_count": 800, - "total_lines_suggested": 1800, - "total_lines_accepted": 1200, - "total_active_users": 10, - "total_chat_acceptances": 32, - "total_chat_turns": 200, - "total_active_chat_users": 4, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 250, - "lines_suggested": 900, - "lines_accepted": 700, - "active_users": 5 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 400, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 400, - "acceptances_count": 350, - "lines_suggested": 500, - "lines_accepted": 200, - "active_users": 3 - } - ] - }, - { - "day": "2023-10-16", - "total_suggestions_count": 800, - "total_acceptances_count": 600, - "total_lines_suggested": 1100, - "total_lines_accepted": 700, - "total_active_users": 12, - "total_chat_acceptances": 57, - "total_chat_turns": 426, - "total_active_chat_users": 8, - "breakdown": [ - { - "language": "python", - "editor": "vscode", - "suggestions_count": 300, - "acceptances_count": 200, - "lines_suggested": 600, - "lines_accepted": 300, - "active_users": 2 - }, - { - "language": "python", - "editor": "jetbrains", - "suggestions_count": 300, - "acceptances_count": 150, - "lines_suggested": 300, - "lines_accepted": 250, - "active_users": 6 - }, - { - "language": "ruby", - "editor": "vscode", - "suggestions_count": 200, - "acceptances_count": 150, - "lines_suggested": 200, - "lines_accepted": 150, - "active_users": 3 - } - ] - } - ] - }, "public-events-items": { "value": [ { @@ -315895,15 +315550,6 @@ "type": "string" } }, - "team-slug": { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "enterprise-security-product": { "name": "security_product", "in": "path", @@ -316350,6 +315996,15 @@ "type": "string" } }, + "team-slug": { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "package-visibility": { "name": "visibility", "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index a2aac62b8b..1790dbbc46 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -4864,83 +4864,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/enterprises/{enterprise}/copilot/usage": - get: - summary: Get a summary of Copilot usage for enterprise members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, - and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - The time zone in the response is in UTC time, that means that the cutoff time for the "day" is UTC time. - - Only owners and billing managers can view Copilot usage metrics for the enterprise. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members - parameters: - - "$ref": "#/components/parameters/enterprise" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-enterprise" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -6299,85 +6222,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for an enterprise team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Owners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-enterprise-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/team-slug" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: true - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/enterprises/{enterprise}/{security_product}/{enablement}": post: summary: Enable or disable a security feature @@ -14221,81 +14065,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/copilot/usage": - get: - summary: Get a summary of Copilot usage for organization members - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members - parameters: - - "$ref": "#/components/parameters/org" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/credential-authorizations": get: summary: List SAML SSO authorizations for an organization @@ -21560,85 +21329,6 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics - "/orgs/{org}/team/{team_slug}/copilot/usage": - get: - summary: Get a summary of Copilot usage for a team - description: |- - > [!NOTE] - > This endpoint is closing down. It will be accessible throughout February 2025, but will not return any new data after February 1st. - - You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. - See the response schema tab for detailed metrics definitions. - - The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, - and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - they must have telemetry enabled in their IDE. - - > [!NOTE] - > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. - - Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. - - OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. - tags: - - copilot - operationId: copilot/usage-metrics-for-team - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/team-slug" - - name: since - description: Show usage metrics since this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). - Maximum value is 28 days ago. - in: query - required: false - schema: - type: string - - name: until - description: Show usage metrics until this date. This is a timestamp in [ISO - 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) - and should not preceed the `since` date if it is passed. - in: query - required: false - schema: - type: string - - "$ref": "#/components/parameters/page" - - name: per_page - description: The number of days of metrics to display per page (max 28). For - more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 28 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/copilot-usage-metrics" - examples: - default: - "$ref": "#/components/examples/copilot-usage-metrics-org" - '500': - "$ref": "#/components/responses/internal_error" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -34564,7 +34254,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: @@ -65366,6 +65056,72 @@ x-webhooks: - repository - organization - app + 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/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. + + 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 + 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: + "$ref": "#/components/schemas/webhook-issues-typed" + 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-unassigned: post: summary: |- @@ -65632,6 +65388,72 @@ x-webhooks: - 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/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. + + 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/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: + "$ref": "#/components/schemas/webhook-issues-untyped" + 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 label-created: post: summary: |- @@ -82099,89 +81921,6 @@ components: required: - date additionalProperties: true - copilot-usage-metrics: - title: Copilot Usage Metrics - description: Summary of Copilot usage. - type: object - properties: - day: - type: string - format: date - description: The date for which the usage metrics are reported, in `YYYY-MM-DD` - format. - total_suggestions_count: - type: integer - description: The total number of Copilot code completion suggestions shown - to users. - total_acceptances_count: - type: integer - description: The total number of Copilot code completion suggestions accepted - by users. - total_lines_suggested: - type: integer - description: The total number of lines of code completions suggested by - Copilot. - total_lines_accepted: - type: integer - description: The total number of lines of code completions accepted by users. - total_active_users: - type: integer - description: The total number of users who were shown Copilot code completion - suggestions during the day specified. - total_chat_acceptances: - type: integer - description: The total instances of users who accepted code suggested by - Copilot Chat in the IDE (panel and inline). - total_chat_turns: - type: integer - description: The total number of chat turns (prompt and response pairs) - sent between users and Copilot Chat in the IDE. - total_active_chat_users: - type: integer - description: The total number of users who interacted with Copilot Chat - in the IDE during the day specified. - breakdown: - type: array - description: Breakdown of Copilot code completions usage by language and - editor - nullable: true - items: - type: object - description: Breakdown of Copilot usage by editor for this language - additionalProperties: true - properties: - language: - type: string - description: The language in which Copilot suggestions were shown - to users in the specified editor. - editor: - type: string - description: The editor in which Copilot suggestions were shown to - users for the specified language. - suggestions_count: - type: integer - description: The number of Copilot suggestions shown to users in the - editor specified during the day specified. - acceptances_count: - type: integer - description: The number of Copilot suggestions accepted by users in - the editor specified during the day specified. - lines_suggested: - type: integer - description: The number of lines of code suggested by Copilot in the - editor specified during the day specified. - lines_accepted: - type: integer - description: The number of lines of code accepted by users in the - editor specified during the day specified. - active_users: - type: integer - description: The number of users who were shown Copilot completion - suggestions in the editor specified during the day specified. - required: - - day - - breakdown - additionalProperties: false dependabot-alert-package: type: object description: Details for the vulnerable package. @@ -141882,6 +141621,34 @@ components: - issue - repository - sender + webhook-issues-typed: + title: issues typed event + type: object + properties: + action: + type: string + enum: + - typed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + type: + "$ref": "#/components/schemas/issue-type" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - type + - repository + - sender webhook-issues-unassigned: title: issues unassigned event type: object @@ -142901,6 +142668,34 @@ components: - issue - repository - sender + webhook-issues-untyped: + title: issues untyped event + type: object + properties: + action: + type: string + enum: + - untyped + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + type: + "$ref": "#/components/schemas/issue-type" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - type + - repository + - sender webhook-label-created: title: label created event type: object @@ -214559,70 +214354,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - copilot-usage-metrics-enterprise: - value: - - day: '2023-10-15' - total_suggestions_count: 5000 - total_acceptances_count: 3000 - total_lines_suggested: 7000 - total_lines_accepted: 3500 - total_active_users: 15 - total_chat_acceptances: 45 - total_chat_turns: 350 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 3000 - acceptances_count: 2000 - lines_suggested: 3000 - lines_accepted: 1500 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 1000 - acceptances_count: 500 - lines_suggested: 2000 - lines_accepted: 1000 - active_users: 5 - - language: javascript - editor: vscode - suggestions_count: 1000 - acceptances_count: 500 - lines_suggested: 2000 - lines_accepted: 1000 - active_users: 5 - - day: '2023-10-16' - total_suggestions_count: 5200 - total_acceptances_count: 5100 - total_lines_suggested: 5300 - total_lines_accepted: 5000 - total_active_users: 15 - total_chat_acceptances: 57 - total_chat_turns: 455 - total_active_chat_users: 12 - breakdown: - - language: python - editor: vscode - suggestions_count: 3100 - acceptances_count: 3000 - lines_suggested: 3200 - lines_accepted: 3100 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 1100 - acceptances_count: 1000 - lines_suggested: 1200 - lines_accepted: 1100 - active_users: 5 - - language: javascript - editor: vscode - suggestions_count: 1000 - acceptances_count: 900 - lines_suggested: 1100 - lines_accepted: 1000 - active_users: 5 dependabot-alerts-for-organization: value: - number: 2 @@ -215380,70 +215111,6 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example - copilot-usage-metrics-org: - value: - - day: '2023-10-15' - total_suggestions_count: 1000 - total_acceptances_count: 800 - total_lines_suggested: 1800 - total_lines_accepted: 1200 - total_active_users: 10 - total_chat_acceptances: 32 - total_chat_turns: 200 - total_active_chat_users: 4 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 250 - lines_suggested: 900 - lines_accepted: 700 - active_users: 5 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 400 - lines_accepted: 300 - active_users: 2 - - language: ruby - editor: vscode - suggestions_count: 400 - acceptances_count: 350 - lines_suggested: 500 - lines_accepted: 200 - active_users: 3 - - day: '2023-10-16' - total_suggestions_count: 800 - total_acceptances_count: 600 - total_lines_suggested: 1100 - total_lines_accepted: 700 - total_active_users: 12 - total_chat_acceptances: 57 - total_chat_turns: 426 - total_active_chat_users: 8 - breakdown: - - language: python - editor: vscode - suggestions_count: 300 - acceptances_count: 200 - lines_suggested: 600 - lines_accepted: 300 - active_users: 2 - - language: python - editor: jetbrains - suggestions_count: 300 - acceptances_count: 150 - lines_suggested: 300 - lines_accepted: 250 - active_users: 6 - - language: ruby - editor: vscode - suggestions_count: 200 - acceptances_count: 150 - lines_suggested: 200 - lines_accepted: 150 - active_users: 3 public-events-items: value: - id: '22249084947' @@ -239511,13 +239178,6 @@ components: required: true schema: type: string - team-slug: - name: team_slug - description: The slug of the team name. - in: path - required: true - schema: - type: string enterprise-security-product: name: security_product in: path @@ -239891,6 +239551,13 @@ components: required: true schema: type: string + team-slug: + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string package-visibility: name: visibility description: |- diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index 14562d5a93..90bdf1e40b 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -216833,7 +216833,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index 40246d2855..68f0d2aa2a 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -52580,7 +52580,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json index 14562d5a93..90bdf1e40b 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json @@ -216833,7 +216833,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml index 40246d2855..68f0d2aa2a 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml @@ -52580,7 +52580,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: diff --git a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json index bc1ad258ed..b7f6e9f7da 100644 --- a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json +++ b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json @@ -36470,7 +36470,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "repos" ], diff --git a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml index 67e27ea014..8194972db1 100644 --- a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml +++ b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml @@ -26345,7 +26345,7 @@ paths: get: summary: List pull requests associated with a commit description: |- - Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. + Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit. To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. tags: diff --git a/descriptions/ghes-3.12/ghes-3.12.json b/descriptions/ghes-3.12/ghes-3.12.json index bc1ad258ed..b7f6e9f7da 100644 --- a/descriptions/ghes-3.12/ghes-3.12.json +++ b/descriptions/ghes-3.12/ghes-3.12.json @@ -36470,7 +36470,7 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { "get": { "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, it will return merged and open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", "tags": [ "rep{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}