diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 089f8bd909..90d93a7f8b 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -13419,93 +13419,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", @@ -22388,96 +22301,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", @@ -39497,7 +39320,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" ], @@ -78883,6 +78706,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.", @@ -79255,6 +79171,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.", @@ -106126,97 +106135,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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.", @@ -181623,6 +181541,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", @@ -183040,6 +182998,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", @@ -283738,90 +283736,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 9dfd008ebf..793337a9c0 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -9812,81 +9812,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 @@ -16243,85 +16168,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 @@ -28777,7 +28623,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: @@ -57156,6 +57002,72 @@ 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: |- @@ -57422,6 +57334,72 @@ 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: |- @@ -77076,90 +77054,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 - - 'null' - description: Breakdown of Copilot code completions usage by language and - editor - 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. @@ -132252,6 +132146,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 @@ -133298,6 +133220,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 @@ -209747,70 +209697,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 089f8bd909..90d93a7f8b 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -13419,93 +13419,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", @@ -22388,96 +22301,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", @@ -39497,7 +39320,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" ], @@ -78883,6 +78706,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.", @@ -79255,6 +79171,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.", @@ -106126,97 +106135,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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.", @@ -181623,6 +181541,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", @@ -183040,6 +182998,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", @@ -283738,90 +283736,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 9dfd008ebf..793337a9c0 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -9812,81 +9812,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 @@ -16243,85 +16168,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 @@ -28777,7 +28623,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: @@ -57156,6 +57002,72 @@ 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: |- @@ -57422,6 +57334,72 @@ 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: |- @@ -77076,90 +77054,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 - - 'null' - description: Breakdown of Copilot code completions usage by language and - editor - 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. @@ -132252,6 +132146,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 @@ -133298,6 +133220,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 @@ -209747,70 +209697,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 67663720b4..f767685a1e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -88306,366 +88306,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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", @@ -158215,375 +157855,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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", @@ -281636,7 +280907,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" ], @@ -886387,11 +885658,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" }, @@ -886458,114 +885729,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", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } - }, - "required": [ - "login", - "id" + "typed" ] }, "enterprise": { @@ -888016,6 +887186,73 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, "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.", @@ -889776,6 +889013,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] @@ -889800,11 +889038,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" }, @@ -889871,13 +889109,114 @@ "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", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" ] }, "enterprise": { @@ -890305,16 +889644,6708 @@ "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", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "App", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "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", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "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", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "App", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "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", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "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", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "label": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "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", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": [ + "object", + "null" + ], + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + } } }, "labels_url": { @@ -890322,7 +896353,10 @@ "format": "uri-template" }, "locked": { - "type": "boolean" + "type": "boolean", + "enum": [ + false + ] }, "milestone": { "title": "Milestone", @@ -890331,6 +896365,24 @@ "object", "null" ], + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], "properties": { "closed_at": { "type": [ @@ -890352,6 +896404,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -890429,8 +896485,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -890440,11 +896495,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "description": { "type": [ @@ -890500,25 +896551,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" @@ -890533,6 +896566,17 @@ "object", "null" ], + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], "properties": { "created_at": { "type": [ @@ -890597,9 +896641,7 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" + "workflow_run" ] } }, @@ -890634,6 +896676,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -890721,11 +896767,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -890854,8 +896896,7 @@ "type": "string", "enum": [ "read", - "write", - "admin" + "write" ] }, "organization_secrets": { @@ -890990,18 +897031,7 @@ ], "format": "date-time" } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] + } }, "pull_request": { "type": "object", @@ -891034,6 +897064,18 @@ "reactions": { "title": "Reactions", "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], "properties": { "+1": { "type": "integer" @@ -891066,19 +897108,7 @@ "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + } }, "repository_url": { "type": "string", @@ -891208,6 +897238,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -891286,8 +897320,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -891297,79 +897330,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", - "null" - ] - }, - "id": { - "type": "integer" - }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" + } } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] + } }, "organization": { "title": "Organization Simple", @@ -893155,11 +899118,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" }, @@ -893226,13 +899189,13 @@ "content": { "application/json": { "schema": { - "title": "issues unlocked event", + "title": "issues unpinned event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unlocked" + "unpinned" ] }, "enterprise": { @@ -893354,30 +899317,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": [ @@ -893398,10 +899337,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -893489,7 +899424,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -893499,10 +899438,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -893590,7 +899525,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -893652,19 +899591,7 @@ "type": "array", "items": { "title": "Label", - "type": [ - "object", - "null" - ], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], + "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -893694,7 +899621,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -893702,10 +899638,7 @@ "format": "uri-template" }, "locked": { - "type": "boolean", - "enum": [ - false - ] + "type": "boolean" }, "milestone": { "title": "Milestone", @@ -893714,24 +899647,6 @@ "object", "null" ], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], "properties": { "closed_at": { "type": [ @@ -893753,10 +899668,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -893844,7 +899755,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": [ @@ -893900,7 +899815,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" @@ -893915,17 +899848,6 @@ "object", "null" ], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": [ @@ -894025,10 +899947,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -894116,7 +900034,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -894380,7 +900302,18 @@ ], "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -894413,18 +900346,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -894457,7 +900378,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -894587,10 +900520,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -894679,9 +900608,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", @@ -896467,11 +902423,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" }, @@ -896538,13 +902494,13 @@ "content": { "application/json": { "schema": { - "title": "issues unpinned event", + "title": "issues untyped event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unpinned" + "untyped" ] }, "enterprise": { @@ -896763,7 +902719,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -896864,7 +902821,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -897094,7 +903052,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -897261,7 +903220,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -897516,7 +903477,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -897947,7 +903909,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -897988,6 +903951,73 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, "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.", @@ -899748,6 +905778,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 52984b6aae..4de1a97be7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1063,7 +1063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &561 + - &559 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8951,7 +8951,7 @@ paths: - direct - transitive - - security_advisory: &409 + security_advisory: &407 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9219,7 +9219,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &410 + auto_dismissed_at: &408 type: - string - 'null' @@ -9689,14 +9689,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &553 + state: &551 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: &554 + resolution: &552 type: - string - 'null' @@ -10254,7 +10254,7 @@ paths: milestone: anyOf: - type: 'null' - - &397 + - &395 title: Milestone description: A collection of related issues and pull requests. @@ -10571,7 +10571,7 @@ paths: - author_association - created_at - updated_at - comment: &456 + comment: &454 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11146,7 +11146,7 @@ paths: url: type: string format: uri - user: &584 + user: &582 title: Public User description: Public User type: object @@ -14503,14 +14503,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &265 + - &263 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &266 + - &264 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14581,7 +14581,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &277 + '301': &275 description: Moved permanently content: application/json: @@ -14603,7 +14603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &485 + - &483 name: all description: If `true`, show notifications marked as read. in: query @@ -14611,7 +14611,7 @@ paths: schema: type: boolean default: false - - &486 + - &484 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14621,7 +14621,7 @@ paths: type: boolean default: false - *64 - - &487 + - &485 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: @@ -15139,7 +15139,7 @@ paths: - url - subscription_url examples: - default: &488 + default: &486 value: - id: '1' repository: @@ -15760,7 +15760,7 @@ paths: - avatar_url - description examples: - default: &601 + default: &599 value: - login: github id: 1 @@ -16736,7 +16736,7 @@ paths: type: integer repository_cache_usages: type: array - items: &282 + items: &280 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17634,7 +17634,7 @@ paths: - all - local_only - selected - selected_actions_url: &288 + selected_actions_url: &286 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` @@ -17724,7 +17724,7 @@ paths: type: array items: *59 examples: - default: &595 + default: &593 value: total_count: 1 repositories: @@ -18052,7 +18052,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &290 type: object properties: default_workflow_permissions: &108 @@ -18103,7 +18103,7 @@ paths: required: false content: application/json: - schema: &293 + schema: &291 type: object properties: default_workflow_permissions: *108 @@ -18596,7 +18596,7 @@ paths: type: array items: *115 examples: - default: &587 + default: &585 value: total_count: 1 repositories: @@ -19243,7 +19243,7 @@ paths: application/json: schema: type: array - items: &294 + items: &292 title: Runner Application description: Runner Application type: object @@ -19268,7 +19268,7 @@ paths: - download_url - filename examples: - default: &295 + default: &293 value: - os: osx architecture: x64 @@ -19354,7 +19354,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &296 + '201': &294 description: Response content: application/json: @@ -19469,7 +19469,7 @@ paths: - token - expires_at examples: - default: &297 + default: &295 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -19508,7 +19508,7 @@ paths: application/json: schema: *119 examples: - default: &298 + default: &296 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -19542,7 +19542,7 @@ paths: application/json: schema: *117 examples: - default: &299 + default: &297 value: id: 23 name: MBP @@ -19767,7 +19767,7 @@ paths: - *90 - *116 responses: - '200': &300 + '200': &298 description: Response content: application/json: @@ -19824,7 +19824,7 @@ paths: parameters: - *90 - *116 - - &301 + - &299 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19956,7 +19956,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &311 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19991,7 +19991,7 @@ paths: - key_id - key examples: - default: &314 + default: &312 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20404,7 +20404,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *90 - - &287 + - &285 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)." @@ -20944,7 +20944,7 @@ paths: bundle_url: type: string examples: - default: &327 + default: &325 value: attestations: - bundle: @@ -21181,7 +21181,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *90 - - &352 + - &350 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`, @@ -21191,7 +21191,7 @@ paths: schema: &131 type: string description: The name of the tool used to generate the code scanning analysis. - - &353 + - &351 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 @@ -21215,7 +21215,7 @@ paths: be returned. in: query required: false - schema: &355 + schema: &353 type: string description: State of a code scanning alert. enum: @@ -21238,7 +21238,7 @@ paths: be returned. in: query required: false - schema: &356 + schema: &354 type: string description: Severity of a code scanning alert. enum: @@ -21264,7 +21264,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &357 + instances_url: &355 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -21286,7 +21286,7 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: &358 + dismissed_reason: &356 type: - string - 'null' @@ -21297,14 +21297,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &359 + dismissed_comment: &357 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &360 + rule: &358 type: object properties: id: @@ -21365,7 +21365,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &361 + tool: &359 type: object properties: name: *131 @@ -21376,15 +21376,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *132 - most_recent_instance: &362 + most_recent_instance: &360 type: object properties: - ref: &354 + ref: &352 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &372 + analysis_key: &370 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -21395,7 +21395,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &373 + category: &371 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -22674,7 +22674,7 @@ paths: machine: anyOf: - type: 'null' - - &385 + - &383 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -23626,7 +23626,7 @@ paths: - updated_at - visibility examples: - default: &386 + default: &384 value: total_count: 2 secrets: @@ -23664,7 +23664,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &385 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23699,7 +23699,7 @@ paths: - key_id - key examples: - default: &388 + default: &386 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23731,7 +23731,7 @@ paths: application/json: schema: *141 examples: - default: &390 + default: &388 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -25354,224 +25354,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: - - *90 - - 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: &248 - 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 - - 'null' - description: Breakdown of Copilot code completions usage by - language and editor - 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: &249 - 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': *140 - '401': *23 - '403': *27 - '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 @@ -25734,7 +25516,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &411 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -25753,7 +25535,7 @@ paths: - key_id - key examples: - default: &414 + default: &412 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27574,7 +27356,7 @@ paths: application/json: schema: *20 examples: - default: &452 + default: &450 value: id: 1 account: @@ -27802,7 +27584,7 @@ paths: required: true content: application/json: - schema: &453 + schema: &451 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -28665,7 +28447,7 @@ paths: application/json: schema: *187 examples: - default: &384 + default: &382 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -29903,7 +29685,7 @@ paths: parameters: - *90 - *194 - - &600 + - &598 name: repo_name description: repo_name parameter in: path @@ -30946,7 +30728,7 @@ paths: - nuget - container - *90 - - &602 + - &600 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30987,7 +30769,7 @@ paths: default: *201 '403': *27 '401': *23 - '400': &604 + '400': &602 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32864,7 +32646,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &274 + '410': &272 description: Gone content: application/json: @@ -33790,7 +33572,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &274 title: Full Repository description: Full Repository type: object @@ -34255,7 +34037,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &403 + code_of_conduct: &401 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -34369,7 +34151,7 @@ paths: - network_count - subscribers_count examples: - default: &278 + default: &276 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34890,7 +34672,7 @@ paths: - *90 - *17 - *19 - - &538 + - &536 name: targets description: | A comma-separated list of rule targets to filter by. @@ -35176,7 +34958,7 @@ paths: type: object description: A repository rule. oneOf: - - &516 + - &514 title: creation description: Only allow users with bypass permission to create matching refs. @@ -35188,7 +34970,7 @@ paths: type: string enum: - creation - - &517 + - &515 title: update description: Only allow users with bypass permission to update matching refs. @@ -35209,7 +34991,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &519 + - &517 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -35221,7 +35003,7 @@ paths: type: string enum: - deletion - - &520 + - &518 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -35233,7 +35015,7 @@ paths: type: string enum: - required_linear_history - - &521 + - &519 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -35311,7 +35093,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &522 + - &520 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -35335,7 +35117,7 @@ paths: type: string required: - required_deployment_environments - - &523 + - &521 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -35347,7 +35129,7 @@ paths: type: string enum: - required_signatures - - &524 + - &522 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -35411,7 +35193,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &525 + - &523 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -35459,7 +35241,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &526 + - &524 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -35471,7 +35253,7 @@ paths: type: string enum: - non_fast_forward - - &527 + - &525 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35507,7 +35289,7 @@ paths: required: - operator - pattern - - &528 + - &526 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -35543,7 +35325,7 @@ paths: required: - operator - pattern - - &529 + - &527 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -35579,7 +35361,7 @@ paths: required: - operator - pattern - - &530 + - &528 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -35615,7 +35397,7 @@ paths: required: - operator - pattern - - &531 + - &529 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35651,7 +35433,7 @@ paths: required: - operator - pattern - - &532 + - &530 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -35676,7 +35458,7 @@ paths: type: string required: - restricted_file_paths - - &533 + - &531 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -35700,7 +35482,7 @@ paths: maximum: 256 required: - max_file_path_length - - &534 + - &532 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -35723,7 +35505,7 @@ paths: type: string required: - restricted_file_extensions - - &535 + - &533 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -35748,7 +35530,7 @@ paths: maximum: 100 required: - max_file_size - - &536 + - &534 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35798,7 +35580,7 @@ paths: - repository_id required: - workflows - - &537 + - &535 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -36036,7 +35818,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *90 - - &539 + - &537 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 @@ -36051,7 +35833,7 @@ paths: in: query schema: type: string - - &540 + - &538 name: time_period description: |- The time period to filter by. @@ -36067,14 +35849,14 @@ paths: - week - month default: day - - &541 + - &539 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 - - &542 + - &540 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -36094,7 +35876,7 @@ paths: description: Response content: application/json: - schema: &543 + schema: &541 title: Rule Suites description: Response type: array @@ -36150,7 +35932,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &544 + default: &542 value: - id: 21 actor_id: 12 @@ -36194,7 +35976,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *90 - - &545 + - &543 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -36210,7 +35992,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &544 title: Rule Suite description: Response type: object @@ -36317,7 +36099,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &547 + default: &545 value: id: 21 actor_id: 12 @@ -36563,7 +36345,7 @@ paths: type: string format: date-time examples: - default: &549 + default: &547 value: - version_id: 3 actor: @@ -36616,7 +36398,7 @@ paths: description: Response content: application/json: - schema: &550 + schema: &548 allOf: - *231 - type: object @@ -36695,7 +36477,7 @@ paths: - *46 - *19 - *17 - - &551 + - &549 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 @@ -36705,7 +36487,7 @@ paths: required: false schema: type: string - - &552 + - &550 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 @@ -36797,7 +36579,7 @@ paths: application/json: schema: type: array - items: &559 + items: &557 description: A repository security advisory. type: object properties: @@ -37116,7 +36898,7 @@ paths: - private_fork additionalProperties: false examples: - default: &560 + default: &558 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37590,7 +37372,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &616 type: object properties: total_minutes_used: @@ -37660,7 +37442,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &619 + default: &617 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37696,7 +37478,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &618 type: object properties: total_gigabytes_bandwidth_used: @@ -37714,7 +37496,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &621 + default: &619 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37746,7 +37528,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &620 type: object properties: days_left_in_billing_cycle: @@ -37764,7 +37546,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &623 + default: &621 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -38216,79 +37998,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: - - *90 - - *195 - - 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: *248 - examples: - default: *249 - '500': *140 - '401': *23 - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -38407,7 +38116,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &248 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38787,7 +38496,7 @@ paths: - repos_count - organization examples: - default: &251 + default: &249 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38864,9 +38573,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -38951,16 +38660,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '201': description: Response content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '404': *6 '422': *15 '403': *27 @@ -39030,7 +38739,7 @@ paths: application/json: schema: type: array - items: &252 + items: &250 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -39141,7 +38850,7 @@ paths: - updated_at - url examples: - default: &574 + default: &572 value: - author: login: octocat @@ -39250,9 +38959,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: &253 + default: &251 value: author: login: octocat @@ -39326,7 +39035,7 @@ paths: parameters: - *90 - *195 - - &254 + - &252 name: discussion_number description: The number that identifies the discussion. in: path @@ -39338,9 +39047,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *253 + default: *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39364,7 +39073,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 requestBody: required: false content: @@ -39387,9 +39096,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: &575 + default: &573 value: author: login: octocat @@ -39461,7 +39170,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 responses: '204': description: Response @@ -39489,7 +39198,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 - *46 - *17 - *19 @@ -39500,7 +39209,7 @@ paths: application/json: schema: type: array - items: &255 + items: &253 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39580,7 +39289,7 @@ paths: - updated_at - url examples: - default: &576 + default: &574 value: - author: login: octocat @@ -39650,7 +39359,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 requestBody: required: true content: @@ -39672,9 +39381,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: &256 + default: &254 value: author: login: octocat @@ -39742,8 +39451,8 @@ paths: parameters: - *90 - *195 - - *254 - - &257 + - *252 + - &255 name: comment_number description: The number that identifies the comment. in: path @@ -39755,9 +39464,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39781,8 +39490,8 @@ paths: parameters: - *90 - *195 - - *254 - - *257 + - *252 + - *255 requestBody: required: true content: @@ -39804,9 +39513,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: &577 + default: &575 value: author: login: octocat @@ -39872,8 +39581,8 @@ paths: parameters: - *90 - *195 - - *254 - - *257 + - *252 + - *255 responses: '204': description: Response @@ -39901,8 +39610,8 @@ paths: parameters: - *90 - *195 - - *254 - - *257 + - *252 + - *255 - 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. @@ -39928,7 +39637,7 @@ paths: application/json: schema: type: array - items: &258 + items: &256 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39972,7 +39681,7 @@ paths: - content - created_at examples: - default: &260 + default: &258 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40024,8 +39733,8 @@ paths: parameters: - *90 - *195 - - *254 - - *257 + - *252 + - *255 requestBody: required: true content: @@ -40058,9 +39767,9 @@ paths: team discussion comment content: application/json: - schema: *258 + schema: *256 examples: - default: &259 + default: &257 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40089,9 +39798,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40116,9 +39825,9 @@ paths: parameters: - *90 - *195 - - *254 - - *257 - - &261 + - *252 + - *255 + - &259 name: reaction_id description: The unique identifier of the reaction. in: path @@ -40152,7 +39861,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 - 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. @@ -40178,9 +39887,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 x-github: @@ -40208,7 +39917,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 requestBody: required: true content: @@ -40240,16 +39949,16 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40274,8 +39983,8 @@ paths: parameters: - *90 - *195 - - *254 - - *261 + - *252 + - *259 responses: '204': description: Response @@ -40396,7 +40105,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &260 title: Team Membership description: Team Membership type: object @@ -40424,7 +40133,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &578 + response-if-user-is-a-team-maintainer: &576 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40487,9 +40196,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *260 examples: - response-if-users-membership-with-team-is-now-pending: &579 + response-if-users-membership-with-team-is-now-pending: &577 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40562,7 +40271,7 @@ paths: application/json: schema: type: array - items: &263 + items: &261 title: Team Project description: A team's access to a project. type: object @@ -40631,7 +40340,7 @@ paths: - updated_at - permissions examples: - default: &580 + default: &578 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40696,7 +40405,7 @@ paths: parameters: - *90 - *195 - - &264 + - &262 name: project_id description: The unique identifier of the project. in: path @@ -40708,9 +40417,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: &581 + default: &579 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40774,7 +40483,7 @@ paths: parameters: - *90 - *195 - - *264 + - *262 requestBody: required: false content: @@ -40843,7 +40552,7 @@ paths: parameters: - *90 - *195 - - *264 + - *262 responses: '204': description: Response @@ -40914,14 +40623,14 @@ paths: parameters: - *90 - *195 - - *265 - - *266 + - *263 + - *264 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &582 + schema: &580 title: Team Repository description: A team's access to a repository. type: object @@ -41564,8 +41273,8 @@ paths: parameters: - *90 - *195 - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -41612,8 +41321,8 @@ paths: parameters: - *90 - *195 - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -41650,7 +41359,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: &583 + response-if-child-teams-exist: &581 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41777,7 +41486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &267 + - &265 name: card_id description: The unique identifier of the card. in: path @@ -41789,7 +41498,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &266 title: Project Card description: Project cards represent a scope of work. type: object @@ -41864,7 +41573,7 @@ paths: - created_at - updated_at examples: - default: &269 + default: &267 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41920,7 +41629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *267 + - *265 requestBody: required: false content: @@ -41950,9 +41659,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 '304': *35 '403': *27 '401': *23 @@ -41979,7 +41688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *267 + - *265 responses: '204': description: Response @@ -42023,7 +41732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *267 + - *265 requestBody: required: true content: @@ -42136,7 +41845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &270 + - &268 name: column_id description: The unique identifier of the column. in: path @@ -42148,7 +41857,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &269 title: Project Column description: Project columns contain cards of work. type: object @@ -42202,7 +41911,7 @@ paths: - created_at - updated_at examples: - default: &272 + default: &270 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -42237,7 +41946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *270 + - *268 requestBody: required: true content: @@ -42262,9 +41971,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '304': *35 '403': *27 '401': *23 @@ -42289,7 +41998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *270 + - *268 responses: '204': description: Response @@ -42318,7 +42027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *270 + - *268 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -42339,7 +42048,7 @@ paths: application/json: schema: type: array - items: *268 + items: *266 examples: default: value: @@ -42398,7 +42107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *270 + - *268 requestBody: required: true content: @@ -42442,9 +42151,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 '304': *35 '403': *27 '401': *23 @@ -42500,7 +42209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *270 + - *268 requestBody: required: true content: @@ -42561,7 +42270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *264 + - *262 responses: '200': description: Response @@ -42569,7 +42278,7 @@ paths: application/json: schema: *216 examples: - default: &273 + default: &271 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42626,7 +42335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *264 + - *262 requestBody: required: false content: @@ -42677,7 +42386,7 @@ paths: application/json: schema: *216 examples: - default: *273 + default: *271 '404': description: Not Found if the authenticated user does not have access to the project @@ -42698,7 +42407,7 @@ paths: items: type: string '401': *23 - '410': *274 + '410': *272 '422': *7 x-github: githubCloudOnly: false @@ -42721,7 +42430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *264 + - *262 responses: '204': description: Delete Success @@ -42742,7 +42451,7 @@ paths: items: type: string '401': *23 - '410': *274 + '410': *272 '404': *6 x-github: githubCloudOnly: false @@ -42766,7 +42475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *264 + - *262 - 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 @@ -42823,7 +42532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *264 + - *262 - *128 requestBody: required: false @@ -42878,7 +42587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *264 + - *262 - *128 responses: '204': @@ -42910,7 +42619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *264 + - *262 - *128 responses: '200': @@ -42981,7 +42690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *264 + - *262 - *17 - *19 responses: @@ -42991,7 +42700,7 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: default: value: @@ -43029,7 +42738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *264 + - *262 requestBody: required: true content: @@ -43053,7 +42762,7 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: default: value: @@ -43117,7 +42826,7 @@ paths: resources: type: object properties: - core: &275 + core: &273 title: Rate Limit type: object properties: @@ -43134,20 +42843,20 @@ paths: - remaining - reset - used - graphql: *275 - search: *275 - code_search: *275 - source_import: *275 - integration_manifest: *275 - code_scanning_upload: *275 - actions_runner_registration: *275 - scim: *275 - dependency_snapshots: *275 - code_scanning_autofix: *275 + graphql: *273 + search: *273 + code_search: *273 + source_import: *273 + integration_manifest: *273 + code_scanning_upload: *273 + actions_runner_registration: *273 + scim: *273 + dependency_snapshots: *273 + code_scanning_autofix: *273 required: - core - search - rate: *275 + rate: *273 required: - rate - resources @@ -43251,14 +42960,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *276 + schema: *274 examples: default-response: summary: Default response @@ -43759,7 +43468,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *277 + '301': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43777,8 +43486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -44015,10 +43724,10 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 - '307': &279 + default: *276 + '307': &277 description: Temporary Redirect content: application/json: @@ -44047,8 +43756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -44070,7 +43779,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *279 + '307': *277 '404': *6 x-github: githubCloudOnly: false @@ -44093,11 +43802,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 - - &305 + - &303 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44120,7 +43829,7 @@ paths: type: integer artifacts: type: array - items: &280 + items: &278 title: Artifact description: An artifact type: object @@ -44215,7 +43924,7 @@ paths: - expires_at - updated_at examples: - default: &306 + default: &304 value: total_count: 2 artifacts: @@ -44276,9 +43985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *265 - - *266 - - &281 + - *263 + - *264 + - &279 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44290,7 +43999,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *278 examples: default: value: @@ -44328,9 +44037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *265 - - *266 - - *281 + - *263 + - *264 + - *279 responses: '204': description: Response @@ -44354,9 +44063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *265 - - *266 - - *281 + - *263 + - *264 + - *279 - name: archive_format in: path required: true @@ -44370,7 +44079,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': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44393,14 +44102,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *282 + schema: *280 examples: default: value: @@ -44426,11 +44135,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 - - &283 + - &281 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 @@ -44464,7 +44173,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &282 title: Repository actions caches description: Repository actions caches type: object @@ -44514,7 +44223,7 @@ paths: - total_count - actions_caches examples: - default: &285 + default: &283 value: total_count: 1 actions_caches: @@ -44546,23 +44255,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: - - *265 - - *266 + - *263 + - *264 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *283 + - *281 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *285 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44582,8 +44291,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: - - *265 - - *266 + - *263 + - *264 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44614,9 +44323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *265 - - *266 - - &286 + - *263 + - *264 + - &284 name: job_id description: The unique identifier of the job. in: path @@ -44628,7 +44337,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &307 title: Job description: Information of a job execution in a workflow run type: object @@ -44975,9 +44684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *265 - - *266 - - *286 + - *263 + - *264 + - *284 responses: '302': description: Response @@ -45005,9 +44714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *265 - - *266 - - *286 + - *263 + - *264 + - *284 requestBody: required: false content: @@ -45053,8 +44762,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Status response @@ -45104,8 +44813,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -45168,8 +44877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -45187,7 +44896,7 @@ paths: type: integer secrets: type: array - items: &311 + items: &309 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45208,7 +44917,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &310 value: total_count: 2 secrets: @@ -45241,9 +44950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *265 - - *266 - - *287 + - *263 + - *264 + - *285 - *19 responses: '200': @@ -45260,7 +44969,7 @@ paths: type: integer variables: type: array - items: &315 + items: &313 title: Actions Variable type: object properties: @@ -45294,7 +45003,7 @@ paths: - created_at - updated_at examples: - default: &316 + default: &314 value: total_count: 2 variables: @@ -45327,8 +45036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -45337,11 +45046,11 @@ paths: schema: type: object properties: - enabled: &289 + enabled: &287 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *104 - selected_actions_url: *288 + selected_actions_url: *286 required: - enabled examples: @@ -45368,8 +45077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -45380,7 +45089,7 @@ paths: schema: type: object properties: - enabled: *289 + enabled: *287 allowed_actions: *104 required: - enabled @@ -45410,14 +45119,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: &290 + schema: &288 type: object properties: access_level: @@ -45434,7 +45143,7 @@ paths: required: - access_level examples: - default: &291 + default: &289 value: access_level: organization x-github: @@ -45458,15 +45167,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: application/json: - schema: *290 + schema: *288 examples: - default: *291 + default: *289 responses: '204': description: Response @@ -45490,8 +45199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -45518,8 +45227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -45551,14 +45260,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *292 + schema: *290 examples: default: *110 x-github: @@ -45581,8 +45290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Success response @@ -45593,7 +45302,7 @@ paths: required: true content: application/json: - schema: *293 + schema: *291 examples: default: *110 x-github: @@ -45622,8 +45331,8 @@ paths: in: query schema: type: string - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -45667,8 +45376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -45676,9 +45385,9 @@ paths: application/json: schema: type: array - items: *294 + items: *292 examples: - default: *295 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45700,8 +45409,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -45744,7 +45453,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *296 + '201': *294 '404': *6 '422': *7 '409': *44 @@ -45775,8 +45484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '201': description: Response @@ -45784,7 +45493,7 @@ paths: application/json: schema: *119 examples: - default: *297 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45812,8 +45521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '201': description: Response @@ -45821,7 +45530,7 @@ paths: application/json: schema: *119 examples: - default: *298 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45843,8 +45552,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: - - *265 - - *266 + - *263 + - *264 - *116 responses: '200': @@ -45853,7 +45562,7 @@ paths: application/json: schema: *117 examples: - default: *299 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45874,8 +45583,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: - - *265 - - *266 + - *263 + - *264 - *116 responses: '204': @@ -45901,8 +45610,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: - - *265 - - *266 + - *263 + - *264 - *116 responses: '200': *121 @@ -45927,8 +45636,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: - - *265 - - *266 + - *263 + - *264 - *116 requestBody: required: true @@ -45977,8 +45686,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: - - *265 - - *266 + - *263 + - *264 - *116 requestBody: required: true @@ -46028,11 +45737,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: - - *265 - - *266 + - *263 + - *264 - *116 responses: - '200': *300 + '200': *298 '404': *6 x-github: githubCloudOnly: false @@ -46059,10 +45768,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: - - *265 - - *266 + - *263 + - *264 - *116 - - *301 + - *299 responses: '200': *121 '404': *6 @@ -46090,9 +45799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *265 - - *266 - - &319 + - *263 + - *264 + - &317 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. @@ -46100,7 +45809,7 @@ paths: required: false schema: type: string - - &320 + - &318 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46108,7 +45817,7 @@ paths: required: false schema: type: string - - &321 + - &319 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46117,7 +45826,7 @@ paths: required: false schema: type: string - - &322 + - &320 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 @@ -46144,7 +45853,7 @@ paths: - pending - *17 - *19 - - &323 + - &321 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)." @@ -46153,7 +45862,7 @@ paths: schema: type: string format: date-time - - &302 + - &300 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46162,13 +45871,13 @@ paths: schema: type: boolean default: false - - &324 + - &322 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &325 + - &323 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46191,7 +45900,7 @@ paths: type: integer workflow_runs: type: array - items: &303 + items: &301 title: Workflow Run description: An invocation of a workflow type: object @@ -46308,7 +46017,7 @@ paths: type: - array - 'null' - items: &344 + items: &342 title: Pull Request Minimal type: object properties: @@ -46435,7 +46144,7 @@ paths: head_commit: anyOf: - type: 'null' - - &348 + - &346 title: Simple Commit description: A commit. type: object @@ -46550,7 +46259,7 @@ paths: - workflow_url - pull_requests examples: - default: &326 + default: &324 value: total_count: 1 workflow_runs: @@ -46786,24 +46495,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *265 - - *266 - - &304 + - *263 + - *264 + - &302 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *302 + - *300 responses: '200': description: Response content: application/json: - schema: *303 + schema: *301 examples: - default: &307 + default: &305 value: id: 30433642 name: Build @@ -47044,9 +46753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '204': description: Response @@ -47069,9 +46778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '200': description: Response @@ -47199,9 +46908,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: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '201': description: Response @@ -47234,12 +46943,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 - *17 - *19 - - *305 + - *303 responses: '200': description: Response @@ -47255,9 +46964,9 @@ paths: type: integer artifacts: type: array - items: *280 + items: *278 examples: - default: *306 + default: *304 headers: Link: *57 x-github: @@ -47281,25 +46990,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *265 - - *266 - - *304 - - &308 + - *263 + - *264 + - *302 + - &306 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *302 + - *300 responses: '200': description: Response content: application/json: - schema: *303 + schema: *301 examples: - default: *307 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47322,10 +47031,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *265 - - *266 - - *304 - - *308 + - *263 + - *264 + - *302 + - *306 - *17 - *19 responses: @@ -47343,9 +47052,9 @@ paths: type: integer jobs: type: array - items: *309 + items: *307 examples: - default: &310 + default: &308 value: total_count: 1 jobs: @@ -47458,10 +47167,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *265 - - *266 - - *304 - - *308 + - *263 + - *264 + - *302 + - *306 responses: '302': description: Response @@ -47489,9 +47198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '202': description: Response @@ -47524,9 +47233,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: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 requestBody: required: true content: @@ -47593,9 +47302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '202': description: Response @@ -47628,9 +47337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 - 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 @@ -47660,9 +47369,9 @@ paths: type: integer jobs: type: array - items: *309 + items: *307 examples: - default: *310 + default: *308 headers: Link: *57 x-github: @@ -47687,9 +47396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '302': description: Response @@ -47716,9 +47425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '204': description: Response @@ -47745,9 +47454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '200': description: Response @@ -47816,7 +47525,7 @@ paths: items: type: object properties: - type: &422 + type: &420 type: string description: The type of reviewer. enum: @@ -47902,9 +47611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 requestBody: required: true content: @@ -47954,7 +47663,7 @@ paths: application/json: schema: type: array - items: &417 + items: &415 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -48066,7 +47775,7 @@ paths: - created_at - updated_at examples: - default: &418 + default: &416 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -48122,9 +47831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 requestBody: required: false content: @@ -48169,9 +47878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 requestBody: required: false content: @@ -48225,9 +47934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '200': description: Response @@ -48364,8 +48073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -48383,9 +48092,9 @@ paths: type: integer secrets: type: array - items: *311 + items: *309 examples: - default: *312 + default: *310 headers: Link: *57 x-github: @@ -48410,16 +48119,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *313 + schema: *311 examples: - default: *314 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48441,17 +48150,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '200': description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: &435 + default: &433 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48477,8 +48186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 requestBody: required: true @@ -48536,8 +48245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '204': @@ -48563,9 +48272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *265 - - *266 - - *287 + - *263 + - *264 + - *285 - *19 responses: '200': @@ -48582,9 +48291,9 @@ paths: type: integer variables: type: array - items: *315 + items: *313 examples: - default: *316 + default: *314 headers: Link: *57 x-github: @@ -48607,8 +48316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -48660,17 +48369,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 responses: '200': description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: &436 + default: &434 value: name: USERNAME value: octocat @@ -48696,8 +48405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 requestBody: required: true @@ -48740,8 +48449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 responses: '204': @@ -48767,8 +48476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -48786,7 +48495,7 @@ paths: type: integer workflows: type: array - items: &317 + items: &315 title: Workflow description: A GitHub Actions workflow type: object @@ -48904,9 +48613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *265 - - *266 - - &318 + - *263 + - *264 + - &316 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48921,7 +48630,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: default: value: @@ -48954,9 +48663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *265 - - *266 - - *318 + - *263 + - *264 + - *316 responses: '204': description: Response @@ -48981,9 +48690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *265 - - *266 - - *318 + - *263 + - *264 + - *316 responses: '204': description: Response @@ -49034,9 +48743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *265 - - *266 - - *318 + - *263 + - *264 + - *316 responses: '204': description: Response @@ -49063,19 +48772,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *265 - - *266 + - *263 + - *264 + - *316 + - *317 - *318 - *319 - *320 - - *321 - - *322 - *17 - *19 + - *321 + - *300 + - *322 - *323 - - *302 - - *324 - - *325 responses: '200': description: Response @@ -49091,9 +48800,9 @@ paths: type: integer workflow_runs: type: array - items: *303 + items: *301 examples: - default: *326 + default: *324 headers: Link: *57 x-github: @@ -49125,9 +48834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *265 - - *266 - - *318 + - *263 + - *264 + - *316 responses: '200': description: Response @@ -49188,8 +48897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *265 - - *266 + - *263 + - *264 - *46 - *17 - *37 @@ -49357,8 +49066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -49395,8 +49104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *265 - - *266 + - *263 + - *264 - name: assignee in: path required: true @@ -49432,8 +49141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -49545,8 +49254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *37 - *38 @@ -49600,7 +49309,7 @@ paths: bundle_url: type: string examples: - default: *327 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49620,8 +49329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -49629,7 +49338,7 @@ paths: application/json: schema: type: array - items: &328 + items: &326 title: Autolink reference description: An autolink reference. type: object @@ -49683,8 +49392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -49723,9 +49432,9 @@ paths: description: response content: application/json: - schema: *328 + schema: *326 examples: - default: &329 + default: &327 value: id: 1 key_prefix: TICKET- @@ -49756,9 +49465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *265 - - *266 - - &330 + - *263 + - *264 + - &328 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49770,9 +49479,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: *329 + default: *327 '404': *6 x-github: githubCloudOnly: false @@ -49792,9 +49501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *265 - - *266 - - *330 + - *263 + - *264 + - *328 responses: '204': description: Response @@ -49818,8 +49527,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response if Dependabot is enabled @@ -49869,8 +49578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -49891,8 +49600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -49912,8 +49621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *265 - - *266 + - *263 + - *264 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49951,7 +49660,7 @@ paths: - url protected: type: boolean - protection: &332 + protection: &330 title: Branch Protection description: Branch Protection type: object @@ -49994,7 +49703,7 @@ paths: required: - contexts - checks - enforce_admins: &335 + enforce_admins: &333 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -50011,7 +49720,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &337 + required_pull_request_reviews: &335 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -50095,7 +49804,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &334 + restrictions: &332 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -50420,9 +50129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *265 - - *266 - - &333 + - *263 + - *264 + - &331 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). @@ -50436,14 +50145,14 @@ paths: description: Response content: application/json: - schema: &343 + schema: &341 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &393 + commit: &391 title: Commit description: Commit type: object @@ -50482,7 +50191,7 @@ paths: author: anyOf: - type: 'null' - - &331 + - &329 title: Git User description: Metaproperties for Git author/committer information. @@ -50503,7 +50212,7 @@ paths: committer: anyOf: - type: 'null' - - *331 + - *329 message: type: string examples: @@ -50527,7 +50236,7 @@ paths: required: - sha - url - verification: &442 + verification: &440 title: Verification type: object properties: @@ -50607,7 +50316,7 @@ paths: type: integer files: type: array - items: &405 + items: &403 title: Diff Entry description: Diff Entry type: object @@ -50701,7 +50410,7 @@ paths: - self protected: type: boolean - protection: *332 + protection: *330 protection_url: type: string format: uri @@ -50810,7 +50519,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *277 + '301': *275 '404': *6 x-github: githubCloudOnly: false @@ -50832,15 +50541,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *332 + schema: *330 examples: default: value: @@ -51034,9 +50743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -51296,7 +51005,7 @@ paths: url: type: string format: uri - required_status_checks: &340 + required_status_checks: &338 title: Status Check Policy description: Status Check Policy type: object @@ -51455,7 +51164,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *334 + restrictions: *332 required_conversation_resolution: type: object properties: @@ -51567,9 +51276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -51594,17 +51303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: &336 + default: &334 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -51626,17 +51335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: *336 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51655,9 +51364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -51682,17 +51391,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: &338 + default: &336 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51788,9 +51497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -51888,9 +51597,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: *338 + default: *336 '422': *15 x-github: githubCloudOnly: false @@ -51911,9 +51620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -51940,17 +51649,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: &339 + default: &337 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51973,17 +51682,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: *339 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -52003,9 +51712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -52030,17 +51739,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *340 + schema: *338 examples: - default: &341 + default: &339 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -52066,9 +51775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52120,9 +51829,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *338 examples: - default: *341 + default: *339 '404': *6 '422': *15 x-github: @@ -52144,9 +51853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -52170,9 +51879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response @@ -52206,9 +51915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52275,9 +51984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52341,9 +52050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: content: application/json: @@ -52409,15 +52118,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *334 + schema: *332 examples: default: value: @@ -52508,9 +52217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -52533,9 +52242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response @@ -52545,7 +52254,7 @@ paths: type: array items: *5 examples: - default: &342 + default: &340 value: - id: 1 slug: octoapp @@ -52602,9 +52311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -52638,7 +52347,7 @@ paths: type: array items: *5 examples: - default: *342 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -52659,9 +52368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -52695,7 +52404,7 @@ paths: type: array items: *5 examples: - default: *342 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -52716,9 +52425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -52752,7 +52461,7 @@ paths: type: array items: *5 examples: - default: *342 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -52774,9 +52483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response @@ -52806,9 +52515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52867,9 +52576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52928,9 +52637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: content: application/json: @@ -52989,9 +52698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response @@ -53025,9 +52734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -53085,9 +52794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -53145,9 +52854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -53207,9 +52916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -53231,7 +52940,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *341 examples: default: value: @@ -53347,8 +53056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -53627,7 +53336,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &343 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53762,8 +53471,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *344 - deployment: &632 + items: *342 + deployment: &630 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -54050,9 +53759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *265 - - *266 - - &346 + - *263 + - *264 + - &344 name: check_run_id description: The unique identifier of the check run. in: path @@ -54064,9 +53773,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: &347 + default: &345 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -54166,9 +53875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *265 - - *266 - - *346 + - *263 + - *264 + - *344 requestBody: required: true content: @@ -54408,9 +54117,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *347 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54430,9 +54139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *265 - - *266 - - *346 + - *263 + - *264 + - *344 - *17 - *19 responses: @@ -54544,9 +54253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *265 - - *266 - - *346 + - *263 + - *264 + - *344 responses: '201': description: Response @@ -54590,8 +54299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -54613,7 +54322,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &349 + schema: &347 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -54695,7 +54404,7 @@ paths: type: - array - 'null' - items: *344 + items: *342 app: anyOf: - type: 'null' @@ -54711,7 +54420,7 @@ paths: - string - 'null' format: date-time - head_commit: *348 + head_commit: *346 latest_check_runs_count: type: integer check_runs_url: @@ -54739,7 +54448,7 @@ paths: - check_runs_url - pull_requests examples: - default: &350 + default: &348 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -55030,9 +54739,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *349 + schema: *347 examples: - default: *350 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55051,8 +54760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -55361,9 +55070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *265 - - *266 - - &351 + - *263 + - *264 + - &349 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -55375,9 +55084,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *347 examples: - default: *350 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55400,17 +55109,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *265 - - *266 - - *351 - - &400 + - *263 + - *264 + - *349 + - &398 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &401 + - &399 name: status description: Returns check runs with the specified `status`. in: query @@ -55449,9 +55158,9 @@ paths: type: integer check_runs: type: array - items: *345 + items: *343 examples: - default: &402 + default: &400 value: total_count: 1 check_runs: @@ -55553,9 +55262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *265 - - *266 - - *351 + - *263 + - *264 + - *349 responses: '201': description: Response @@ -55588,21 +55297,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *265 - - *266 - - *352 - - *353 + - *263 + - *264 + - *350 + - *351 - *19 - *17 - - &370 + - &368 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: *354 - - &371 + schema: *352 + - &369 name: pr description: The number of the pull request for the results you want to list. in: query @@ -55627,13 +55336,13 @@ paths: be returned. in: query required: false - schema: *355 + schema: *353 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *356 + schema: *354 responses: '200': description: Response @@ -55649,7 +55358,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *357 + instances_url: *355 state: *133 fixed_at: *129 dismissed_by: @@ -55657,11 +55366,11 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: *358 - dismissed_comment: *359 - rule: *360 - tool: *361 - most_recent_instance: *362 + dismissed_reason: *356 + dismissed_comment: *357 + rule: *358 + tool: *359 + most_recent_instance: *360 dismissal_approved_by: anyOf: - type: 'null' @@ -55781,7 +55490,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &363 + '403': &361 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55808,9 +55517,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *265 - - *266 - - &364 + - *263 + - *264 + - &362 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55824,7 +55533,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &363 type: object properties: number: *52 @@ -55832,7 +55541,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *357 + instances_url: *355 state: *133 fixed_at: *129 dismissed_by: @@ -55840,8 +55549,8 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: *358 - dismissed_comment: *359 + dismissed_reason: *356 + dismissed_comment: *357 rule: type: object properties: @@ -55903,8 +55612,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *361 - most_recent_instance: *362 + tool: *359 + most_recent_instance: *360 dismissal_approved_by: anyOf: - type: 'null' @@ -55997,7 +55706,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56017,9 +55726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 requestBody: required: true content: @@ -56034,8 +55743,8 @@ paths: enum: - open - dismissed - dismissed_reason: *358 - dismissed_comment: *359 + dismissed_reason: *356 + dismissed_comment: *357 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -56054,7 +55763,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *363 examples: default: value: @@ -56130,7 +55839,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &369 + '403': &367 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -56157,15 +55866,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: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 responses: '200': description: Response content: application/json: - schema: &366 + schema: &364 type: object properties: status: @@ -56192,13 +55901,13 @@ paths: - description - started_at examples: - default: &367 + default: &365 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &368 + '400': &366 description: Bad Request content: application/json: @@ -56209,7 +55918,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': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56234,29 +55943,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: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 responses: '200': description: OK content: application/json: - schema: *366 + schema: *364 examples: - default: *367 + default: *365 '202': description: Accepted content: application/json: - schema: *366 + schema: *364 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *368 + '400': *366 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -56288,9 +55997,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: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 requestBody: required: false content: @@ -56336,8 +56045,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *368 - '403': *369 + '400': *366 + '403': *367 '404': *6 '422': description: Unprocessable Entity @@ -56361,13 +56070,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 - *19 - *17 - - *370 - - *371 + - *368 + - *369 responses: '200': description: Response @@ -56375,7 +56084,7 @@ paths: application/json: schema: type: array - items: *362 + items: *360 examples: default: value: @@ -56414,7 +56123,7 @@ paths: end_column: 50 classifications: - source - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56448,25 +56157,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *265 - - *266 - - *352 - - *353 + - *263 + - *264 + - *350 + - *351 - *19 - *17 - - *371 + - *369 - 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: *354 + schema: *352 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &374 + schema: &372 type: string description: An identifier for the upload. examples: @@ -56488,23 +56197,23 @@ paths: application/json: schema: type: array - items: &375 + items: &373 type: object properties: - ref: *354 - commit_sha: &383 + ref: *352 + commit_sha: &381 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: *372 + analysis_key: *370 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *373 + category: *371 error: type: string examples: @@ -56529,8 +56238,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *374 - tool: *361 + sarif_id: *372 + tool: *359 deletable: type: boolean warning: @@ -56592,7 +56301,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56628,8 +56337,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: - - *265 - - *266 + - *263 + - *264 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56642,7 +56351,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: response: summary: application/json response @@ -56696,7 +56405,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56778,8 +56487,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: - - *265 - - *266 + - *263 + - *264 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56835,7 +56544,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': *369 + '403': *367 '404': *6 '503': *62 x-github: @@ -56857,8 +56566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -56866,7 +56575,7 @@ paths: application/json: schema: type: array - items: &376 + items: &374 title: CodeQL Database description: A CodeQL database. type: object @@ -56978,7 +56687,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': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -57007,8 +56716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - name: language in: path description: The language of the CodeQL database. @@ -57020,7 +56729,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *374 examples: default: value: @@ -57052,9 +56761,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': &407 + '302': &405 description: Found - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -57076,8 +56785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *265 - - *266 + - *263 + - *264 - name: language in: path description: The language of the CodeQL database. @@ -57087,7 +56796,7 @@ paths: responses: '204': description: Response - '403': *369 + '403': *367 '404': *6 '503': *62 x-github: @@ -57115,8 +56824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -57125,7 +56834,7 @@ paths: type: object additionalProperties: false properties: - language: &377 + language: &375 type: string description: The language targeted by the CodeQL query enum: @@ -57203,7 +56912,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &381 + schema: &379 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -57213,7 +56922,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *377 + query_language: *375 query_pack_url: type: string description: The download url for the query pack. @@ -57261,7 +56970,7 @@ paths: items: type: object properties: - repository: &378 + repository: &376 title: Repository Identifier description: Repository Identifier type: object @@ -57303,7 +57012,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &382 + analysis_status: &380 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57335,7 +57044,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &379 + access_mismatch_repos: &377 type: object properties: repository_count: @@ -57350,7 +57059,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: *378 + items: *376 required: - repository_count - repositories @@ -57373,8 +57082,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *379 - over_limit_repos: *379 + no_codeql_db_repos: *377 + over_limit_repos: *377 required: - access_mismatch_repos - not_found_repos @@ -57390,7 +57099,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &380 + value: &378 summary: Default response value: id: 1 @@ -57542,10 +57251,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *380 + value: *378 repository_lists: summary: Response for a successful variant analysis submission - value: *380 + value: *378 '404': *6 '422': description: Unable to process variant analysis submission @@ -57573,8 +57282,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: - - *265 - - *266 + - *263 + - *264 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57586,9 +57295,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *379 examples: - default: *380 + default: *378 '404': *6 '503': *62 x-github: @@ -57611,7 +57320,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: - - *265 + - *263 - name: repo in: path description: The name of the controller repository. @@ -57646,7 +57355,7 @@ paths: type: object properties: repository: *51 - analysis_status: *382 + analysis_status: *380 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -57771,8 +57480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -57854,7 +57563,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -57875,8 +57584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -57960,7 +57669,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *369 + '403': *367 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -58025,8 +57734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -58034,7 +57743,7 @@ paths: schema: type: object properties: - commit_sha: *383 + commit_sha: *381 ref: type: string description: |- @@ -58094,7 +57803,7 @@ paths: schema: type: object properties: - id: *374 + id: *372 url: type: string description: The REST API URL for checking the status of the upload. @@ -58108,7 +57817,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': *369 + '403': *367 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -58131,8 +57840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *265 - - *266 + - *263 + - *264 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -58180,7 +57889,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': *363 + '403': *361 '404': description: Not Found if the sarif id does not match any upload '503': *62 @@ -58205,8 +57914,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -58287,8 +57996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *265 - - *266 + - *263 + - *264 - 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 @@ -58416,8 +58125,8 @@ paths: parameters: - *17 - *19 - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -58731,8 +58440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -58798,7 +58507,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -58806,7 +58515,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '400': *14 '401': *23 '403': *27 @@ -58835,8 +58544,8 @@ paths: parameters: - *17 - *19 - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -58900,8 +58609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -58938,9 +58647,9 @@ paths: type: integer machines: type: array - items: *385 + items: *383 examples: - default: &590 + default: &588 value: total_count: 2 machines: @@ -58980,8 +58689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *265 - - *266 + - *263 + - *264 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59068,8 +58777,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: - - *265 - - *266 + - *263 + - *264 - 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 @@ -59138,8 +58847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -59157,7 +58866,7 @@ paths: type: integer secrets: type: array - items: &389 + items: &387 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -59178,7 +58887,7 @@ paths: - created_at - updated_at examples: - default: *386 + default: *384 headers: Link: *57 x-github: @@ -59201,16 +58910,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *387 + schema: *385 examples: - default: *388 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59230,17 +58939,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '200': description: Response content: application/json: - schema: *389 + schema: *387 examples: - default: *390 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59260,8 +58969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 requestBody: required: true @@ -59314,8 +59023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '204': @@ -59344,8 +59053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *265 - - *266 + - *263 + - *264 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59383,7 +59092,7 @@ paths: application/json: schema: type: array - items: &391 + items: &389 title: Collaborator description: Collaborator type: object @@ -59576,8 +59285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *265 - - *266 + - *263 + - *264 - *128 responses: '204': @@ -59620,8 +59329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *265 - - *266 + - *263 + - *264 - *128 requestBody: required: false @@ -59648,7 +59357,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &455 + schema: &453 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59869,8 +59578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *265 - - *266 + - *263 + - *264 - *128 responses: '204': @@ -59900,8 +59609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *265 - - *266 + - *263 + - *264 - *128 responses: '200': @@ -59922,7 +59631,7 @@ paths: user: anyOf: - type: 'null' - - *391 + - *389 required: - permission - role_name @@ -59976,8 +59685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -59987,7 +59696,7 @@ paths: application/json: schema: type: array - items: &392 + items: &390 title: Commit Comment description: Commit Comment type: object @@ -60045,7 +59754,7 @@ paths: - created_at - updated_at examples: - default: &395 + default: &393 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60104,17 +59813,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '200': description: Response content: application/json: - schema: *392 + schema: *390 examples: - default: &396 + default: &394 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60171,8 +59880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -60195,7 +59904,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *390 examples: default: value: @@ -60246,8 +59955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '204': @@ -60269,8 +59978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -60297,9 +60006,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 @@ -60320,8 +60029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -60354,16 +60063,16 @@ paths: description: Reaction exists content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Reaction created content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -60385,10 +60094,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *265 - - *266 + - *263 + - *264 - *73 - - *261 + - *259 responses: '204': description: Response @@ -60437,8 +60146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *265 - - *266 + - *263 + - *264 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60494,9 +60203,9 @@ paths: application/json: schema: type: array - items: *393 + items: *391 examples: - default: &503 + default: &501 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60590,9 +60299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *265 - - *266 - - &394 + - *263 + - *264 + - &392 name: commit_sha description: The SHA of the commit. in: path @@ -60664,9 +60373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *265 - - *266 - - *394 + - *263 + - *264 + - *392 - *17 - *19 responses: @@ -60676,9 +60385,9 @@ paths: application/json: schema: type: array - items: *392 + items: *390 examples: - default: *395 + default: *393 headers: Link: *57 x-github: @@ -60706,9 +60415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *265 - - *266 - - *394 + - *263 + - *264 + - *392 requestBody: required: true content: @@ -60743,9 +60452,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *390 examples: - default: *396 + default: *394 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60763,7 +60472,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: @@ -60773,9 +60482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *265 - - *266 - - *394 + - *263 + - *264 + - *392 - *17 - *19 responses: @@ -60785,7 +60494,7 @@ paths: application/json: schema: type: array - items: &494 + items: &492 title: Pull Request Simple description: Pull Request Simple type: object @@ -60905,7 +60614,7 @@ paths: milestone: anyOf: - type: 'null' - - *397 + - *395 active_lock_reason: type: - string @@ -61004,7 +60713,7 @@ paths: _links: type: object properties: - comments: &398 + comments: &396 title: Link description: Hypermedia Link type: object @@ -61013,13 +60722,13 @@ paths: type: string required: - href - commits: *398 - statuses: *398 - html: *398 - issue: *398 - review_comments: *398 - review_comment: *398 - self: *398 + commits: *396 + statuses: *396 + html: *396 + issue: *396 + review_comments: *396 + review_comment: *396 + self: *396 required: - comments - commits @@ -61030,7 +60739,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: &496 + auto_merge: &494 title: Auto merge description: The status of auto merging a pull request. type: @@ -61095,7 +60804,7 @@ paths: - author_association - auto_merge examples: - default: &495 + default: &493 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61632,11 +61341,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *265 - - *266 + - *263 + - *264 - *19 - *17 - - &399 + - &397 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)" @@ -61651,9 +61360,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *391 examples: - default: &482 + default: &480 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61766,11 +61475,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *265 - - *266 + - *263 + - *264 + - *397 + - *398 - *399 - - *400 - - *401 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61804,9 +61513,9 @@ paths: type: integer check_runs: type: array - items: *345 + items: *343 examples: - default: *402 + default: *400 headers: Link: *57 x-github: @@ -61831,9 +61540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *265 - - *266 - - *399 + - *263 + - *264 + - *397 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -61841,7 +61550,7 @@ paths: schema: type: integer example: 1 - - *400 + - *398 - *17 - *19 responses: @@ -61859,7 +61568,7 @@ paths: type: integer check_suites: type: array - items: *349 + items: *347 examples: default: value: @@ -62059,9 +61768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *265 - - *266 - - *399 + - *263 + - *264 + - *397 - *17 - *19 responses: @@ -62263,9 +61972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *265 - - *266 - - *399 + - *263 + - *264 + - *397 - *17 - *19 responses: @@ -62275,7 +61984,7 @@ paths: application/json: schema: type: array - items: &564 + items: &562 title: Status description: The status of a commit. type: object @@ -62356,7 +62065,7 @@ paths: site_admin: false headers: Link: *57 - '301': *277 + '301': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62384,8 +62093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -62418,11 +62127,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *403 + - *401 code_of_conduct_file: anyOf: - type: 'null' - - &404 + - &402 title: Community Health File type: object properties: @@ -62442,19 +62151,19 @@ paths: contributing: anyOf: - type: 'null' - - *404 + - *402 readme: anyOf: - type: 'null' - - *404 + - *402 issue_template: anyOf: - type: 'null' - - *404 + - *402 pull_request_template: anyOf: - type: 'null' - - *404 + - *402 required: - code_of_conduct - code_of_conduct_file @@ -62583,8 +62292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *265 - - *266 + - *263 + - *264 - *19 - *17 - name: basehead @@ -62632,8 +62341,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *393 - merge_base_commit: *393 + base_commit: *391 + merge_base_commit: *391 status: type: string enum: @@ -62657,10 +62366,10 @@ paths: - 6 commits: type: array - items: *393 + items: *391 files: type: array - items: *405 + items: *403 required: - url - html_url @@ -62946,8 +62655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *265 - - *266 + - *263 + - *264 - name: path description: path parameter in: path @@ -63098,7 +62807,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &406 + response-if-content-is-a-file: &404 summary: Response if content is a file value: type: file @@ -63235,7 +62944,7 @@ paths: - size - type - url - - &508 + - &506 title: Content File description: Content File type: object @@ -63453,7 +63162,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *406 + response-if-content-is-a-file: *404 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63522,7 +63231,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *407 + '302': *405 '304': *35 x-github: githubCloudOnly: false @@ -63545,8 +63254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *265 - - *266 + - *263 + - *264 - name: path description: path parameter in: path @@ -63641,7 +63350,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &406 title: File Commit description: File Commit type: object @@ -63797,7 +63506,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *406 examples: example-for-creating-a-file: value: @@ -63851,7 +63560,7 @@ paths: schema: oneOf: - *3 - - &437 + - &435 description: Repository rule violation was detected type: object properties: @@ -63872,7 +63581,7 @@ paths: items: type: object properties: - placeholder_id: &556 + placeholder_id: &554 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -63904,8 +63613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *265 - - *266 + - *263 + - *264 - name: path description: path parameter in: path @@ -63966,7 +63675,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *406 examples: default: value: @@ -64021,8 +63730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *265 - - *266 + - *263 + - *264 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64146,8 +63855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *143 - *144 - *145 @@ -64189,7 +63898,7 @@ paths: application/json: schema: type: array - items: &411 + items: &409 type: object description: A Dependabot alert. properties: @@ -64239,7 +63948,7 @@ paths: - direct - transitive - - security_advisory: *409 + security_advisory: *407 security_vulnerability: *50 url: *55 html_url: *56 @@ -64270,7 +63979,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *410 + auto_dismissed_at: *408 required: - number - state @@ -64500,9 +64209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *265 - - *266 - - &412 + - *263 + - *264 + - &410 name: alert_number in: path description: |- @@ -64517,7 +64226,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: default: value: @@ -64630,9 +64339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *265 - - *266 - - *412 + - *263 + - *264 + - *410 requestBody: required: true content: @@ -64677,7 +64386,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: default: value: @@ -64806,8 +64515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -64825,7 +64534,7 @@ paths: type: integer secrets: type: array - items: &415 + items: &413 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64879,16 +64588,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *413 + schema: *411 examples: - default: *414 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64908,15 +64617,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '200': description: Response content: application/json: - schema: *415 + schema: *413 examples: default: value: @@ -64942,8 +64651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 requestBody: required: true @@ -64996,8 +64705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '204': @@ -65020,8 +64729,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: - - *265 - - *266 + - *263 + - *264 - 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 @@ -65195,8 +64904,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -65456,8 +65165,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -65540,7 +65249,7 @@ paths: - version - url additionalProperties: false - metadata: &416 + metadata: &414 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65579,7 +65288,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *416 + metadata: *414 resolved: type: object description: A collection of resolved package dependencies. @@ -65593,7 +65302,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *416 + metadata: *414 relationship: type: string description: A notation of whether a dependency is requested @@ -65726,8 +65435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *265 - - *266 + - *263 + - *264 - name: sha description: The SHA recorded at creation time. in: query @@ -65768,9 +65477,9 @@ paths: application/json: schema: type: array - items: *417 + items: *415 examples: - default: *418 + default: *416 headers: Link: *57 x-github: @@ -65836,8 +65545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -65919,7 +65628,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *415 examples: simple-example: summary: Simple example @@ -65992,9 +65701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *265 - - *266 - - &419 + - *263 + - *264 + - &417 name: deployment_id description: deployment_id parameter in: path @@ -66006,7 +65715,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *415 examples: default: value: @@ -66071,9 +65780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *265 - - *266 - - *419 + - *263 + - *264 + - *417 responses: '204': description: Response @@ -66095,9 +65804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *265 - - *266 - - *419 + - *263 + - *264 + - *417 - *17 - *19 responses: @@ -66107,7 +65816,7 @@ paths: application/json: schema: type: array - items: &420 + items: &418 title: Deployment Status description: The status of a deployment. type: object @@ -66271,9 +65980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *265 - - *266 - - *419 + - *263 + - *264 + - *417 requestBody: required: true content: @@ -66348,9 +66057,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *418 examples: - default: &421 + default: &419 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -66406,9 +66115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *265 - - *266 - - *419 + - *263 + - *264 + - *417 - name: status_id in: path required: true @@ -66419,9 +66128,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *418 examples: - default: *421 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -66446,8 +66155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -66504,8 +66213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -66523,7 +66232,7 @@ paths: - 5 environments: type: array - items: &423 + items: &421 title: Environment description: Details of a deployment environment type: object @@ -66585,7 +66294,7 @@ paths: type: string examples: - wait_timer - wait_timer: &425 + wait_timer: &423 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -66627,7 +66336,7 @@ paths: items: type: object properties: - type: *422 + type: *420 reviewer: anyOf: - *4 @@ -66654,7 +66363,7 @@ paths: - id - node_id - type - deployment_branch_policy: &426 + deployment_branch_policy: &424 type: - object - 'null' @@ -66771,9 +66480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *265 - - *266 - - &424 + - *263 + - *264 + - &422 name: environment_name in: path required: true @@ -66786,9 +66495,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: &427 + default: &425 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66872,9 +66581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 requestBody: required: false content: @@ -66884,7 +66593,7 @@ paths: - object - 'null' properties: - wait_timer: *425 + wait_timer: *423 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -66903,14 +66612,14 @@ paths: items: type: object properties: - type: *422 + type: *420 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *426 + deployment_branch_policy: *424 additionalProperties: false examples: default: @@ -66930,9 +66639,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: *427 + default: *425 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66956,9 +66665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 responses: '204': description: Default response @@ -66983,9 +66692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *17 - *19 responses: @@ -67004,7 +66713,7 @@ paths: - 2 branch_policies: type: array - items: &428 + items: &426 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67065,9 +66774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 requestBody: required: true content: @@ -67115,9 +66824,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - example-wildcard: &429 + example-wildcard: &427 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67159,10 +66868,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *265 - - *266 - - *424 - - &430 + - *263 + - *264 + - *422 + - &428 name: branch_policy_id in: path required: true @@ -67174,9 +66883,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: *429 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67195,10 +66904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *265 - - *266 - - *424 - - *430 + - *263 + - *264 + - *422 + - *428 requestBody: required: true content: @@ -67227,9 +66936,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: *429 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67248,10 +66957,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *265 - - *266 - - *424 - - *430 + - *263 + - *264 + - *422 + - *428 responses: '204': description: Response @@ -67276,9 +66985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *424 - - *266 - - *265 + - *422 + - *264 + - *263 responses: '200': description: List of deployment protection rules @@ -67295,7 +67004,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &431 + items: &429 title: Deployment protection rule description: Deployment protection rule type: object @@ -67317,7 +67026,7 @@ paths: for the environment. examples: - true - app: &432 + app: &430 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -67420,9 +67129,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: - - *424 - - *266 - - *265 + - *422 + - *264 + - *263 requestBody: content: application/json: @@ -67443,9 +67152,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *431 + schema: *429 examples: - default: &433 + default: &431 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -67480,9 +67189,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: - - *424 - - *266 - - *265 + - *422 + - *264 + - *263 - *19 - *17 responses: @@ -67502,7 +67211,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *432 + items: *430 examples: default: value: @@ -67537,10 +67246,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *265 - - *266 - - *424 - - &434 + - *263 + - *264 + - *422 + - &432 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -67552,9 +67261,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *429 examples: - default: *433 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67575,10 +67284,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *424 - - *266 - - *265 - - *434 + - *422 + - *264 + - *263 + - *432 responses: '204': description: Response @@ -67604,9 +67313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *17 - *19 responses: @@ -67624,9 +67333,9 @@ paths: type: integer secrets: type: array - items: *311 + items: *309 examples: - default: *312 + default: *310 headers: Link: *57 x-github: @@ -67651,17 +67360,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 responses: '200': description: Response content: application/json: - schema: *313 + schema: *311 examples: - default: *314 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67683,18 +67392,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *123 responses: '200': description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: *435 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67716,9 +67425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *123 requestBody: required: true @@ -67776,9 +67485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *123 responses: '204': @@ -67804,10 +67513,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *265 - - *266 - - *424 - - *287 + - *263 + - *264 + - *422 + - *285 - *19 responses: '200': @@ -67824,9 +67533,9 @@ paths: type: integer variables: type: array - items: *315 + items: *313 examples: - default: *316 + default: *314 headers: Link: *57 x-github: @@ -67849,9 +67558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 requestBody: required: true content: @@ -67903,18 +67612,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *126 responses: '200': description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *436 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67935,10 +67644,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 - - *424 + - *422 requestBody: required: true content: @@ -67980,10 +67689,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 - - *424 + - *422 responses: '204': description: Response @@ -68005,8 +67714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -68083,8 +67792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *265 - - *266 + - *263 + - *264 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68243,8 +67952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -68277,9 +67986,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 + default: *276 '400': *14 '422': *15 '403': *27 @@ -68300,8 +68009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -68361,7 +68070,7 @@ paths: schema: oneOf: - *93 - - *437 + - *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68386,8 +68095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *265 - - *266 + - *263 + - *264 - name: file_sha in: path required: true @@ -68487,8 +68196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -68597,7 +68306,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &436 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68824,15 +68533,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *265 - - *266 - - *394 + - *263 + - *264 + - *392 responses: '200': description: Response content: application/json: - schema: *438 + schema: *436 examples: default: value: @@ -68888,9 +68597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *265 - - *266 - - &439 + - *263 + - *264 + - &437 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. @@ -68907,7 +68616,7 @@ paths: application/json: schema: type: array - items: &440 + items: &438 title: Git Reference description: Git references within a repository type: object @@ -68983,17 +68692,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *265 - - *266 - - *439 + - *263 + - *264 + - *437 responses: '200': description: Response content: application/json: - schema: *440 + schema: *438 examples: - default: &441 + default: &439 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69022,8 +68731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -69052,9 +68761,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *438 examples: - default: *441 + default: *439 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -69080,9 +68789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *265 - - *266 - - *439 + - *263 + - *264 + - *437 requestBody: required: true content: @@ -69111,9 +68820,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *438 examples: - default: *441 + default: *439 '422': *15 '409': *44 x-github: @@ -69131,9 +68840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *265 - - *266 - - *439 + - *263 + - *264 + - *437 responses: '204': description: Response @@ -69186,8 +68895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -69254,7 +68963,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &441 title: Git Tag description: Metadata for a Git tag type: object @@ -69310,7 +69019,7 @@ paths: - sha - type - url - verification: *442 + verification: *440 required: - sha - url @@ -69320,7 +69029,7 @@ paths: - tag - message examples: - default: &444 + default: &442 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69393,8 +69102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *265 - - *266 + - *263 + - *264 - name: tag_sha in: path required: true @@ -69405,9 +69114,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: - default: *444 + default: *442 '404': *6 '409': *44 x-github: @@ -69431,8 +69140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -69506,7 +69215,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &443 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69624,8 +69333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *265 - - *266 + - *263 + - *264 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69648,7 +69357,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *443 examples: default-response: summary: Default response @@ -69707,8 +69416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -69718,7 +69427,7 @@ paths: application/json: schema: type: array - items: &446 + items: &444 title: Webhook description: Webhooks for repositories. type: object @@ -69781,7 +69490,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &663 + last_response: &661 title: Hook Response type: object properties: @@ -69858,8 +69567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -69912,9 +69621,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *444 examples: - default: &447 + default: &445 value: type: Repository id: 12345678 @@ -69962,17 +69671,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '200': description: Response content: application/json: - schema: *446 + schema: *444 examples: - default: *447 + default: *445 '404': *6 x-github: githubCloudOnly: false @@ -69992,8 +69701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 requestBody: required: true @@ -70039,9 +69748,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *444 examples: - default: *447 + default: *445 '422': *15 '404': *6 x-github: @@ -70062,8 +69771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '204': @@ -70088,8 +69797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '200': @@ -70117,8 +69826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *157 requestBody: required: false @@ -70163,8 +69872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 - *17 - *158 @@ -70196,8 +69905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 - *16 responses: @@ -70226,8 +69935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 - *16 responses: @@ -70251,8 +69960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '204': @@ -70278,8 +69987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '204': @@ -70338,14 +70047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: &448 + schema: &446 title: Import description: A repository import from an external source. type: object @@ -70452,7 +70161,7 @@ paths: - html_url - authors_url examples: - default: &451 + default: &449 value: vcs: subversion use_lfs: true @@ -70468,7 +70177,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': &449 + '503': &447 description: Unavailable due to service under maintenance. content: application/json: @@ -70497,8 +70206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -70546,7 +70255,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: default: value: @@ -70571,7 +70280,7 @@ paths: type: string '422': *15 '404': *6 - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70599,8 +70308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -70652,7 +70361,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: example-1: summary: Example 1 @@ -70700,7 +70409,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': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70723,12 +70432,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70754,9 +70463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *265 - - *266 - - &613 + - *263 + - *264 + - &611 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -70770,7 +70479,7 @@ paths: application/json: schema: type: array - items: &450 + items: &448 title: Porter Author description: Porter Author type: object @@ -70824,7 +70533,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': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70849,8 +70558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *265 - - *266 + - *263 + - *264 - name: author_id in: path required: true @@ -70880,7 +70589,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *448 examples: default: value: @@ -70893,7 +70602,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70917,8 +70626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -70959,7 +70668,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70987,8 +70696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -71015,11 +70724,11 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: *451 + default: *449 '422': *15 - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71042,8 +70751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -71051,8 +70760,8 @@ paths: application/json: schema: *20 examples: - default: *452 - '301': *277 + default: *450 + '301': *275 '404': *6 x-github: githubCloudOnly: false @@ -71072,8 +70781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -71086,7 +70795,7 @@ paths: properties: {} additionalProperties: false examples: - default: &454 + default: &452 value: limit: collaborators_only origin: repository @@ -71111,13 +70820,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: application/json: - schema: *453 + schema: *451 examples: default: summary: Example request body @@ -71131,7 +70840,7 @@ paths: application/json: schema: *175 examples: - default: *454 + default: *452 '409': description: Response x-github: @@ -71153,8 +70862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -71177,8 +70886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -71188,9 +70897,9 @@ paths: application/json: schema: type: array - items: *455 + items: *453 examples: - default: &606 + default: &604 value: - id: 1 repository: @@ -71321,8 +71030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *265 - - *266 + - *263 + - *264 - *179 requestBody: required: false @@ -71352,7 +71061,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *453 examples: default: value: @@ -71483,8 +71192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *265 - - *266 + - *263 + - *264 - *179 responses: '204': @@ -71516,8 +71225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *265 - - *266 + - *263 + - *264 - 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 @@ -71590,7 +71299,7 @@ paths: type: array items: *74 examples: - default: &464 + default: &462 value: - id: 1 node_id: MDU6SXNzdWUx @@ -71738,7 +71447,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *277 + '301': *275 '422': *15 '404': *6 x-github: @@ -71767,8 +71476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -71860,7 +71569,7 @@ paths: application/json: schema: *74 examples: - default: &459 + default: &457 value: id: 1 node_id: MDU6SXNzdWUx @@ -72016,7 +71725,7 @@ paths: '422': *15 '503': *62 '404': *6 - '410': *274 + '410': *272 x-github: triggersNotification: true githubCloudOnly: false @@ -72044,8 +71753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *83 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -72066,9 +71775,9 @@ paths: application/json: schema: type: array - items: *456 + items: *454 examples: - default: &461 + default: &459 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72126,17 +71835,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '200': description: Response content: application/json: - schema: *456 + schema: *454 examples: - default: &457 + default: &455 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72190,8 +71899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -72214,9 +71923,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *454 examples: - default: *457 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -72234,8 +71943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '204': @@ -72256,8 +71965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -72284,9 +71993,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 @@ -72307,8 +72016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -72341,16 +72050,16 @@ paths: description: Reaction exists content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Reaction created content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -72372,10 +72081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *265 - - *266 + - *263 + - *264 - *73 - - *261 + - *259 responses: '204': description: Response @@ -72395,8 +72104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -72406,7 +72115,7 @@ paths: application/json: schema: type: array - items: &458 + items: &456 title: Issue Event description: Issue Event type: object @@ -72745,8 +72454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *265 - - *266 + - *263 + - *264 - name: event_id in: path required: true @@ -72757,7 +72466,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *456 examples: default: value: @@ -72950,7 +72659,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *274 + '410': *272 '403': *27 x-github: githubCloudOnly: false @@ -72984,9 +72693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *265 - - *266 - - &460 + - *263 + - *264 + - &458 name: issue_number description: The number that identifies the issue. in: path @@ -73000,10 +72709,10 @@ paths: application/json: schema: *74 examples: - default: *459 - '301': *277 + default: *457 + '301': *275 '404': *6 - '410': *274 + '410': *272 '304': *35 x-github: githubCloudOnly: false @@ -73028,9 +72737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -73150,13 +72859,13 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 '422': *15 '503': *62 '403': *27 - '301': *277 + '301': *275 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73174,9 +72883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -73204,7 +72913,7 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73220,9 +72929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: content: application/json: @@ -73249,7 +72958,7 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73271,9 +72980,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: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - name: assignee in: path required: true @@ -73313,9 +73022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *64 - *17 - *19 @@ -73326,13 +73035,13 @@ paths: application/json: schema: type: array - items: *456 + items: *454 examples: - default: *461 + default: *459 headers: Link: *57 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73361,9 +73070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -73385,16 +73094,16 @@ paths: description: Response content: application/json: - schema: *456 + schema: *454 examples: - default: *457 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *274 + '410': *272 '422': *15 '404': *6 x-github: @@ -73414,9 +73123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *17 - *19 responses: @@ -73430,7 +73139,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &465 + - &463 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -73479,7 +73188,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &464 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -73607,7 +73316,7 @@ paths: - performed_via_github_app - assignee - assigner - - &467 + - &465 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -73653,7 +73362,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &466 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73699,7 +73408,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &467 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73748,7 +73457,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &468 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73790,7 +73499,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &469 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73832,7 +73541,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &470 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73888,7 +73597,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &473 + - &471 title: Locked Issue Event description: Locked Issue Event type: object @@ -73933,7 +73642,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &474 + - &472 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73994,7 +73703,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &475 + - &473 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74055,7 +73764,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &476 + - &474 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74116,7 +73825,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &477 + - &475 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74209,7 +73918,7 @@ paths: color: red headers: Link: *57 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74226,9 +73935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *17 - *19 responses: @@ -74238,7 +73947,7 @@ paths: application/json: schema: type: array - items: &462 + items: &460 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74293,7 +74002,7 @@ paths: - color - default examples: - default: &463 + default: &461 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74311,9 +74020,9 @@ paths: default: false headers: Link: *57 - '301': *277 + '301': *275 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74330,9 +74039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -74391,12 +74100,12 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *463 - '301': *277 + default: *461 + '301': *275 '404': *6 - '410': *274 + '410': *272 '422': *15 x-github: githubCloudOnly: false @@ -74413,9 +74122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -74475,12 +74184,12 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *463 - '301': *277 + default: *461 + '301': *275 '404': *6 - '410': *274 + '410': *272 '422': *15 x-github: githubCloudOnly: false @@ -74497,15 +74206,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 responses: '204': description: Response - '301': *277 + '301': *275 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74524,9 +74233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - name: name in: path required: true @@ -74539,7 +74248,7 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: default: value: @@ -74550,9 +74259,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *277 + '301': *275 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74572,9 +74281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -74603,7 +74312,7 @@ paths: '204': description: Response '403': *27 - '410': *274 + '410': *272 '404': *6 '422': *15 x-github: @@ -74621,9 +74330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 responses: '204': description: Response @@ -74645,9 +74354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - 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. @@ -74673,13 +74382,13 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74697,9 +74406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -74731,16 +74440,16 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -74762,10 +74471,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *265 - - *266 - - *460 - - *261 + - *263 + - *264 + - *458 + - *259 responses: '204': description: Response @@ -74794,9 +74503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -74820,7 +74529,7 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -74853,9 +74562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *17 - *19 responses: @@ -74867,11 +74576,11 @@ paths: type: array items: *74 examples: - default: *464 + default: *462 headers: Link: *57 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74899,9 +74608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -74930,14 +74639,14 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *274 + '410': *272 '422': *15 '404': *6 x-github: @@ -74957,9 +74666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -74992,7 +74701,7 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 '403': *27 '404': *6 '422': *7 @@ -75014,9 +74723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *17 - *19 responses: @@ -75031,6 +74740,8 @@ paths: description: Timeline Event type: object anyOf: + - *463 + - *464 - *465 - *466 - *467 @@ -75042,8 +74753,6 @@ paths: - *473 - *474 - *475 - - *476 - - *477 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75367,7 +75076,7 @@ paths: type: string comments: type: array - items: &497 + items: &495 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -75605,7 +75314,7 @@ paths: type: string comments: type: array - items: *392 + items: *390 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75880,7 +75589,7 @@ paths: headers: Link: *57 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75897,8 +75606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -75908,7 +75617,7 @@ paths: application/json: schema: type: array - items: &478 + items: &476 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75975,8 +75684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76012,9 +75721,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: - default: &479 + default: &477 value: id: 1 key: ssh-rsa AAA... @@ -76048,9 +75757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *265 - - *266 - - &480 + - *263 + - *264 + - &478 name: key_id description: The unique identifier of the key. in: path @@ -76062,9 +75771,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: - default: *479 + default: *477 '404': *6 x-github: githubCloudOnly: false @@ -76082,9 +75791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *265 - - *266 - - *480 + - *263 + - *264 + - *478 responses: '204': description: Response @@ -76104,8 +75813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -76115,9 +75824,9 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *463 + default: *461 headers: Link: *57 '404': *6 @@ -76138,8 +75847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76175,9 +75884,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: - default: &481 + default: &479 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76209,8 +75918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *265 - - *266 + - *263 + - *264 - name: name in: path required: true @@ -76221,9 +75930,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: - default: *481 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -76240,8 +75949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *265 - - *266 + - *263 + - *264 - name: name in: path required: true @@ -76280,7 +75989,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: default: value: @@ -76306,8 +76015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *265 - - *266 + - *263 + - *264 - name: name in: path required: true @@ -76333,8 +76042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -76373,9 +76082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *265 - - *266 - - *370 + - *263 + - *264 + - *368 responses: '200': description: Response @@ -76522,8 +76231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76588,8 +76297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76623,9 +76332,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *393 + schema: *391 examples: - default: *482 + default: *480 '204': description: Response when already merged '404': @@ -76650,8 +76359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *265 - - *266 + - *263 + - *264 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -76692,7 +76401,7 @@ paths: application/json: schema: type: array - items: *397 + items: *395 examples: default: value: @@ -76748,8 +76457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76789,9 +76498,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *395 examples: - default: &483 + default: &481 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76850,9 +76559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *265 - - *266 - - &484 + - *263 + - *264 + - &482 name: milestone_number description: The number that identifies the milestone. in: path @@ -76864,9 +76573,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *395 examples: - default: *483 + default: *481 '404': *6 x-github: githubCloudOnly: false @@ -76883,9 +76592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *265 - - *266 - - *484 + - *263 + - *264 + - *482 requestBody: required: false content: @@ -76923,9 +76632,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *395 examples: - default: *483 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76941,9 +76650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *265 - - *266 - - *484 + - *263 + - *264 + - *482 responses: '204': description: Response @@ -76964,9 +76673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *265 - - *266 - - *484 + - *263 + - *264 + - *482 - *17 - *19 responses: @@ -76976,9 +76685,9 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *463 + default: *461 headers: Link: *57 x-github: @@ -76997,12 +76706,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *265 - - *266 - - *485 - - *486 + - *263 + - *264 + - *483 + - *484 - *64 - - *487 + - *485 - *17 - *19 responses: @@ -77014,7 +76723,7 @@ paths: type: array items: *86 examples: - default: *488 + default: *486 headers: Link: *57 x-github: @@ -77038,8 +76747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -77097,14 +76806,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: &489 + schema: &487 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77248,7 +76957,7 @@ paths: - custom_404 - public examples: - default: &490 + default: &488 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77289,8 +76998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -77345,9 +77054,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *487 examples: - default: *490 + default: *488 '422': *15 '409': *44 x-github: @@ -77370,8 +77079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -77471,8 +77180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -77498,8 +77207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -77509,7 +77218,7 @@ paths: application/json: schema: type: array - items: &491 + items: &489 title: Page Build description: Page Build type: object @@ -77601,8 +77310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *265 - - *266 + - *263 + - *264 responses: '201': description: Response @@ -77649,16 +77358,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: &492 + default: &490 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -77706,8 +77415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *265 - - *266 + - *263 + - *264 - name: build_id in: path required: true @@ -77718,9 +77427,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: *492 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77740,8 +77449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -77849,9 +77558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *265 - - *266 - - &493 + - *263 + - *264 + - &491 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77909,9 +77618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *265 - - *266 - - *493 + - *263 + - *264 + - *491 responses: '204': *137 '404': *6 @@ -77938,8 +77647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -78234,8 +77943,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Private vulnerability reporting status @@ -78272,8 +77981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': *137 '422': *14 @@ -78294,8 +78003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': *137 '422': *14 @@ -78318,8 +78027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *265 - - *266 + - *263 + - *264 - name: state description: Indicates the state of the projects to return. in: query @@ -78380,7 +78089,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *274 + '410': *272 '422': *7 x-github: githubCloudOnly: false @@ -78403,8 +78112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -78432,11 +78141,11 @@ paths: application/json: schema: *216 examples: - default: *273 + default: *271 '401': *23 '403': *27 '404': *6 - '410': *274 + '410': *272 '422': *7 x-github: githubCloudOnly: false @@ -78459,8 +78168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -78499,8 +78208,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -78562,8 +78271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *265 - - *266 + - *263 + - *264 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78623,9 +78332,9 @@ paths: application/json: schema: type: array - items: *494 + items: *492 examples: - default: *495 + default: *493 headers: Link: *57 '304': *35 @@ -78657,8 +78366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -78725,7 +78434,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &497 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -78854,7 +78563,7 @@ paths: milestone: anyOf: - type: 'null' - - *397 + - *395 active_lock_reason: type: - string @@ -78947,14 +78656,14 @@ paths: _links: type: object properties: - comments: *398 - commits: *398 - statuses: *398 - html: *398 - issue: *398 - review_comments: *398 - review_comment: *398 - self: *398 + comments: *396 + commits: *396 + statuses: *396 + html: *396 + issue: *396 + review_comments: *396 + review_comment: *396 + self: *396 required: - comments - commits @@ -78965,7 +78674,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: *496 + auto_merge: *494 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -79067,7 +78776,7 @@ paths: - merged_by - review_comments examples: - default: &500 + default: &498 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79594,8 +79303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - name: sort in: query required: false @@ -79624,9 +79333,9 @@ paths: application/json: schema: type: array - items: *497 + items: *495 examples: - default: &502 + default: &500 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79703,17 +79412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '200': description: Response content: application/json: - schema: *497 + schema: *495 examples: - default: &498 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79788,8 +79497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -79812,9 +79521,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *495 examples: - default: *498 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79830,8 +79539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '204': @@ -79853,8 +79562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79881,9 +79590,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 @@ -79904,8 +79613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -79938,16 +79647,16 @@ paths: description: Reaction exists content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Reaction created content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -79969,10 +79678,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *265 - - *266 + - *263 + - *264 - *73 - - *261 + - *259 responses: '204': description: Response @@ -80015,9 +79724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *265 - - *266 - - &501 + - *263 + - *264 + - &499 name: pull_number description: The number that identifies the pull request. in: path @@ -80030,9 +79739,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 '304': *35 '404': *6 '406': @@ -80067,9 +79776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -80111,9 +79820,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 '422': *15 '403': *27 x-github: @@ -80135,9 +79844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: true content: @@ -80200,7 +79909,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -80208,7 +79917,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '401': *23 '403': *27 '404': *6 @@ -80238,9 +79947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *83 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -80261,9 +79970,9 @@ paths: application/json: schema: type: array - items: *497 + items: *495 examples: - default: *502 + default: *500 headers: Link: *57 x-github: @@ -80296,9 +80005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: true content: @@ -80404,7 +80113,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *495 examples: example-for-a-multi-line-comment: value: @@ -80492,9 +80201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *73 requestBody: required: true @@ -80517,7 +80226,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *495 examples: default: value: @@ -80603,9 +80312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *17 - *19 responses: @@ -80615,9 +80324,9 @@ paths: application/json: schema: type: array - items: *393 + items: *391 examples: - default: *503 + default: *501 headers: Link: *57 x-github: @@ -80647,9 +80356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *17 - *19 responses: @@ -80659,7 +80368,7 @@ paths: application/json: schema: type: array - items: *405 + items: *403 examples: default: value: @@ -80697,9 +80406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 responses: '204': description: Response if pull request has been merged @@ -80722,9 +80431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -80836,9 +80545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 responses: '200': description: Response @@ -80913,9 +80622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -80952,7 +80661,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *492 examples: default: value: @@ -81488,9 +81197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: true content: @@ -81524,7 +81233,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *492 examples: default: value: @@ -82029,9 +81738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *17 - *19 responses: @@ -82041,7 +81750,7 @@ paths: application/json: schema: type: array - items: &504 + items: &502 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82197,9 +81906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -82289,9 +81998,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: &506 + default: &504 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82354,10 +82063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - &505 + - *263 + - *264 + - *499 + - &503 name: review_id description: The unique identifier of the review. in: path @@ -82369,9 +82078,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: &507 + default: &505 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82430,10 +82139,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 requestBody: required: true content: @@ -82456,7 +82165,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: default: value: @@ -82518,18 +82227,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 responses: '200': description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *506 + default: *504 '422': *7 '404': *6 x-github: @@ -82556,10 +82265,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 - *17 - *19 responses: @@ -82657,9 +82366,9 @@ paths: _links: type: object properties: - self: *398 - html: *398 - pull_request: *398 + self: *396 + html: *396 + pull_request: *396 required: - self - html @@ -82810,10 +82519,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 requestBody: required: true content: @@ -82842,7 +82551,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: default: value: @@ -82905,10 +82614,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 requestBody: required: true content: @@ -82943,9 +82652,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *507 + default: *505 '404': *6 '422': *7 '403': *27 @@ -82967,9 +82676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -83033,8 +82742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *265 - - *266 + - *263 + - *264 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83047,9 +82756,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: - default: &509 + default: &507 value: type: file encoding: base64 @@ -83091,8 +82800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *265 - - *266 + - *263 + - *264 - name: dir description: The alternate path to look for a README file in: path @@ -83112,9 +82821,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: - default: *509 + default: *507 '404': *6 '422': *15 x-github: @@ -83136,8 +82845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -83147,7 +82856,7 @@ paths: application/json: schema: type: array - items: &510 + items: &508 title: Release description: A release. type: object @@ -83219,7 +82928,7 @@ paths: author: *4 assets: type: array - items: &511 + items: &509 title: Release Asset description: Data related to a release. type: object @@ -83399,8 +83108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -83476,9 +83185,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: &514 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83581,9 +83290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *265 - - *266 - - &512 + - *263 + - *264 + - &510 name: asset_id description: The unique identifier of the asset. in: path @@ -83595,9 +83304,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: &513 + default: &511 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 @@ -83631,7 +83340,7 @@ paths: type: User site_admin: false '404': *6 - '302': *407 + '302': *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83647,9 +83356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *265 - - *266 - - *512 + - *263 + - *264 + - *510 requestBody: required: false content: @@ -83678,9 +83387,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: *513 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83696,9 +83405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *265 - - *266 - - *512 + - *263 + - *264 + - *510 responses: '204': description: Response @@ -83722,8 +83431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -83809,16 +83518,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: *514 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83835,8 +83544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *265 - - *266 + - *263 + - *264 - name: tag description: tag parameter in: path @@ -83849,9 +83558,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: *514 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -83873,9 +83582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *265 - - *266 - - &515 + - *263 + - *264 + - &513 name: release_id description: The unique identifier of the release. in: path @@ -83889,9 +83598,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: *510 + schema: *508 examples: - default: *514 + default: *512 '401': description: Unauthorized x-github: @@ -83909,9 +83618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 requestBody: required: false content: @@ -83975,9 +83684,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: *514 + default: *512 '404': description: Not Found if the discussion category name is invalid content: @@ -83998,9 +83707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 responses: '204': description: Response @@ -84020,9 +83729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 - *17 - *19 responses: @@ -84032,7 +83741,7 @@ paths: application/json: schema: type: array - items: *511 + items: *509 examples: default: value: @@ -84112,9 +83821,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: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 - name: name in: query required: true @@ -84140,7 +83849,7 @@ paths: description: Response for successful upload content: application/json: - schema: *511 + schema: *509 examples: response-for-successful-upload: value: @@ -84194,9 +83903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 - 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. @@ -84220,9 +83929,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 @@ -84243,9 +83952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 requestBody: required: true content: @@ -84275,16 +83984,16 @@ paths: description: Reaction exists content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Reaction created content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -84306,10 +84015,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *265 - - *266 - - *515 - - *261 + - *263 + - *264 + - *513 + - *259 responses: '204': description: Response @@ -84333,9 +84042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 - *17 - *19 responses: @@ -84351,8 +84060,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *516 - - &518 + - *514 + - &516 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84371,66 +84080,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *515 + - *516 - allOf: - *517 + - *516 + - allOf: - *518 + - *516 - allOf: - *519 - - *518 + - *516 - allOf: - *520 - - *518 + - *516 - allOf: - *521 - - *518 + - *516 - allOf: - *522 - - *518 + - *516 - allOf: - *523 - - *518 + - *516 - allOf: - *524 - - *518 + - *516 - allOf: - *525 - - *518 + - *516 - allOf: - *526 - - *518 + - *516 - allOf: - *527 - - *518 + - *516 - allOf: - *528 - - *518 + - *516 - allOf: - *529 - - *518 + - *516 - allOf: - *530 - - *518 + - *516 - allOf: - *531 - - *518 + - *516 - allOf: - *532 - - *518 + - *516 - allOf: - *533 - - *518 + - *516 - allOf: - *534 - - *518 + - *516 - allOf: - *535 - - *518 - - allOf: - - *536 - - *518 - - allOf: - - *537 - - *518 + - *516 examples: default: value: @@ -84469,8 +84178,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 - name: includes_parents @@ -84481,7 +84190,7 @@ paths: schema: type: boolean default: true - - *538 + - *536 responses: '200': description: Response @@ -84536,8 +84245,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 requestBody: description: Request body required: true @@ -84599,7 +84308,7 @@ paths: application/json: schema: *229 examples: - default: &548 + default: &546 value: id: 42 name: super cool ruleset @@ -84646,12 +84355,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *265 - - *266 + - *263 + - *264 + - *537 + - *538 - *539 - *540 - - *541 - - *542 - *17 - *19 responses: @@ -84659,9 +84368,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: *544 + default: *542 '404': *6 '500': *140 x-github: @@ -84682,17 +84391,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *265 - - *266 - - *545 + - *263 + - *264 + - *543 responses: '200': description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: *547 + default: *545 '404': *6 '500': *140 x-github: @@ -84720,8 +84429,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84743,7 +84452,7 @@ paths: application/json: schema: *229 examples: - default: *548 + default: *546 '404': *6 '500': *140 put: @@ -84761,8 +84470,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84826,7 +84535,7 @@ paths: application/json: schema: *229 examples: - default: *548 + default: *546 '404': *6 '500': *140 delete: @@ -84844,8 +84553,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84868,8 +84577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 - name: ruleset_id @@ -84887,7 +84596,7 @@ paths: type: array items: *231 examples: - default: *549 + default: *547 '404': *6 '500': *140 x-github: @@ -84906,8 +84615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *265 - - *266 + - *263 + - *264 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84925,7 +84634,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: default: value: @@ -84980,8 +84689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *232 - *233 - *234 @@ -84989,8 +84698,8 @@ paths: - *46 - *19 - *17 - - *551 - - *552 + - *549 + - *550 - *236 - *237 - *238 @@ -85001,7 +84710,7 @@ paths: application/json: schema: type: array - items: &555 + items: &553 type: object properties: number: *52 @@ -85017,8 +84726,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *553 - resolution: *554 + state: *551 + resolution: *552 resolved_at: type: - string @@ -85237,15 +84946,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 responses: '200': description: Response content: application/json: - schema: *555 + schema: *553 examples: default: value: @@ -85297,9 +85006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 requestBody: required: true content: @@ -85307,8 +85016,8 @@ paths: schema: type: object properties: - state: *553 - resolution: *554 + state: *551 + resolution: *552 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85327,7 +85036,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *553 examples: default: value: @@ -85402,9 +85111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 - *19 - *17 responses: @@ -85415,7 +85124,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &684 + items: &682 type: object properties: type: @@ -85794,8 +85503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -85803,14 +85512,14 @@ paths: schema: type: object properties: - reason: &557 + reason: &555 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *556 + placeholder_id: *554 required: - reason - placeholder_id @@ -85827,7 +85536,7 @@ paths: schema: type: object properties: - reason: *557 + reason: *555 expire_at: type: - string @@ -85871,8 +85580,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: - - *265 - - *266 + - *263 + - *264 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -85887,7 +85596,7 @@ paths: properties: incremental_scans: type: array - items: &558 + items: &556 description: Information on a single scan performed by secret scanning on the repository type: object @@ -85915,15 +85624,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *558 + items: *556 backfill_scans: type: array - items: *558 + items: *556 custom_pattern_backfill_scans: type: array items: allOf: - - *558 + - *556 - type: object properties: pattern_name: @@ -85993,8 +85702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *265 - - *266 + - *263 + - *264 - *46 - name: sort description: The property to sort the results by. @@ -86038,9 +85747,9 @@ paths: application/json: schema: type: array - items: *559 + items: *557 examples: - default: *560 + default: *558 '400': *14 '404': *6 x-github: @@ -86063,8 +85772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -86234,9 +85943,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: &562 + default: &560 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86469,8 +86178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -86583,7 +86292,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: default: value: @@ -86730,17 +86439,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *265 - - *266 - - *561 + - *263 + - *264 + - *559 responses: '200': description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *562 + default: *560 '403': *27 '404': *6 x-github: @@ -86764,9 +86473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *265 - - *266 - - *561 + - *263 + - *264 + - *559 requestBody: required: true content: @@ -86937,10 +86646,10 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *562 - add_credit: *562 + default: *560 + add_credit: *560 '403': *27 '404': *6 '422': @@ -86978,9 +86687,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: - - *265 - - *266 - - *561 + - *263 + - *264 + - *559 responses: '202': *45 '400': *14 @@ -87007,17 +86716,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *265 - - *266 - - *561 + - *263 + - *264 + - *559 responses: '202': description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 + default: *276 '400': *14 '422': *15 '403': *27 @@ -87043,8 +86752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -87140,8 +86849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87150,7 +86859,7 @@ paths: application/json: schema: type: array - items: &563 + items: &561 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87183,8 +86892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -87262,8 +86971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -87357,8 +87066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -87512,8 +87221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -87523,7 +87232,7 @@ paths: application/json: schema: type: array - items: *563 + items: *561 examples: default: value: @@ -87556,8 +87265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *265 - - *266 + - *263 + - *264 - name: sha in: path required: true @@ -87613,7 +87322,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: default: value: @@ -87667,8 +87376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -87700,14 +87409,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &565 + schema: &563 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87780,8 +87489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -87807,7 +87516,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: default: value: @@ -87834,8 +87543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -87855,8 +87564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -87938,8 +87647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -87947,7 +87656,7 @@ paths: application/json: schema: type: array - items: &566 + items: &564 title: Tag protection description: Tag protection type: object @@ -88004,8 +87713,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -88028,7 +87737,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *564 examples: default: value: @@ -88059,8 +87768,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: - - *265 - - *266 + - *263 + - *264 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -88097,8 +87806,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *265 - - *266 + - *263 + - *264 - name: ref in: path required: true @@ -88134,8 +87843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -88167,8 +87876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *265 - - *266 + - *263 + - *264 - *19 - *17 responses: @@ -88176,7 +87885,7 @@ paths: description: Response content: application/json: - schema: &567 + schema: &565 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88188,7 +87897,7 @@ paths: required: - names examples: - default: &568 + default: &566 value: names: - octocat @@ -88211,8 +87920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -88243,9 +87952,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *565 examples: - default: *568 + default: *566 '404': *6 '422': *7 x-github: @@ -88266,9 +87975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *265 - - *266 - - &569 + - *263 + - *264 + - &567 name: per description: The time frame to display results for. in: query @@ -88299,7 +88008,7 @@ paths: - 128 clones: type: array - items: &570 + items: &568 title: Traffic type: object properties: @@ -88386,8 +88095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -88481,8 +88190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -88545,9 +88254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *265 - - *266 - - *569 + - *263 + - *264 + - *567 responses: '200': description: Response @@ -88568,7 +88277,7 @@ paths: - 3782 views: type: array - items: *570 + items: *568 required: - uniques - count @@ -88645,8 +88354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -88920,8 +88629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88944,8 +88653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -88967,8 +88676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -88994,8 +88703,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *265 - - *266 + - *263 + - *264 - name: ref in: path required: true @@ -89087,9 +88796,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 + default: *276 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89338,7 +89047,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &571 + text_matches: &569 title: Search Result Text Matches type: array items: @@ -89501,7 +89210,7 @@ paths: enum: - author-date - committer-date - - &572 + - &570 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 @@ -89570,7 +89279,7 @@ paths: committer: anyOf: - type: 'null' - - *331 + - *329 comment_count: type: integer message: @@ -89589,7 +89298,7 @@ paths: url: type: string format: uri - verification: *442 + verification: *440 required: - author - committer @@ -89604,7 +89313,7 @@ paths: committer: anyOf: - type: 'null' - - *331 + - *329 parents: type: array items: @@ -89621,7 +89330,7 @@ paths: type: number node_id: type: string - text_matches: *571 + text_matches: *569 required: - sha - node_id @@ -89803,7 +89512,7 @@ paths: - interactions - created - updated - - *572 + - *570 - *17 - *19 - name: advanced_search @@ -89927,7 +89636,7 @@ paths: milestone: anyOf: - type: 'null' - - *397 + - *395 comments: type: integer created_at: @@ -89941,7 +89650,7 @@ paths: - string - 'null' format: date-time - text_matches: *571 + text_matches: *569 pull_request: type: object properties: @@ -90167,7 +89876,7 @@ paths: enum: - created - updated - - *572 + - *570 - *17 - *19 responses: @@ -90212,7 +89921,7 @@ paths: - 'null' score: type: number - text_matches: *571 + text_matches: *569 required: - id - node_id @@ -90297,7 +90006,7 @@ paths: - forks - help-wanted-issues - updated - - *572 + - *570 - *17 - *19 responses: @@ -90534,7 +90243,7 @@ paths: - admin - pull - push - text_matches: *571 + text_matches: *569 temp_clone_token: type: string allow_merge_commit: @@ -90842,7 +90551,7 @@ paths: - string - 'null' format: uri - text_matches: *571 + text_matches: *569 related: type: - array @@ -91035,7 +90744,7 @@ paths: - followers - repositories - joined - - *572 + - *570 - *17 - *19 responses: @@ -91145,7 +90854,7 @@ paths: type: - boolean - 'null' - text_matches: *571 + text_matches: *569 blog: type: - string @@ -91227,7 +90936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &573 + - &571 name: team_id description: The unique identifier of the team. in: path @@ -91239,9 +90948,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -91268,7 +90977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *573 + - *571 requestBody: required: true content: @@ -91332,16 +91041,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '201': description: Response content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '404': *6 '422': *15 '403': *27 @@ -91369,7 +91078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *573 + - *571 responses: '204': description: Response @@ -91400,7 +91109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *573 + - *571 - *46 - *17 - *19 @@ -91411,9 +91120,9 @@ paths: application/json: schema: type: array - items: *252 + items: *250 examples: - default: *574 + default: *572 headers: Link: *57 x-github: @@ -91442,7 +91151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *573 + - *571 requestBody: required: true content: @@ -91476,9 +91185,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *253 + default: *251 x-github: triggersNotification: true githubCloudOnly: false @@ -91505,16 +91214,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 responses: '200': description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *253 + default: *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91539,8 +91248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 requestBody: required: false content: @@ -91563,9 +91272,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *575 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,8 +91299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 responses: '204': description: Response @@ -91620,8 +91329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *573 - - *254 + - *571 + - *252 - *46 - *17 - *19 @@ -91632,9 +91341,9 @@ paths: application/json: schema: type: array - items: *255 + items: *253 examples: - default: *576 + default: *574 headers: Link: *57 x-github: @@ -91663,8 +91372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *573 - - *254 + - *571 + - *252 requestBody: required: true content: @@ -91686,9 +91395,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 x-github: triggersNotification: true githubCloudOnly: false @@ -91715,17 +91424,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 responses: '200': description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91750,9 +91459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 requestBody: required: true content: @@ -91774,9 +91483,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *577 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91801,9 +91510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 responses: '204': description: Response @@ -91832,9 +91541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 - 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. @@ -91860,9 +91569,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 x-github: @@ -91891,9 +91600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 requestBody: required: true content: @@ -91925,9 +91634,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91953,8 +91662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 - 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. @@ -91980,9 +91689,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 x-github: @@ -92011,8 +91720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 requestBody: required: true content: @@ -92044,9 +91753,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92070,7 +91779,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *573 + - *571 - *17 - *19 responses: @@ -92108,7 +91817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *573 + - *571 - name: role description: Filters members returned by their role in the team. in: query @@ -92159,7 +91868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *573 + - *571 - *128 responses: '204': @@ -92196,7 +91905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *573 + - *571 - *128 responses: '204': @@ -92236,7 +91945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *573 + - *571 - *128 responses: '204': @@ -92273,16 +91982,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *573 + - *571 - *128 responses: '200': description: Response content: application/json: - schema: *262 + schema: *260 examples: - response-if-user-is-a-team-maintainer: *578 + response-if-user-is-a-team-maintainer: *576 '404': *6 x-github: githubCloudOnly: false @@ -92315,7 +92024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *573 + - *571 - *128 requestBody: required: false @@ -92341,9 +92050,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *260 examples: - response-if-users-membership-with-team-is-now-pending: *579 + response-if-users-membership-with-team-is-now-pending: *577 '403': description: Forbidden if team synchronization is set up '422': @@ -92377,7 +92086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *573 + - *571 - *128 responses: '204': @@ -92406,7 +92115,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *573 + - *571 - *17 - *19 responses: @@ -92416,9 +92125,9 @@ paths: application/json: schema: type: array - items: *263 + items: *261 examples: - default: *580 + default: *578 headers: Link: *57 '404': *6 @@ -92444,16 +92153,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *573 - - *264 + - *571 + - *262 responses: '200': description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *581 + default: *579 '404': description: Not Found if project is not managed by this team x-github: @@ -92477,8 +92186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *573 - - *264 + - *571 + - *262 requestBody: required: false content: @@ -92545,8 +92254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *573 - - *264 + - *571 + - *262 responses: '204': description: Response @@ -92573,7 +92282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *573 + - *571 - *17 - *19 responses: @@ -92615,15 +92324,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *573 - - *265 - - *266 + - *571 + - *263 + - *264 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *582 + schema: *580 examples: alternative-response-with-extra-repository-information: value: @@ -92774,9 +92483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *573 - - *265 - - *266 + - *571 + - *263 + - *264 requestBody: required: false content: @@ -92826,9 +92535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *573 - - *265 - - *266 + - *571 + - *263 + - *264 responses: '204': description: Response @@ -92853,7 +92562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *573 + - *571 - *17 - *19 responses: @@ -92865,7 +92574,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: *583 + response-if-child-teams-exist: *581 headers: Link: *57 '404': *6 @@ -92898,7 +92607,7 @@ paths: application/json: schema: oneOf: - - &585 + - &583 title: Private User description: Private User type: object @@ -93148,7 +92857,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *584 + - *582 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93308,7 +93017,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *583 examples: default: value: @@ -93654,7 +93363,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -93662,7 +93371,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '401': *23 '403': *27 '404': *6 @@ -93706,7 +93415,7 @@ paths: type: integer secrets: type: array - items: &586 + items: &584 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -93748,7 +93457,7 @@ paths: - visibility - selected_repositories_url examples: - default: *386 + default: *384 headers: Link: *57 x-github: @@ -93826,7 +93535,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -93972,7 +93681,7 @@ paths: type: array items: *115 examples: - default: *587 + default: *585 '401': *23 '403': *27 '404': *6 @@ -94124,7 +93833,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '304': *35 '500': *140 '401': *23 @@ -94182,7 +93891,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '401': *23 '403': *27 '404': *6 @@ -94239,7 +93948,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &586 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94292,7 +94001,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &589 + default: &587 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94337,9 +94046,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: *589 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -94376,9 +94085,9 @@ paths: type: integer machines: type: array - items: *385 + items: *383 examples: - default: *590 + default: *588 '304': *35 '500': *140 '401': *23 @@ -94463,11 +94172,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *276 + repository: *274 machine: anyOf: - type: 'null' - - *385 + - *383 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -95272,7 +94981,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '304': *35 '500': *140 '400': *14 @@ -95312,7 +95021,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '500': *140 '401': *23 '403': *27 @@ -95344,7 +95053,7 @@ paths: type: array items: *200 examples: - default: &603 + default: &601 value: - id: 197 name: hello_docker @@ -95445,7 +95154,7 @@ paths: application/json: schema: type: array - items: &591 + items: &589 title: Email description: Email type: object @@ -95515,9 +95224,9 @@ paths: application/json: schema: type: array - items: *591 + items: *589 examples: - default: &605 + default: &603 value: - email: octocat@github.com verified: true @@ -95594,7 +95303,7 @@ paths: application/json: schema: type: array - items: *591 + items: *589 examples: default: value: @@ -95852,7 +95561,7 @@ paths: application/json: schema: type: array - items: &592 + items: &590 title: GPG Key description: A unique encryption key type: object @@ -95997,7 +95706,7 @@ paths: - subkeys - revoked examples: - default: &616 + default: &614 value: - id: 3 name: Octocat's GPG Key @@ -96082,9 +95791,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *590 examples: - default: &593 + default: &591 value: id: 3 name: Octocat's GPG Key @@ -96141,7 +95850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &594 + - &592 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96153,9 +95862,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *590 examples: - default: *593 + default: *591 '404': *6 '304': *35 '403': *27 @@ -96178,7 +95887,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *594 + - *592 responses: '204': description: Response @@ -96369,7 +96078,7 @@ paths: type: array items: *59 examples: - default: *595 + default: *593 headers: Link: *57 '404': *6 @@ -96483,7 +96192,7 @@ paths: required: true content: application/json: - schema: *453 + schema: *451 examples: default: value: @@ -96633,7 +96342,7 @@ paths: application/json: schema: type: array - items: &596 + items: &594 title: Key description: Key type: object @@ -96731,9 +96440,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *594 examples: - default: &597 + default: &595 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96766,15 +96475,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *480 + - *478 responses: '200': description: Response content: application/json: - schema: *596 + schema: *594 examples: - default: *597 + default: *595 '404': *6 '304': *35 '403': *27 @@ -96797,7 +96506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *480 + - *478 responses: '204': description: Response @@ -96830,7 +96539,7 @@ paths: application/json: schema: type: array - items: &598 + items: &596 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -96909,7 +96618,7 @@ paths: - account - plan examples: - default: &599 + default: &597 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -96971,9 +96680,9 @@ paths: application/json: schema: type: array - items: *598 + items: *596 examples: - default: *599 + default: *597 headers: Link: *57 '304': *35 @@ -97977,7 +97686,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *194 - - *600 + - *598 responses: '204': description: Response @@ -98050,7 +97759,7 @@ paths: type: array items: *142 examples: - default: *601 + default: *599 headers: Link: *57 '304': *35 @@ -98092,7 +97801,7 @@ paths: - docker - nuget - container - - *602 + - *600 - *19 - *17 responses: @@ -98104,8 +97813,8 @@ paths: type: array items: *200 examples: - default: *603 - '400': *604 + default: *601 + '400': *602 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98134,7 +97843,7 @@ paths: application/json: schema: *200 examples: - default: &617 + default: &615 value: id: 40201 name: octo-name @@ -98589,9 +98298,9 @@ paths: application/json: schema: type: array - items: *591 + items: *589 examples: - default: *605 + default: *603 headers: Link: *57 '304': *35 @@ -98704,7 +98413,7 @@ paths: type: array items: *59 examples: - default: &612 + default: &610 summary: Default response value: - id: 1296269 @@ -99020,9 +98729,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 + default: *276 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99060,9 +98769,9 @@ paths: application/json: schema: type: array - items: *455 + items: *453 examples: - default: *606 + default: *604 headers: Link: *57 '304': *35 @@ -99141,7 +98850,7 @@ paths: application/json: schema: type: array - items: &607 + items: &605 title: Social account description: Social media account type: object @@ -99158,7 +98867,7 @@ paths: - provider - url examples: - default: &608 + default: &606 value: - provider: twitter url: https://twitter.com/github @@ -99221,9 +98930,9 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: - default: *608 + default: *606 '422': *15 '304': *35 '404': *6 @@ -99311,7 +99020,7 @@ paths: application/json: schema: type: array - items: &609 + items: &607 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99331,7 +99040,7 @@ paths: - title - created_at examples: - default: &624 + default: &622 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99398,9 +99107,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: &610 + default: &608 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99431,7 +99140,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: - - &611 + - &609 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -99443,9 +99152,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *610 + default: *608 '404': *6 '304': *35 '403': *27 @@ -99468,7 +99177,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: - - *611 + - *609 responses: '204': description: Response @@ -99497,7 +99206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &625 + - &623 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 @@ -99522,11 +99231,11 @@ paths: type: array items: *59 examples: - default-response: *612 + default-response: *610 application/vnd.github.v3.star+json: schema: type: array - items: &626 + items: &624 title: Starred Repository description: Starred Repository type: object @@ -99682,8 +99391,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: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response if this repository is starred by you @@ -99711,8 +99420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -99736,8 +99445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -99809,7 +99518,7 @@ paths: application/json: schema: type: array - items: *250 + items: *248 examples: default: value: @@ -99895,10 +99604,10 @@ paths: application/json: schema: oneOf: - - *585 - - *584 + - *583 + - *582 examples: - default-response: &614 + default-response: &612 summary: Default response value: login: octocat @@ -99933,7 +99642,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &615 + response-with-git-hub-plan-information: &613 summary: Response with GitHub plan information value: login: octocat @@ -99993,7 +99702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *613 + - *611 - *17 responses: '200': @@ -100042,11 +99751,11 @@ paths: application/json: schema: oneOf: - - *585 - - *584 + - *583 + - *582 examples: - default-response: *614 - response-with-git-hub-plan-information: *615 + default-response: *612 + response-with-git-hub-plan-information: *613 '404': *6 x-github: githubCloudOnly: false @@ -100122,7 +99831,7 @@ paths: bundle_url: type: string examples: - default: *327 + default: *325 '201': description: Response content: @@ -100163,7 +99872,7 @@ paths: type: array items: *200 examples: - default: *603 + default: *601 '403': *27 '401': *23 x-github: @@ -100567,9 +100276,9 @@ paths: application/json: schema: type: array - items: *592 + items: *590 examples: - default: *616 + default: *614 headers: Link: *57 x-github: @@ -100673,7 +100382,7 @@ paths: application/json: schema: *20 examples: - default: *452 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100751,7 +100460,7 @@ paths: type: array items: *142 examples: - default: *601 + default: *599 headers: Link: *57 x-github: @@ -100790,7 +100499,7 @@ paths: - docker - nuget - container - - *602 + - *600 - *128 - *19 - *17 @@ -100803,10 +100512,10 @@ paths: type: array items: *200 examples: - default: *603 + default: *601 '403': *27 '401': *23 - '400': *604 + '400': *602 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100836,7 +100545,7 @@ paths: application/json: schema: *200 examples: - default: *617 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101435,9 +101144,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: *619 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101465,9 +101174,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *621 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101495,9 +101204,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *620 examples: - default: *623 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101525,9 +101234,9 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: - default: *608 + default: *606 headers: Link: *57 x-github: @@ -101557,9 +101266,9 @@ paths: application/json: schema: type: array - items: *609 + items: *607 examples: - default: *624 + default: *622 headers: Link: *57 x-github: @@ -101584,7 +101293,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *128 - - *625 + - *623 - *46 - *17 - *19 @@ -101596,11 +101305,11 @@ paths: schema: anyOf: - type: array - items: *626 + items: *624 - type: array items: *59 examples: - default-response: *612 + default-response: *610 headers: Link: *57 x-github: @@ -101760,7 +101469,7 @@ webhooks: type: string enum: - disabled - enterprise: &627 + enterprise: &625 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -101829,7 +101538,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &628 + installation: &626 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -101850,7 +101559,7 @@ webhooks: required: - id - node_id - organization: &629 + organization: &627 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -101923,7 +101632,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &630 + repository: &628 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -102836,10 +102545,10 @@ webhooks: type: string enum: - enabled - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -102915,11 +102624,11 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - rule: &631 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + rule: &629 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) @@ -103142,11 +102851,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - rule: *631 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + rule: *629 sender: *4 required: - action @@ -103334,11 +103043,11 @@ webhooks: - everyone required: - from - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - rule: *631 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + rule: *629 sender: *4 required: - action @@ -103422,7 +103131,7 @@ webhooks: type: string enum: - completed - check_run: &633 + check_run: &631 title: CheckRun description: A check performed on the code of a given code change type: object @@ -103490,7 +103199,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *344 + items: *342 repository: *115 status: type: string @@ -103535,7 +103244,7 @@ webhooks: - examples: - neutral - deployment: *632 + deployment: *630 details_url: type: string examples: @@ -103595,7 +103304,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *344 + items: *342 started_at: type: string format: date-time @@ -103633,9 +103342,9 @@ webhooks: - output - app - pull_requests - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - check_run @@ -104028,10 +103737,10 @@ webhooks: type: string enum: - created - check_run: *633 - installation: *628 - organization: *629 - repository: *630 + check_run: *631 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - check_run @@ -104427,10 +104136,10 @@ webhooks: type: string enum: - requested_action - check_run: *633 - installation: *628 - organization: *629 - repository: *630 + check_run: *631 + installation: *626 + organization: *627 + repository: *628 requested_action: description: The action requested by the user. type: object @@ -104835,10 +104544,10 @@ webhooks: type: string enum: - rerequested - check_run: *633 - installation: *628 - organization: *629 - repository: *630 + check_run: *631 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - check_run @@ -105830,10 +105539,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -106518,10 +106227,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -107200,10 +106909,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -107369,7 +107078,7 @@ webhooks: required: - login - id - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107521,20 +107230,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &634 + commit_oid: &632 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: *627 - installation: *628 - organization: *629 - ref: &635 + enterprise: *625 + installation: *626 + organization: *627 + ref: &633 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: *630 + repository: *628 sender: *4 required: - action @@ -107698,7 +107407,7 @@ webhooks: required: - login - id - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107939,12 +107648,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *634 - enterprise: *627 - installation: *628 - organization: *629 - ref: *635 - repository: *630 + commit_oid: *632 + enterprise: *625 + installation: *626 + organization: *627 + ref: *633 + repository: *628 sender: *4 required: - action @@ -108042,7 +107751,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108224,12 +107933,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *634 - enterprise: *627 - installation: *628 - organization: *629 - ref: *635 - repository: *630 + commit_oid: *632 + enterprise: *625 + installation: *626 + organization: *627 + ref: *633 + repository: *628 sender: *4 required: - action @@ -108395,7 +108104,7 @@ webhooks: required: - login - id - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -108572,12 +108281,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *634 - enterprise: *627 - installation: *628 - organization: *629 - ref: *635 - repository: *630 + commit_oid: *632 + enterprise: *625 + installation: *626 + organization: *627 + ref: *633 + repository: *628 sender: *4 required: - action @@ -108677,7 +108386,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108857,9 +108566,9 @@ webhooks: type: - string - 'null' - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -108867,7 +108576,7 @@ webhooks: type: - string - 'null' - repository: *630 + repository: *628 sender: *4 required: - action @@ -108963,7 +108672,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109110,12 +108819,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *634 - enterprise: *627 - installation: *628 - organization: *629 - ref: *635 - repository: *630 + commit_oid: *632 + enterprise: *625 + installation: *626 + organization: *627 + ref: *633 + repository: *628 sender: *4 required: - action @@ -109377,10 +109086,10 @@ webhooks: - updated_at - author_association - body - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -109461,18 +109170,18 @@ webhooks: type: - string - 'null' - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *629 - pusher_type: &636 + organization: *627 + pusher_type: &634 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &637 + ref: &635 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -109482,7 +109191,7 @@ webhooks: enum: - tag - branch - repository: *630 + repository: *628 sender: *4 required: - ref @@ -109565,9 +109274,9 @@ webhooks: enum: - created definition: *217 - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -109652,9 +109361,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -109732,9 +109441,9 @@ webhooks: enum: - promote_to_enterprise definition: *217 - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -109812,9 +109521,9 @@ webhooks: enum: - updated definition: *217 - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -109891,10 +109600,10 @@ webhooks: type: string enum: - updated - enterprise: *627 - installation: *628 - repository: *630 - organization: *629 + enterprise: *625 + installation: *626 + repository: *628 + organization: *627 sender: *4 new_property_values: type: array @@ -109979,18 +109688,18 @@ webhooks: title: delete event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 - pusher_type: *636 - ref: *637 + enterprise: *625 + installation: *626 + organization: *627 + pusher_type: *634 + ref: *635 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *630 + repository: *628 sender: *4 required: - ref @@ -110074,11 +109783,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110162,11 +109871,11 @@ webhooks: type: string enum: - auto_reopened - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110250,11 +109959,11 @@ webhooks: type: string enum: - created - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110336,11 +110045,11 @@ webhooks: type: string enum: - dismissed - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110422,11 +110131,11 @@ webhooks: type: string enum: - fixed - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110509,11 +110218,11 @@ webhooks: type: string enum: - reintroduced - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110595,11 +110304,11 @@ webhooks: type: string enum: - reopened - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110676,9 +110385,9 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - key: &638 + enterprise: *625 + installation: *626 + key: &636 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -110716,8 +110425,8 @@ webhooks: - verified - created_at - read_only - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -110794,11 +110503,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - key: *638 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + key: *636 + organization: *627 + repository: *628 sender: *4 required: - action @@ -111370,12 +111079,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: &642 + workflow: &640 title: Workflow type: - object @@ -112113,13 +111822,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *417 + deployment: *415 pull_requests: type: array - items: *499 - repository: *630 - organization: *629 - installation: *628 + items: *497 + repository: *628 + organization: *627 + installation: *626 sender: *4 responses: '200': @@ -112190,7 +111899,7 @@ webhooks: type: string enum: - approved - approver: &639 + approver: &637 type: object properties: avatar_url: @@ -112233,11 +111942,11 @@ webhooks: type: string comment: type: string - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - reviewers: &640 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + reviewers: &638 type: array items: type: object @@ -112318,7 +112027,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &641 + workflow_job_run: &639 type: object properties: conclusion: @@ -113064,18 +112773,18 @@ webhooks: type: string enum: - rejected - approver: *639 + approver: *637 comment: type: string - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - reviewers: *640 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + reviewers: *638 sender: *4 since: type: string - workflow_job_run: *641 + workflow_job_run: *639 workflow_job_runs: type: array items: @@ -113792,13 +113501,13 @@ webhooks: type: string enum: - requested - enterprise: *627 + enterprise: *625 environment: type: string - installation: *628 - organization: *629 - repository: *630 - requestor: &647 + installation: *626 + organization: *627 + repository: *628 + requestor: &645 title: User type: - object @@ -115741,12 +115450,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: *642 + workflow: *640 workflow_run: title: Deployment Workflow Run type: @@ -116437,7 +116146,7 @@ webhooks: type: string enum: - answered - answer: &645 + answer: &643 type: object properties: author_association: @@ -116597,7 +116306,7 @@ webhooks: - created_at - updated_at - body - discussion: &643 + discussion: &641 title: Discussion description: A Discussion in a repository. type: object @@ -116893,7 +116602,7 @@ webhooks: - id labels: type: array - items: *462 + items: *460 required: - repository_url - category @@ -116915,10 +116624,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117045,11 +116754,11 @@ webhooks: - from required: - category - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117132,11 +116841,11 @@ webhooks: type: string enum: - closed - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117218,7 +116927,7 @@ webhooks: type: string enum: - created - comment: &644 + comment: &642 type: object properties: author_association: @@ -117378,11 +117087,11 @@ webhooks: - updated_at - body - reactions - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117465,12 +117174,12 @@ webhooks: type: string enum: - deleted - comment: *644 - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + comment: *642 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117565,12 +117274,12 @@ webhooks: - from required: - body - comment: *644 - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + comment: *642 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117654,11 +117363,11 @@ webhooks: type: string enum: - created - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117740,11 +117449,11 @@ webhooks: type: string enum: - deleted - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117844,11 +117553,11 @@ webhooks: type: string required: - from - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117930,10 +117639,10 @@ webhooks: type: string enum: - labeled - discussion: *643 - enterprise: *627 - installation: *628 - label: &646 + discussion: *641 + enterprise: *625 + installation: *626 + label: &644 title: Label type: object properties: @@ -117966,8 +117675,8 @@ webhooks: - color - default - description - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118050,11 +117759,11 @@ webhooks: type: string enum: - locked - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118136,11 +117845,11 @@ webhooks: type: string enum: - pinned - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118222,11 +117931,11 @@ webhooks: type: string enum: - reopened - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118311,16 +118020,16 @@ webhooks: changes: type: object properties: - new_discussion: *643 - new_repository: *630 + new_discussion: *641 + new_repository: *628 required: - new_discussion - new_repository - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118403,10 +118112,10 @@ webhooks: type: string enum: - unanswered - discussion: *643 - old_answer: *645 - organization: *629 - repository: *630 + discussion: *641 + old_answer: *643 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118488,12 +118197,12 @@ webhooks: type: string enum: - unlabeled - discussion: *643 - enterprise: *627 - installation: *628 - label: *646 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118576,11 +118285,11 @@ webhooks: type: string enum: - unlocked - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118662,11 +118371,11 @@ webhooks: type: string enum: - unpinned - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118739,7 +118448,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *627 + enterprise: *625 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -119417,9 +119126,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - forkee @@ -119565,9 +119274,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pages: description: The pages that were updated. type: array @@ -119605,7 +119314,7 @@ webhooks: - action - sha - html_url - repository: *630 + repository: *628 sender: *4 required: - pages @@ -119681,10 +119390,10 @@ webhooks: type: string enum: - created - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: &648 + organization: *627 + repositories: &646 description: An array of repository objects that the installation can access. type: array @@ -119710,8 +119419,8 @@ webhooks: - name - full_name - private - repository: *630 - requester: *647 + repository: *628 + requester: *645 sender: *4 required: - action @@ -119786,11 +119495,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: *648 - repository: *630 + organization: *627 + repositories: *646 + repository: *628 requester: type: - 'null' @@ -119867,11 +119576,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: *648 - repository: *630 + organization: *627 + repositories: *646 + repository: *628 requester: type: - 'null' @@ -119948,10 +119657,10 @@ webhooks: type: string enum: - added - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories_added: &649 + organization: *627 + repositories_added: &647 description: An array of repository objects, which were added to the installation. type: array @@ -119997,15 +119706,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *630 - repository_selection: &650 + repository: *628 + repository_selection: &648 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *647 + requester: *645 sender: *4 required: - action @@ -120084,10 +119793,10 @@ webhooks: type: string enum: - removed - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories_added: *649 + organization: *627 + repositories_added: *647 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120114,9 +119823,9 @@ webhooks: - name - full_name - private - repository: *630 - repository_selection: *650 - requester: *647 + repository: *628 + repository_selection: *648 + requester: *645 sender: *4 required: - action @@ -120195,11 +119904,11 @@ webhooks: type: string enum: - suspend - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: *648 - repository: *630 + organization: *627 + repositories: *646 + repository: *628 requester: type: - 'null' @@ -120381,10 +120090,10 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 target_type: type: string @@ -120463,11 +120172,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: *648 - repository: *630 + organization: *627 + repositories: *646 + repository: *628 requester: type: - 'null' @@ -120715,8 +120424,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121907,8 +121616,8 @@ webhooks: - state - locked - assignee - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -121988,7 +121697,7 @@ webhooks: type: string enum: - deleted - comment: &651 + comment: &649 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122155,8 +121864,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123345,8 +123054,8 @@ webhooks: - state - locked - assignee - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -123426,7 +123135,7 @@ webhooks: type: string enum: - edited - changes: &676 + changes: &674 description: The changes to the comment. type: object properties: @@ -123438,9 +123147,9 @@ webhooks: type: string required: - from - comment: *651 - enterprise: *627 - installation: *628 + comment: *649 + enterprise: *625 + installation: *626 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124630,8 +124339,8 @@ webhooks: - state - locked - assignee - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -124713,10 +124422,10 @@ webhooks: type: string enum: - assigned - assignee: *647 - enterprise: *627 - installation: *628 - issue: &654 + assignee: *645 + enterprise: *625 + installation: *626 + issue: &652 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -125661,8 +125370,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -125742,8 +125451,8 @@ webhooks: type: string enum: - closed - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126836,8 +126545,8 @@ webhooks: required: - state - closed_at - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -126916,8 +126625,8 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127855,8 +127564,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -127935,8 +127644,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128878,7 +128587,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &652 + milestone: &650 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129021,8 +128730,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -129121,8 +128830,8 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130067,9 +129776,9 @@ webhooks: - active_lock_reason - body - reactions - label: *646 - organization: *629 - repository: *630 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -130149,8 +129858,8 @@ webhooks: type: string enum: - labeled - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131094,9 +130803,9 @@ webhooks: - active_lock_reason - body - reactions - label: *646 - organization: *629 - repository: *630 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -131176,8 +130885,8 @@ webhooks: type: string enum: - locked - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132123,8 +131832,8 @@ webhooks: format: uri user_view_type: type: string - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -132203,8 +131912,8 @@ webhooks: type: string enum: - milestoned - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133144,9 +132853,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *652 - organization: *629 - repository: *630 + milestone: *650 + organization: *627 + repository: *628 sender: *4 required: - action @@ -134646,8 +134355,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135591,8 +135300,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -135672,9 +135381,9 @@ webhooks: type: string enum: - pinned - enterprise: *627 - installation: *628 - issue: &653 + enterprise: *625 + installation: *626 + issue: &651 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136612,8 +136321,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -136692,8 +136401,8 @@ webhooks: type: string enum: - reopened - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137638,8 +137347,8 @@ webhooks: user_view_type: type: string type: *181 - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -139140,11 +138849,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *627 - installation: *628 - issue: *653 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + issue: *651 + organization: *627 + repository: *628 sender: *4 required: - action @@ -139164,6 +138873,91 @@ 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: *625 + installation: *626 + issue: *652 + type: *181 + organization: *627 + repository: *628 + 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: |- @@ -139225,7 +139019,7 @@ webhooks: type: string enum: - unassigned - assignee: &679 + assignee: &677 title: User type: - object @@ -139297,11 +139091,11 @@ webhooks: required: - login - id - enterprise: *627 - installation: *628 - issue: *654 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + issue: *652 + organization: *627 + repository: *628 sender: *4 required: - action @@ -139380,12 +139174,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *627 - installation: *628 - issue: *654 - label: *646 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + issue: *652 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -139465,8 +139259,8 @@ webhooks: type: string enum: - unlocked - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140410,8 +140204,8 @@ webhooks: format: uri user_view_type: type: string - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -140491,15 +140285,100 @@ webhooks: type: string enum: - unpinned - enterprise: *627 - installation: *628 - issue: *653 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + issue: *651 + organization: *627 + repository: *628 + 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: *625 + installation: *626 + issue: *652 + type: *181 + organization: *627 + repository: *628 sender: *4 required: - action - issue + - type - repository - sender responses: @@ -140574,11 +140453,11 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - label: *646 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -140656,11 +140535,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - label: *646 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -140770,11 +140649,11 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - label: *646 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -140856,9 +140735,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *627 - installation: *628 - marketplace_purchase: &655 + enterprise: *625 + installation: *626 + marketplace_purchase: &653 title: Marketplace Purchase type: object required: @@ -140946,8 +140825,8 @@ webhooks: type: integer unit_count: type: integer - organization: *629 - previous_marketplace_purchase: &656 + organization: *627 + previous_marketplace_purchase: &654 title: Marketplace Purchase type: object properties: @@ -141031,7 +140910,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *630 + repository: *628 sender: *4 required: - action @@ -141111,10 +140990,10 @@ webhooks: - changed effective_date: type: string - enterprise: *627 - installation: *628 - marketplace_purchase: *655 - organization: *629 + enterprise: *625 + installation: *626 + marketplace_purchase: *653 + organization: *627 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141202,7 +141081,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *630 + repository: *628 sender: *4 required: - action @@ -141284,10 +141163,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *627 - installation: *628 - marketplace_purchase: *655 - organization: *629 + enterprise: *625 + installation: *626 + marketplace_purchase: *653 + organization: *627 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141373,7 +141252,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *630 + repository: *628 sender: *4 required: - action @@ -141454,8 +141333,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 marketplace_purchase: title: Marketplace Purchase type: object @@ -141541,9 +141420,9 @@ webhooks: type: integer unit_count: type: integer - organization: *629 - previous_marketplace_purchase: *656 - repository: *630 + organization: *627 + previous_marketplace_purchase: *654 + repository: *628 sender: *4 required: - action @@ -141623,12 +141502,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *627 - installation: *628 - marketplace_purchase: *655 - organization: *629 - previous_marketplace_purchase: *656 - repository: *630 + enterprise: *625 + installation: *626 + marketplace_purchase: *653 + organization: *627 + previous_marketplace_purchase: *654 + repository: *628 sender: *4 required: - action @@ -141730,11 +141609,11 @@ webhooks: type: string required: - to - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 sender: *4 required: - action @@ -141836,11 +141715,11 @@ webhooks: type: - string - 'null' - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 sender: *4 required: - action @@ -141919,11 +141798,11 @@ webhooks: type: string enum: - removed - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 sender: *4 required: - action @@ -142001,11 +141880,11 @@ webhooks: type: string enum: - added - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142083,7 +141962,7 @@ webhooks: required: - login - id - team: &657 + team: &655 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142276,11 +142155,11 @@ webhooks: type: string enum: - removed - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142359,7 +142238,7 @@ webhooks: required: - login - id - team: *657 + team: *655 required: - action - scope @@ -142441,8 +142320,8 @@ webhooks: type: string enum: - checks_requested - installation: *628 - merge_group: &658 + installation: *626 + merge_group: &656 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142461,15 +142340,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *348 + head_commit: *346 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -142555,10 +142434,10 @@ webhooks: - merged - invalidated - dequeued - installation: *628 - merge_group: *658 - organization: *629 - repository: *630 + installation: *626 + merge_group: *656 + organization: *627 + repository: *628 sender: *4 required: - action @@ -142631,7 +142510,7 @@ webhooks: type: string enum: - deleted - enterprise: *627 + enterprise: *625 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142739,12 +142618,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *628 - organization: *629 + installation: *626 + organization: *627 repository: anyOf: - type: 'null' - - *630 + - *628 sender: *4 required: - action @@ -142824,11 +142703,11 @@ webhooks: type: string enum: - closed - enterprise: *627 - installation: *628 - milestone: *652 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + milestone: *650 + organization: *627 + repository: *628 sender: *4 required: - action @@ -142907,9 +142786,9 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - milestone: &659 + enterprise: *625 + installation: *626 + milestone: &657 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143051,8 +142930,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143131,11 +143010,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - milestone: *652 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + milestone: *650 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143245,11 +143124,11 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - milestone: *652 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + milestone: *650 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143329,11 +143208,11 @@ webhooks: type: string enum: - opened - enterprise: *627 - installation: *628 - milestone: *659 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + milestone: *657 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143412,11 +143291,11 @@ webhooks: type: string enum: - blocked - blocked_user: *647 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + blocked_user: *645 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143495,11 +143374,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *647 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + blocked_user: *645 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143578,9 +143457,9 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - membership: &660 + enterprise: *625 + installation: *626 + membership: &658 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143674,8 +143553,8 @@ webhooks: - role - organization_url - user - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143753,11 +143632,11 @@ webhooks: type: string enum: - member_added - enterprise: *627 - installation: *628 - membership: *660 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + membership: *658 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143836,8 +143715,8 @@ webhooks: type: string enum: - member_invited - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -143959,10 +143838,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 - user: *647 + user: *645 required: - action - invitation @@ -144040,11 +143919,11 @@ webhooks: type: string enum: - member_removed - enterprise: *627 - installation: *628 - membership: *660 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + membership: *658 + organization: *627 + repository: *628 sender: *4 required: - action @@ -144131,11 +144010,11 @@ webhooks: properties: from: type: string - enterprise: *627 - installation: *628 - membership: *660 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + membership: *658 + organization: *627 + repository: *628 sender: *4 required: - action @@ -144211,9 +144090,9 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 package: description: Information about the package. type: object @@ -144736,7 +144615,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &661 + items: &659 title: Ruby Gems metadata type: object properties: @@ -144833,7 +144712,7 @@ webhooks: - owner - package_version - registry - repository: *630 + repository: *628 sender: *4 required: - action @@ -144909,9 +144788,9 @@ webhooks: type: string enum: - updated - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 package: description: Information about the package. type: object @@ -145273,7 +145152,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *661 + items: *659 source_url: type: string format: uri @@ -145344,7 +145223,7 @@ webhooks: - owner - package_version - registry - repository: *630 + repository: *628 sender: *4 required: - action @@ -145525,12 +145404,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *627 + enterprise: *625 id: type: integer - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - id @@ -145607,7 +145486,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &662 + personal_access_token_request: &660 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145757,10 +145636,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *627 - organization: *629 + enterprise: *625 + organization: *627 sender: *4 - installation: *628 + installation: *626 required: - action - personal_access_token_request @@ -145837,11 +145716,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *662 - enterprise: *627 - organization: *629 + personal_access_token_request: *660 + enterprise: *625 + organization: *627 sender: *4 - installation: *628 + installation: *626 required: - action - personal_access_token_request @@ -145917,11 +145796,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *662 - enterprise: *627 - organization: *629 + personal_access_token_request: *660 + enterprise: *625 + organization: *627 sender: *4 - installation: *628 + installation: *626 required: - action - personal_access_token_request @@ -145996,11 +145875,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *662 - organization: *629 - enterprise: *627 + personal_access_token_request: *660 + organization: *627 + enterprise: *625 sender: *4 - installation: *628 + installation: *626 required: - action - personal_access_token_request @@ -146105,7 +145984,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *663 + last_response: *661 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146137,8 +146016,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 zen: description: Random string of GitHub zen. @@ -146383,10 +146262,10 @@ webhooks: - from required: - note - enterprise: *627 - installation: *628 - organization: *629 - project_card: &664 + enterprise: *625 + installation: *626 + organization: *627 + project_card: &662 title: Project Card type: object properties: @@ -146509,7 +146388,7 @@ webhooks: - creator - created_at - updated_at - repository: *630 + repository: *628 sender: *4 required: - action @@ -146590,11 +146469,11 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - project_card: *664 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project_card: *662 + repository: *628 sender: *4 required: - action @@ -146674,9 +146553,9 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 project_card: title: Project Card type: object @@ -146806,7 +146685,7 @@ webhooks: repository: anyOf: - type: 'null' - - *630 + - *628 sender: *4 required: - action @@ -146900,11 +146779,11 @@ webhooks: - from required: - note - enterprise: *627 - installation: *628 - organization: *629 - project_card: *664 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project_card: *662 + repository: *628 sender: *4 required: - action @@ -146998,9 +146877,9 @@ webhooks: - from required: - column_id - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 project_card: allOf: - title: Project Card @@ -147197,7 +147076,7 @@ webhooks: type: string required: - after_id - repository: *630 + repository: *628 sender: *4 required: - action @@ -147277,10 +147156,10 @@ webhooks: type: string enum: - closed - enterprise: *627 - installation: *628 - organization: *629 - project: &666 + enterprise: *625 + installation: *626 + organization: *627 + project: &664 title: Project type: object properties: @@ -147407,7 +147286,7 @@ webhooks: - creator - created_at - updated_at - repository: *630 + repository: *628 sender: *4 required: - action @@ -147487,10 +147366,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - project_column: &665 + enterprise: *625 + installation: *626 + organization: *627 + project_column: &663 title: Project Column type: object properties: @@ -147530,7 +147409,7 @@ webhooks: - name - created_at - updated_at - repository: *630 + repository: *628 sender: *4 required: - action @@ -147609,14 +147488,14 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - project_column: *665 + enterprise: *625 + installation: *626 + organization: *627 + project_column: *663 repository: anyOf: - type: 'null' - - *630 + - *628 sender: *4 required: - action @@ -147705,11 +147584,11 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 - project_column: *665 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project_column: *663 + repository: *628 sender: *4 required: - action @@ -147789,11 +147668,11 @@ webhooks: type: string enum: - moved - enterprise: *627 - installation: *628 - organization: *629 - project_column: *665 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project_column: *663 + repository: *628 sender: *4 required: - action @@ -147873,11 +147752,11 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - project: *666 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project: *664 + repository: *628 sender: *4 required: - action @@ -147957,14 +147836,14 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - project: *666 + enterprise: *625 + installation: *626 + organization: *627 + project: *664 repository: anyOf: - type: 'null' - - *630 + - *628 sender: *4 required: - action @@ -148065,11 +147944,11 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 - project: *666 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project: *664 + repository: *628 sender: *4 required: - action @@ -148148,11 +148027,11 @@ webhooks: type: string enum: - reopened - enterprise: *627 - installation: *628 - organization: *629 - project: *666 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project: *664 + repository: *628 sender: *4 required: - action @@ -148233,9 +148112,9 @@ webhooks: type: string enum: - closed - installation: *628 - organization: *629 - projects_v2: &667 + installation: *626 + organization: *627 + projects_v2: &665 title: Projects v2 Project description: A projects v2 project type: object @@ -148383,9 +148262,9 @@ webhooks: type: string enum: - created - installation: *628 - organization: *629 - projects_v2: *667 + installation: *626 + organization: *627 + projects_v2: *665 sender: *4 required: - action @@ -148466,9 +148345,9 @@ webhooks: type: string enum: - deleted - installation: *628 - organization: *629 - projects_v2: *667 + installation: *626 + organization: *627 + projects_v2: *665 sender: *4 required: - action @@ -148589,9 +148468,9 @@ webhooks: type: string to: type: string - installation: *628 - organization: *629 - projects_v2: *667 + installation: *626 + organization: *627 + projects_v2: *665 sender: *4 required: - action @@ -148674,7 +148553,7 @@ webhooks: type: string enum: - archived - changes: &671 + changes: &669 type: object properties: archived_at: @@ -148690,9 +148569,9 @@ webhooks: - string - 'null' format: date-time - installation: *628 - organization: *629 - projects_v2_item: &668 + installation: *626 + organization: *627 + projects_v2_item: &666 title: Projects v2 Item description: An item belonging to a project type: object @@ -148831,9 +148710,9 @@ webhooks: - 'null' to: type: string - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -148915,9 +148794,9 @@ webhooks: type: string enum: - created - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -148998,9 +148877,9 @@ webhooks: type: string enum: - deleted - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -149105,7 +148984,7 @@ webhooks: oneOf: - type: string - type: integer - - &669 + - &667 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149125,7 +149004,7 @@ webhooks: required: - id - name - - &670 + - &668 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149154,8 +149033,8 @@ webhooks: oneOf: - type: string - type: integer - - *669 - - *670 + - *667 + - *668 type: - 'null' - string @@ -149178,9 +149057,9 @@ webhooks: - 'null' required: - body - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -149277,9 +149156,9 @@ webhooks: type: - string - 'null' - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -149362,10 +149241,10 @@ webhooks: type: string enum: - restored - changes: *671 - installation: *628 - organization: *629 - projects_v2_item: *668 + changes: *669 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -149447,9 +149326,9 @@ webhooks: type: string enum: - reopened - installation: *628 - organization: *629 - projects_v2: *667 + installation: *626 + organization: *627 + projects_v2: *665 sender: *4 required: - action @@ -149530,9 +149409,9 @@ webhooks: type: string enum: - created - installation: *628 - organization: *629 - projects_v2_status_update: &672 + installation: *626 + organization: *627 + projects_v2_status_update: &670 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -149667,9 +149546,9 @@ webhooks: type: string enum: - deleted - installation: *628 - organization: *629 - projects_v2_status_update: *672 + installation: *626 + organization: *627 + projects_v2_status_update: *670 sender: *4 required: - action @@ -149815,9 +149694,9 @@ webhooks: - string - 'null' format: date - installation: *628 - organization: *629 - projects_v2_status_update: *672 + installation: *626 + organization: *627 + projects_v2_status_update: *670 sender: *4 required: - action @@ -149888,10 +149767,10 @@ webhooks: title: public event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - repository @@ -149968,13 +149847,13 @@ webhooks: type: string enum: - assigned - assignee: *647 - enterprise: *627 - installation: *628 - number: &673 + assignee: *645 + enterprise: *625 + installation: *626 + number: &671 description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -152323,7 +152202,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -152405,11 +152284,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -154751,7 +154630,7 @@ webhooks: - draft reason: type: string - repository: *630 + repository: *628 sender: *4 required: - action @@ -154833,11 +154712,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -157179,7 +157058,7 @@ webhooks: - draft reason: type: string - repository: *630 + repository: *628 sender: *4 required: - action @@ -157261,13 +157140,13 @@ webhooks: type: string enum: - closed - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: &674 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: &672 allOf: - - *499 + - *497 - type: object properties: allow_auto_merge: @@ -157329,7 +157208,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *630 + repository: *628 sender: *4 required: - action @@ -157410,12 +157289,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -157495,11 +157374,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *627 - milestone: *397 - number: *673 - organization: *629 - pull_request: &675 + enterprise: *625 + milestone: *395 + number: *671 + organization: *627 + pull_request: &673 title: Pull Request type: object properties: @@ -159826,7 +159705,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -159905,11 +159784,11 @@ webhooks: type: string enum: - dequeued - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -162255,7 +162134,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *630 + repository: *628 sender: *4 required: - action @@ -162379,12 +162258,12 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -162464,11 +162343,11 @@ webhooks: type: string enum: - enqueued - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -164799,7 +164678,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -164879,11 +164758,11 @@ webhooks: type: string enum: - labeled - enterprise: *627 - installation: *628 - label: *646 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + label: *644 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -167231,7 +167110,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -167312,10 +167191,10 @@ webhooks: type: string enum: - locked - enterprise: *627 - installation: *628 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -169661,7 +169540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -169741,12 +169620,12 @@ webhooks: type: string enum: - milestoned - enterprise: *627 - milestone: *397 - number: *673 - organization: *629 - pull_request: *675 - repository: *630 + enterprise: *625 + milestone: *395 + number: *671 + organization: *627 + pull_request: *673 + repository: *628 sender: *4 required: - action @@ -169825,12 +169704,12 @@ webhooks: type: string enum: - opened - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -169911,12 +169790,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -169996,12 +169875,12 @@ webhooks: type: string enum: - reopened - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -170376,9 +170255,9 @@ webhooks: - start_side - side - reactions - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: type: object properties: @@ -172608,7 +172487,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *630 + repository: *628 sender: *4 required: - action @@ -172688,7 +172567,7 @@ webhooks: type: string enum: - deleted - comment: &677 + comment: &675 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -172981,9 +172860,9 @@ webhooks: - start_side - side - reactions - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: type: object properties: @@ -175201,7 +175080,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *630 + repository: *628 sender: *4 required: - action @@ -175281,11 +175160,11 @@ webhooks: type: string enum: - edited - changes: *676 - comment: *677 - enterprise: *627 - installation: *628 - organization: *629 + changes: *674 + comment: *675 + enterprise: *625 + installation: *626 + organization: *627 pull_request: type: object properties: @@ -177506,7 +177385,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *630 + repository: *628 sender: *4 required: - action @@ -177587,9 +177466,9 @@ webhooks: type: string enum: - dismissed - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -179822,7 +179701,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 + repository: *628 review: description: The review that was affected. type: object @@ -180068,9 +179947,9 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -182184,8 +182063,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 - review: &678 + repository: *628 + review: &676 description: The review that was affected. type: object properties: @@ -182418,12 +182297,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -184770,7 +184649,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 requested_reviewer: title: User type: @@ -184856,12 +184735,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -187215,7 +187094,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187410,12 +187289,12 @@ webhooks: type: string enum: - review_requested - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -189764,7 +189643,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 requested_reviewer: title: User type: @@ -189851,12 +189730,12 @@ webhooks: type: string enum: - review_requested - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -192196,7 +192075,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192380,9 +192259,9 @@ webhooks: type: string enum: - submitted - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -194618,8 +194497,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 - review: *678 + repository: *628 + review: *676 sender: *4 required: - action @@ -194699,9 +194578,9 @@ webhooks: type: string enum: - resolved - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -196832,7 +196711,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 + repository: *628 sender: *4 thread: type: object @@ -197224,9 +197103,9 @@ webhooks: type: string enum: - unresolved - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -199340,7 +199219,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 + repository: *628 sender: *4 thread: type: object @@ -199734,10 +199613,10 @@ webhooks: type: string before: type: string - enterprise: *627 - installation: *628 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -202072,7 +201951,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -202154,11 +202033,11 @@ webhooks: type: string enum: - unassigned - assignee: *679 - enterprise: *627 - installation: *628 - number: *673 - organization: *629 + assignee: *677 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -204508,7 +204387,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -204587,11 +204466,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *627 - installation: *628 - label: *646 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + label: *644 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -206930,7 +206809,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -207011,10 +206890,10 @@ webhooks: type: string enum: - unlocked - enterprise: *627 - installation: *628 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -209343,7 +209222,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -209546,7 +209425,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *627 + enterprise: *625 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209641,8 +209520,8 @@ webhooks: - url - author - committer - installation: *628 - organization: *629 + installation: *626 + organization: *627 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210230,9 +210109,9 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 registry_package: type: object properties: @@ -210709,7 +210588,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *661 + items: *659 summary: type: string tag_name: @@ -210765,7 +210644,7 @@ webhooks: - owner - package_version - registry - repository: *630 + repository: *628 sender: *4 required: - action @@ -210843,9 +210722,9 @@ webhooks: type: string enum: - updated - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 registry_package: type: object properties: @@ -211157,7 +211036,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *661 + items: *659 summary: type: string tag_name: @@ -211207,7 +211086,7 @@ webhooks: - owner - package_version - registry - repository: *630 + repository: *628 sender: *4 required: - action @@ -211284,10 +211163,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - release: &680 + enterprise: *625 + installation: *626 + organization: *627 + release: &678 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211603,7 +211482,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *630 + repository: *628 sender: *4 required: - action @@ -211680,11 +211559,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - release: *680 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + release: *678 + repository: *628 sender: *4 required: - action @@ -211801,11 +211680,11 @@ webhooks: type: boolean required: - to - enterprise: *627 - installation: *628 - organization: *629 - release: *680 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + release: *678 + repository: *628 sender: *4 required: - action @@ -211883,9 +211762,9 @@ webhooks: type: string enum: - prereleased - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212206,7 +212085,7 @@ webhooks: - string - 'null' format: uri - repository: *630 + repository: *628 sender: *4 required: - action @@ -212282,10 +212161,10 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 - release: &681 + enterprise: *625 + installation: *626 + organization: *627 + release: &679 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212603,7 +212482,7 @@ webhooks: - string - 'null' format: uri - repository: *630 + repository: *628 sender: *4 required: - action @@ -212679,11 +212558,11 @@ webhooks: type: string enum: - released - enterprise: *627 - installation: *628 - organization: *629 - release: *680 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + release: *678 + repository: *628 sender: *4 required: - action @@ -212759,11 +212638,11 @@ webhooks: type: string enum: - unpublished - enterprise: *627 - installation: *628 - organization: *629 - release: *681 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + release: *679 + repository: *628 sender: *4 required: - action @@ -212839,11 +212718,11 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - repository_advisory: *559 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + repository_advisory: *557 sender: *4 required: - action @@ -212919,11 +212798,11 @@ webhooks: type: string enum: - reported - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - repository_advisory: *559 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + repository_advisory: *557 sender: *4 required: - action @@ -212999,10 +212878,10 @@ webhooks: type: string enum: - archived - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213079,10 +212958,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213160,10 +213039,10 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213248,10 +213127,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213366,10 +213245,10 @@ webhooks: - 'null' items: type: string - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213441,10 +213320,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 status: type: string @@ -213525,10 +213404,10 @@ webhooks: type: string enum: - privatized - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213605,10 +213484,10 @@ webhooks: type: string enum: - publicized - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213702,10 +213581,10 @@ webhooks: - name required: - repository - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213785,10 +213664,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 repository_ruleset: *229 sender: *4 required: @@ -213867,10 +213746,10 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 repository_ruleset: *229 sender: *4 required: @@ -213949,10 +213828,10 @@ webhooks: type: string enum: - edited - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 repository_ruleset: *229 changes: type: object @@ -214260,10 +214139,10 @@ webhooks: - from required: - owner - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -214341,10 +214220,10 @@ webhooks: type: string enum: - unarchived - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -214422,7 +214301,7 @@ webhooks: type: string enum: - create - alert: &682 + alert: &680 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214546,10 +214425,10 @@ webhooks: type: string enum: - open - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -214759,10 +214638,10 @@ webhooks: type: string enum: - dismissed - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -214840,11 +214719,11 @@ webhooks: type: string enum: - reopen - alert: *682 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *680 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215046,10 +214925,10 @@ webhooks: enum: - fixed - open - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215127,7 +215006,7 @@ webhooks: type: string enum: - created - alert: &683 + alert: &681 type: object properties: number: *52 @@ -215237,10 +215116,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215321,11 +215200,11 @@ webhooks: type: string enum: - created - alert: *683 - installation: *628 - location: *684 - organization: *629 - repository: *630 + alert: *681 + installation: *626 + location: *682 + organization: *627 + repository: *628 sender: *4 required: - location @@ -215563,11 +215442,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *683 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *681 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215645,11 +215524,11 @@ webhooks: type: string enum: - reopened - alert: *683 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *681 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215727,11 +215606,11 @@ webhooks: type: string enum: - resolved - alert: *683 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *681 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215809,11 +215688,11 @@ webhooks: type: string enum: - validated - alert: *683 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *681 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215943,10 +215822,10 @@ webhooks: - organization - enterprise - - repository: *630 - enterprise: *627 - installation: *628 - organization: *629 + repository: *628 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -216024,11 +215903,11 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - security_advisory: &685 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + security_advisory: &683 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216214,11 +216093,11 @@ webhooks: type: string enum: - updated - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - security_advisory: *685 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + security_advisory: *683 sender: *4 required: - action @@ -216291,10 +216170,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216481,10 +216360,10 @@ webhooks: type: object properties: security_and_analysis: *222 - enterprise: *627 - installation: *628 - organization: *629 - repository: *276 + enterprise: *625 + installation: *626 + organization: *627 + repository: *274 sender: *4 required: - changes @@ -216562,12 +216441,12 @@ webhooks: type: string enum: - cancelled - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: &686 + sponsorship: &684 type: object properties: created_at: @@ -216872,12 +216751,12 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - sponsorship @@ -216965,12 +216844,12 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - changes @@ -217047,17 +216926,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &687 + effective_date: &685 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: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - sponsorship @@ -217131,7 +217010,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &688 + changes: &686 type: object properties: tier: @@ -217175,13 +217054,13 @@ webhooks: - from required: - tier - effective_date: *687 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + effective_date: *685 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - changes @@ -217258,13 +217137,13 @@ webhooks: type: string enum: - tier_changed - changes: *688 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + changes: *686 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - changes @@ -217338,10 +217217,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217425,10 +217304,10 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217862,15 +217741,15 @@ webhooks: type: - string - 'null' - enterprise: *627 + enterprise: *625 id: description: The unique identifier of the status. type: integer - installation: *628 + installation: *626 name: type: string - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 sha: description: The Commit SHA. @@ -217986,9 +217865,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -218078,9 +217957,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -218170,9 +218049,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -218262,9 +218141,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -218341,12 +218220,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - team: &689 + team: &687 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218539,9 +218418,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -219011,7 +218890,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - team @@ -219087,9 +218966,9 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -219559,7 +219438,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - team @@ -219636,9 +219515,9 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -220108,7 +219987,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - team @@ -220252,9 +220131,9 @@ webhooks: - from required: - permissions - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -220724,7 +220603,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - changes @@ -220802,9 +220681,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -221274,7 +221153,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - team @@ -221350,10 +221229,10 @@ webhooks: type: string enum: - started - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -221426,17 +221305,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *627 + enterprise: *625 inputs: type: - object - 'null' additionalProperties: true - installation: *628 - organization: *629 + installation: *626 + organization: *627 ref: type: string - repository: *630 + repository: *628 sender: *4 workflow: type: string @@ -221518,10 +221397,10 @@ webhooks: type: string enum: - completed - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 workflow_job: allOf: @@ -221777,7 +221656,7 @@ webhooks: type: string required: - conclusion - deployment: *417 + deployment: *415 required: - action - repository @@ -221856,10 +221735,10 @@ webhooks: type: string enum: - in_progress - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 workflow_job: allOf: @@ -222141,7 +222020,7 @@ webhooks: required: - status - steps - deployment: *417 + deployment: *415 required: - action - repository @@ -222220,10 +222099,10 @@ webhooks: type: string enum: - queued - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 workflow_job: type: object @@ -222369,7 +222248,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *417 + deployment: *415 required: - action - repository @@ -222448,10 +222327,10 @@ webhooks: type: string enum: - waiting - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 workflow_job: type: object @@ -222598,7 +222477,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *417 + deployment: *415 required: - action - repository @@ -222678,12 +222557,12 @@ webhooks: type: string enum: - completed - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: *642 + workflow: *640 workflow_run: title: Workflow Run type: object @@ -223702,12 +223581,12 @@ webhooks: type: string enum: - in_progress - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: *642 + workflow: *640 workflow_run: title: Workflow Run type: object @@ -224711,12 +224590,12 @@ webhooks: type: string enum: - requested - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: *642 + workflow: *640 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 67663720b4..f767685a1e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -88306,366 +88306,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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", @@ -158215,375 +157855,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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", @@ -281636,7 +280907,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" ], @@ -886387,11 +885658,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" }, @@ -886458,114 +885729,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", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } - }, - "required": [ - "login", - "id" + "typed" ] }, "enterprise": { @@ -888016,6 +887186,73 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, "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.", @@ -889776,6 +889013,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] @@ -889800,11 +889038,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" }, @@ -889871,13 +889109,114 @@ "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", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" ] }, "enterprise": { @@ -890305,16 +889644,6708 @@ "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", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "App", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "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", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "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", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "App", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "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", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "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", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "label": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "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", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": [ + "object", + "null" + ], + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + } } }, "labels_url": { @@ -890322,7 +896353,10 @@ "format": "uri-template" }, "locked": { - "type": "boolean" + "type": "boolean", + "enum": [ + false + ] }, "milestone": { "title": "Milestone", @@ -890331,6 +896365,24 @@ "object", "null" ], + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], "properties": { "closed_at": { "type": [ @@ -890352,6 +896404,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -890429,8 +896485,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -890440,11 +896495,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "description": { "type": [ @@ -890500,25 +896551,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" @@ -890533,6 +896566,17 @@ "object", "null" ], + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], "properties": { "created_at": { "type": [ @@ -890597,9 +896641,7 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" + "workflow_run" ] } }, @@ -890634,6 +896676,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -890721,11 +896767,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -890854,8 +896896,7 @@ "type": "string", "enum": [ "read", - "write", - "admin" + "write" ] }, "organization_secrets": { @@ -890990,18 +897031,7 @@ ], "format": "date-time" } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] + } }, "pull_request": { "type": "object", @@ -891034,6 +897064,18 @@ "reactions": { "title": "Reactions", "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], "properties": { "+1": { "type": "integer" @@ -891066,19 +897108,7 @@ "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + } }, "repository_url": { "type": "string", @@ -891208,6 +897238,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -891286,8 +897320,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -891297,79 +897330,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", - "null" - ] - }, - "id": { - "type": "integer" - }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" + } } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] + } }, "organization": { "title": "Organization Simple", @@ -893155,11 +899118,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" }, @@ -893226,13 +899189,13 @@ "content": { "application/json": { "schema": { - "title": "issues unlocked event", + "title": "issues unpinned event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unlocked" + "unpinned" ] }, "enterprise": { @@ -893354,30 +899317,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": [ @@ -893398,10 +899337,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -893489,7 +899424,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -893499,10 +899438,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -893590,7 +899525,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -893652,19 +899591,7 @@ "type": "array", "items": { "title": "Label", - "type": [ - "object", - "null" - ], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], + "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -893694,7 +899621,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -893702,10 +899638,7 @@ "format": "uri-template" }, "locked": { - "type": "boolean", - "enum": [ - false - ] + "type": "boolean" }, "milestone": { "title": "Milestone", @@ -893714,24 +899647,6 @@ "object", "null" ], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], "properties": { "closed_at": { "type": [ @@ -893753,10 +899668,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -893844,7 +899755,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": [ @@ -893900,7 +899815,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" @@ -893915,17 +899848,6 @@ "object", "null" ], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": [ @@ -894025,10 +899947,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -894116,7 +900034,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -894380,7 +900302,18 @@ ], "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -894413,18 +900346,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -894457,7 +900378,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -894587,10 +900520,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -894679,9 +900608,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", @@ -896467,11 +902423,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" }, @@ -896538,13 +902494,13 @@ "content": { "application/json": { "schema": { - "title": "issues unpinned event", + "title": "issues untyped event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unpinned" + "untyped" ] }, "enterprise": { @@ -896763,7 +902719,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -896864,7 +902821,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -897094,7 +903052,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -897261,7 +903220,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -897516,7 +903477,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -897947,7 +903909,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -897988,6 +903951,73 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, "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.", @@ -899748,6 +905778,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 52984b6aae..4de1a97be7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1063,7 +1063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &561 + - &559 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8951,7 +8951,7 @@ paths: - direct - transitive - - security_advisory: &409 + security_advisory: &407 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9219,7 +9219,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &410 + auto_dismissed_at: &408 type: - string - 'null' @@ -9689,14 +9689,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &553 + state: &551 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: &554 + resolution: &552 type: - string - 'null' @@ -10254,7 +10254,7 @@ paths: milestone: anyOf: - type: 'null' - - &397 + - &395 title: Milestone description: A collection of related issues and pull requests. @@ -10571,7 +10571,7 @@ paths: - author_association - created_at - updated_at - comment: &456 + comment: &454 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11146,7 +11146,7 @@ paths: url: type: string format: uri - user: &584 + user: &582 title: Public User description: Public User type: object @@ -14503,14 +14503,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &265 + - &263 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &266 + - &264 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14581,7 +14581,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &277 + '301': &275 description: Moved permanently content: application/json: @@ -14603,7 +14603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &485 + - &483 name: all description: If `true`, show notifications marked as read. in: query @@ -14611,7 +14611,7 @@ paths: schema: type: boolean default: false - - &486 + - &484 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14621,7 +14621,7 @@ paths: type: boolean default: false - *64 - - &487 + - &485 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: @@ -15139,7 +15139,7 @@ paths: - url - subscription_url examples: - default: &488 + default: &486 value: - id: '1' repository: @@ -15760,7 +15760,7 @@ paths: - avatar_url - description examples: - default: &601 + default: &599 value: - login: github id: 1 @@ -16736,7 +16736,7 @@ paths: type: integer repository_cache_usages: type: array - items: &282 + items: &280 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17634,7 +17634,7 @@ paths: - all - local_only - selected - selected_actions_url: &288 + selected_actions_url: &286 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` @@ -17724,7 +17724,7 @@ paths: type: array items: *59 examples: - default: &595 + default: &593 value: total_count: 1 repositories: @@ -18052,7 +18052,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &290 type: object properties: default_workflow_permissions: &108 @@ -18103,7 +18103,7 @@ paths: required: false content: application/json: - schema: &293 + schema: &291 type: object properties: default_workflow_permissions: *108 @@ -18596,7 +18596,7 @@ paths: type: array items: *115 examples: - default: &587 + default: &585 value: total_count: 1 repositories: @@ -19243,7 +19243,7 @@ paths: application/json: schema: type: array - items: &294 + items: &292 title: Runner Application description: Runner Application type: object @@ -19268,7 +19268,7 @@ paths: - download_url - filename examples: - default: &295 + default: &293 value: - os: osx architecture: x64 @@ -19354,7 +19354,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &296 + '201': &294 description: Response content: application/json: @@ -19469,7 +19469,7 @@ paths: - token - expires_at examples: - default: &297 + default: &295 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -19508,7 +19508,7 @@ paths: application/json: schema: *119 examples: - default: &298 + default: &296 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -19542,7 +19542,7 @@ paths: application/json: schema: *117 examples: - default: &299 + default: &297 value: id: 23 name: MBP @@ -19767,7 +19767,7 @@ paths: - *90 - *116 responses: - '200': &300 + '200': &298 description: Response content: application/json: @@ -19824,7 +19824,7 @@ paths: parameters: - *90 - *116 - - &301 + - &299 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19956,7 +19956,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &311 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19991,7 +19991,7 @@ paths: - key_id - key examples: - default: &314 + default: &312 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20404,7 +20404,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *90 - - &287 + - &285 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)." @@ -20944,7 +20944,7 @@ paths: bundle_url: type: string examples: - default: &327 + default: &325 value: attestations: - bundle: @@ -21181,7 +21181,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *90 - - &352 + - &350 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`, @@ -21191,7 +21191,7 @@ paths: schema: &131 type: string description: The name of the tool used to generate the code scanning analysis. - - &353 + - &351 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 @@ -21215,7 +21215,7 @@ paths: be returned. in: query required: false - schema: &355 + schema: &353 type: string description: State of a code scanning alert. enum: @@ -21238,7 +21238,7 @@ paths: be returned. in: query required: false - schema: &356 + schema: &354 type: string description: Severity of a code scanning alert. enum: @@ -21264,7 +21264,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &357 + instances_url: &355 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -21286,7 +21286,7 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: &358 + dismissed_reason: &356 type: - string - 'null' @@ -21297,14 +21297,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &359 + dismissed_comment: &357 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &360 + rule: &358 type: object properties: id: @@ -21365,7 +21365,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &361 + tool: &359 type: object properties: name: *131 @@ -21376,15 +21376,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *132 - most_recent_instance: &362 + most_recent_instance: &360 type: object properties: - ref: &354 + ref: &352 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &372 + analysis_key: &370 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -21395,7 +21395,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &373 + category: &371 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -22674,7 +22674,7 @@ paths: machine: anyOf: - type: 'null' - - &385 + - &383 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -23626,7 +23626,7 @@ paths: - updated_at - visibility examples: - default: &386 + default: &384 value: total_count: 2 secrets: @@ -23664,7 +23664,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &385 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23699,7 +23699,7 @@ paths: - key_id - key examples: - default: &388 + default: &386 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23731,7 +23731,7 @@ paths: application/json: schema: *141 examples: - default: &390 + default: &388 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -25354,224 +25354,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: - - *90 - - 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: &248 - 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 - - 'null' - description: Breakdown of Copilot code completions usage by - language and editor - 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: &249 - 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': *140 - '401': *23 - '403': *27 - '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 @@ -25734,7 +25516,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &411 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -25753,7 +25535,7 @@ paths: - key_id - key examples: - default: &414 + default: &412 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27574,7 +27356,7 @@ paths: application/json: schema: *20 examples: - default: &452 + default: &450 value: id: 1 account: @@ -27802,7 +27584,7 @@ paths: required: true content: application/json: - schema: &453 + schema: &451 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -28665,7 +28447,7 @@ paths: application/json: schema: *187 examples: - default: &384 + default: &382 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -29903,7 +29685,7 @@ paths: parameters: - *90 - *194 - - &600 + - &598 name: repo_name description: repo_name parameter in: path @@ -30946,7 +30728,7 @@ paths: - nuget - container - *90 - - &602 + - &600 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30987,7 +30769,7 @@ paths: default: *201 '403': *27 '401': *23 - '400': &604 + '400': &602 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32864,7 +32646,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &274 + '410': &272 description: Gone content: application/json: @@ -33790,7 +33572,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &274 title: Full Repository description: Full Repository type: object @@ -34255,7 +34037,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &403 + code_of_conduct: &401 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -34369,7 +34151,7 @@ paths: - network_count - subscribers_count examples: - default: &278 + default: &276 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34890,7 +34672,7 @@ paths: - *90 - *17 - *19 - - &538 + - &536 name: targets description: | A comma-separated list of rule targets to filter by. @@ -35176,7 +34958,7 @@ paths: type: object description: A repository rule. oneOf: - - &516 + - &514 title: creation description: Only allow users with bypass permission to create matching refs. @@ -35188,7 +34970,7 @@ paths: type: string enum: - creation - - &517 + - &515 title: update description: Only allow users with bypass permission to update matching refs. @@ -35209,7 +34991,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &519 + - &517 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -35221,7 +35003,7 @@ paths: type: string enum: - deletion - - &520 + - &518 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -35233,7 +35015,7 @@ paths: type: string enum: - required_linear_history - - &521 + - &519 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -35311,7 +35093,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &522 + - &520 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -35335,7 +35117,7 @@ paths: type: string required: - required_deployment_environments - - &523 + - &521 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -35347,7 +35129,7 @@ paths: type: string enum: - required_signatures - - &524 + - &522 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -35411,7 +35193,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &525 + - &523 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -35459,7 +35241,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &526 + - &524 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -35471,7 +35253,7 @@ paths: type: string enum: - non_fast_forward - - &527 + - &525 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35507,7 +35289,7 @@ paths: required: - operator - pattern - - &528 + - &526 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -35543,7 +35325,7 @@ paths: required: - operator - pattern - - &529 + - &527 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -35579,7 +35361,7 @@ paths: required: - operator - pattern - - &530 + - &528 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -35615,7 +35397,7 @@ paths: required: - operator - pattern - - &531 + - &529 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35651,7 +35433,7 @@ paths: required: - operator - pattern - - &532 + - &530 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -35676,7 +35458,7 @@ paths: type: string required: - restricted_file_paths - - &533 + - &531 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -35700,7 +35482,7 @@ paths: maximum: 256 required: - max_file_path_length - - &534 + - &532 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -35723,7 +35505,7 @@ paths: type: string required: - restricted_file_extensions - - &535 + - &533 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -35748,7 +35530,7 @@ paths: maximum: 100 required: - max_file_size - - &536 + - &534 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35798,7 +35580,7 @@ paths: - repository_id required: - workflows - - &537 + - &535 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -36036,7 +35818,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *90 - - &539 + - &537 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 @@ -36051,7 +35833,7 @@ paths: in: query schema: type: string - - &540 + - &538 name: time_period description: |- The time period to filter by. @@ -36067,14 +35849,14 @@ paths: - week - month default: day - - &541 + - &539 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 - - &542 + - &540 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -36094,7 +35876,7 @@ paths: description: Response content: application/json: - schema: &543 + schema: &541 title: Rule Suites description: Response type: array @@ -36150,7 +35932,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &544 + default: &542 value: - id: 21 actor_id: 12 @@ -36194,7 +35976,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *90 - - &545 + - &543 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -36210,7 +35992,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &544 title: Rule Suite description: Response type: object @@ -36317,7 +36099,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &547 + default: &545 value: id: 21 actor_id: 12 @@ -36563,7 +36345,7 @@ paths: type: string format: date-time examples: - default: &549 + default: &547 value: - version_id: 3 actor: @@ -36616,7 +36398,7 @@ paths: description: Response content: application/json: - schema: &550 + schema: &548 allOf: - *231 - type: object @@ -36695,7 +36477,7 @@ paths: - *46 - *19 - *17 - - &551 + - &549 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 @@ -36705,7 +36487,7 @@ paths: required: false schema: type: string - - &552 + - &550 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 @@ -36797,7 +36579,7 @@ paths: application/json: schema: type: array - items: &559 + items: &557 description: A repository security advisory. type: object properties: @@ -37116,7 +36898,7 @@ paths: - private_fork additionalProperties: false examples: - default: &560 + default: &558 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37590,7 +37372,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &616 type: object properties: total_minutes_used: @@ -37660,7 +37442,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &619 + default: &617 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37696,7 +37478,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &618 type: object properties: total_gigabytes_bandwidth_used: @@ -37714,7 +37496,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &621 + default: &619 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37746,7 +37528,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &620 type: object properties: days_left_in_billing_cycle: @@ -37764,7 +37546,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &623 + default: &621 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -38216,79 +37998,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: - - *90 - - *195 - - 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: *248 - examples: - default: *249 - '500': *140 - '401': *23 - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -38407,7 +38116,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &248 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38787,7 +38496,7 @@ paths: - repos_count - organization examples: - default: &251 + default: &249 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38864,9 +38573,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -38951,16 +38660,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '201': description: Response content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '404': *6 '422': *15 '403': *27 @@ -39030,7 +38739,7 @@ paths: application/json: schema: type: array - items: &252 + items: &250 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -39141,7 +38850,7 @@ paths: - updated_at - url examples: - default: &574 + default: &572 value: - author: login: octocat @@ -39250,9 +38959,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: &253 + default: &251 value: author: login: octocat @@ -39326,7 +39035,7 @@ paths: parameters: - *90 - *195 - - &254 + - &252 name: discussion_number description: The number that identifies the discussion. in: path @@ -39338,9 +39047,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *253 + default: *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39364,7 +39073,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 requestBody: required: false content: @@ -39387,9 +39096,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: &575 + default: &573 value: author: login: octocat @@ -39461,7 +39170,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 responses: '204': description: Response @@ -39489,7 +39198,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 - *46 - *17 - *19 @@ -39500,7 +39209,7 @@ paths: application/json: schema: type: array - items: &255 + items: &253 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39580,7 +39289,7 @@ paths: - updated_at - url examples: - default: &576 + default: &574 value: - author: login: octocat @@ -39650,7 +39359,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 requestBody: required: true content: @@ -39672,9 +39381,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: &256 + default: &254 value: author: login: octocat @@ -39742,8 +39451,8 @@ paths: parameters: - *90 - *195 - - *254 - - &257 + - *252 + - &255 name: comment_number description: The number that identifies the comment. in: path @@ -39755,9 +39464,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39781,8 +39490,8 @@ paths: parameters: - *90 - *195 - - *254 - - *257 + - *252 + - *255 requestBody: required: true content: @@ -39804,9 +39513,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: &577 + default: &575 value: author: login: octocat @@ -39872,8 +39581,8 @@ paths: parameters: - *90 - *195 - - *254 - - *257 + - *252 + - *255 responses: '204': description: Response @@ -39901,8 +39610,8 @@ paths: parameters: - *90 - *195 - - *254 - - *257 + - *252 + - *255 - 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. @@ -39928,7 +39637,7 @@ paths: application/json: schema: type: array - items: &258 + items: &256 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39972,7 +39681,7 @@ paths: - content - created_at examples: - default: &260 + default: &258 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40024,8 +39733,8 @@ paths: parameters: - *90 - *195 - - *254 - - *257 + - *252 + - *255 requestBody: required: true content: @@ -40058,9 +39767,9 @@ paths: team discussion comment content: application/json: - schema: *258 + schema: *256 examples: - default: &259 + default: &257 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40089,9 +39798,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40116,9 +39825,9 @@ paths: parameters: - *90 - *195 - - *254 - - *257 - - &261 + - *252 + - *255 + - &259 name: reaction_id description: The unique identifier of the reaction. in: path @@ -40152,7 +39861,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 - 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. @@ -40178,9 +39887,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 x-github: @@ -40208,7 +39917,7 @@ paths: parameters: - *90 - *195 - - *254 + - *252 requestBody: required: true content: @@ -40240,16 +39949,16 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40274,8 +39983,8 @@ paths: parameters: - *90 - *195 - - *254 - - *261 + - *252 + - *259 responses: '204': description: Response @@ -40396,7 +40105,7 @@ paths: description: Response content: application/json: - schema: &262 + schema: &260 title: Team Membership description: Team Membership type: object @@ -40424,7 +40133,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &578 + response-if-user-is-a-team-maintainer: &576 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40487,9 +40196,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *260 examples: - response-if-users-membership-with-team-is-now-pending: &579 + response-if-users-membership-with-team-is-now-pending: &577 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40562,7 +40271,7 @@ paths: application/json: schema: type: array - items: &263 + items: &261 title: Team Project description: A team's access to a project. type: object @@ -40631,7 +40340,7 @@ paths: - updated_at - permissions examples: - default: &580 + default: &578 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40696,7 +40405,7 @@ paths: parameters: - *90 - *195 - - &264 + - &262 name: project_id description: The unique identifier of the project. in: path @@ -40708,9 +40417,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: &581 + default: &579 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40774,7 +40483,7 @@ paths: parameters: - *90 - *195 - - *264 + - *262 requestBody: required: false content: @@ -40843,7 +40552,7 @@ paths: parameters: - *90 - *195 - - *264 + - *262 responses: '204': description: Response @@ -40914,14 +40623,14 @@ paths: parameters: - *90 - *195 - - *265 - - *266 + - *263 + - *264 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &582 + schema: &580 title: Team Repository description: A team's access to a repository. type: object @@ -41564,8 +41273,8 @@ paths: parameters: - *90 - *195 - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -41612,8 +41321,8 @@ paths: parameters: - *90 - *195 - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -41650,7 +41359,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: &583 + response-if-child-teams-exist: &581 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41777,7 +41486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &267 + - &265 name: card_id description: The unique identifier of the card. in: path @@ -41789,7 +41498,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &266 title: Project Card description: Project cards represent a scope of work. type: object @@ -41864,7 +41573,7 @@ paths: - created_at - updated_at examples: - default: &269 + default: &267 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41920,7 +41629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *267 + - *265 requestBody: required: false content: @@ -41950,9 +41659,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 '304': *35 '403': *27 '401': *23 @@ -41979,7 +41688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *267 + - *265 responses: '204': description: Response @@ -42023,7 +41732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *267 + - *265 requestBody: required: true content: @@ -42136,7 +41845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &270 + - &268 name: column_id description: The unique identifier of the column. in: path @@ -42148,7 +41857,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &269 title: Project Column description: Project columns contain cards of work. type: object @@ -42202,7 +41911,7 @@ paths: - created_at - updated_at examples: - default: &272 + default: &270 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -42237,7 +41946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *270 + - *268 requestBody: required: true content: @@ -42262,9 +41971,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: - default: *272 + default: *270 '304': *35 '403': *27 '401': *23 @@ -42289,7 +41998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *270 + - *268 responses: '204': description: Response @@ -42318,7 +42027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *270 + - *268 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -42339,7 +42048,7 @@ paths: application/json: schema: type: array - items: *268 + items: *266 examples: default: value: @@ -42398,7 +42107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *270 + - *268 requestBody: required: true content: @@ -42442,9 +42151,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 '304': *35 '403': *27 '401': *23 @@ -42500,7 +42209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *270 + - *268 requestBody: required: true content: @@ -42561,7 +42270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *264 + - *262 responses: '200': description: Response @@ -42569,7 +42278,7 @@ paths: application/json: schema: *216 examples: - default: &273 + default: &271 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42626,7 +42335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *264 + - *262 requestBody: required: false content: @@ -42677,7 +42386,7 @@ paths: application/json: schema: *216 examples: - default: *273 + default: *271 '404': description: Not Found if the authenticated user does not have access to the project @@ -42698,7 +42407,7 @@ paths: items: type: string '401': *23 - '410': *274 + '410': *272 '422': *7 x-github: githubCloudOnly: false @@ -42721,7 +42430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *264 + - *262 responses: '204': description: Delete Success @@ -42742,7 +42451,7 @@ paths: items: type: string '401': *23 - '410': *274 + '410': *272 '404': *6 x-github: githubCloudOnly: false @@ -42766,7 +42475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *264 + - *262 - 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 @@ -42823,7 +42532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *264 + - *262 - *128 requestBody: required: false @@ -42878,7 +42587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *264 + - *262 - *128 responses: '204': @@ -42910,7 +42619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *264 + - *262 - *128 responses: '200': @@ -42981,7 +42690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *264 + - *262 - *17 - *19 responses: @@ -42991,7 +42700,7 @@ paths: application/json: schema: type: array - items: *271 + items: *269 examples: default: value: @@ -43029,7 +42738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *264 + - *262 requestBody: required: true content: @@ -43053,7 +42762,7 @@ paths: description: Response content: application/json: - schema: *271 + schema: *269 examples: default: value: @@ -43117,7 +42826,7 @@ paths: resources: type: object properties: - core: &275 + core: &273 title: Rate Limit type: object properties: @@ -43134,20 +42843,20 @@ paths: - remaining - reset - used - graphql: *275 - search: *275 - code_search: *275 - source_import: *275 - integration_manifest: *275 - code_scanning_upload: *275 - actions_runner_registration: *275 - scim: *275 - dependency_snapshots: *275 - code_scanning_autofix: *275 + graphql: *273 + search: *273 + code_search: *273 + source_import: *273 + integration_manifest: *273 + code_scanning_upload: *273 + actions_runner_registration: *273 + scim: *273 + dependency_snapshots: *273 + code_scanning_autofix: *273 required: - core - search - rate: *275 + rate: *273 required: - rate - resources @@ -43251,14 +42960,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *276 + schema: *274 examples: default-response: summary: Default response @@ -43759,7 +43468,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *277 + '301': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43777,8 +43486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -44015,10 +43724,10 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 - '307': &279 + default: *276 + '307': &277 description: Temporary Redirect content: application/json: @@ -44047,8 +43756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -44070,7 +43779,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *279 + '307': *277 '404': *6 x-github: githubCloudOnly: false @@ -44093,11 +43802,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 - - &305 + - &303 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44120,7 +43829,7 @@ paths: type: integer artifacts: type: array - items: &280 + items: &278 title: Artifact description: An artifact type: object @@ -44215,7 +43924,7 @@ paths: - expires_at - updated_at examples: - default: &306 + default: &304 value: total_count: 2 artifacts: @@ -44276,9 +43985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *265 - - *266 - - &281 + - *263 + - *264 + - &279 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44290,7 +43999,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *278 examples: default: value: @@ -44328,9 +44037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *265 - - *266 - - *281 + - *263 + - *264 + - *279 responses: '204': description: Response @@ -44354,9 +44063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *265 - - *266 - - *281 + - *263 + - *264 + - *279 - name: archive_format in: path required: true @@ -44370,7 +44079,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': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44393,14 +44102,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *282 + schema: *280 examples: default: value: @@ -44426,11 +44135,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 - - &283 + - &281 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 @@ -44464,7 +44173,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &282 title: Repository actions caches description: Repository actions caches type: object @@ -44514,7 +44223,7 @@ paths: - total_count - actions_caches examples: - default: &285 + default: &283 value: total_count: 1 actions_caches: @@ -44546,23 +44255,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: - - *265 - - *266 + - *263 + - *264 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *283 + - *281 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *285 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44582,8 +44291,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: - - *265 - - *266 + - *263 + - *264 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44614,9 +44323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *265 - - *266 - - &286 + - *263 + - *264 + - &284 name: job_id description: The unique identifier of the job. in: path @@ -44628,7 +44337,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &307 title: Job description: Information of a job execution in a workflow run type: object @@ -44975,9 +44684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *265 - - *266 - - *286 + - *263 + - *264 + - *284 responses: '302': description: Response @@ -45005,9 +44714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *265 - - *266 - - *286 + - *263 + - *264 + - *284 requestBody: required: false content: @@ -45053,8 +44762,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Status response @@ -45104,8 +44813,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -45168,8 +44877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -45187,7 +44896,7 @@ paths: type: integer secrets: type: array - items: &311 + items: &309 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45208,7 +44917,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &310 value: total_count: 2 secrets: @@ -45241,9 +44950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *265 - - *266 - - *287 + - *263 + - *264 + - *285 - *19 responses: '200': @@ -45260,7 +44969,7 @@ paths: type: integer variables: type: array - items: &315 + items: &313 title: Actions Variable type: object properties: @@ -45294,7 +45003,7 @@ paths: - created_at - updated_at examples: - default: &316 + default: &314 value: total_count: 2 variables: @@ -45327,8 +45036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -45337,11 +45046,11 @@ paths: schema: type: object properties: - enabled: &289 + enabled: &287 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *104 - selected_actions_url: *288 + selected_actions_url: *286 required: - enabled examples: @@ -45368,8 +45077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -45380,7 +45089,7 @@ paths: schema: type: object properties: - enabled: *289 + enabled: *287 allowed_actions: *104 required: - enabled @@ -45410,14 +45119,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: &290 + schema: &288 type: object properties: access_level: @@ -45434,7 +45143,7 @@ paths: required: - access_level examples: - default: &291 + default: &289 value: access_level: organization x-github: @@ -45458,15 +45167,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: application/json: - schema: *290 + schema: *288 examples: - default: *291 + default: *289 responses: '204': description: Response @@ -45490,8 +45199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -45518,8 +45227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -45551,14 +45260,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *292 + schema: *290 examples: default: *110 x-github: @@ -45581,8 +45290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Success response @@ -45593,7 +45302,7 @@ paths: required: true content: application/json: - schema: *293 + schema: *291 examples: default: *110 x-github: @@ -45622,8 +45331,8 @@ paths: in: query schema: type: string - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -45667,8 +45376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -45676,9 +45385,9 @@ paths: application/json: schema: type: array - items: *294 + items: *292 examples: - default: *295 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45700,8 +45409,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -45744,7 +45453,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *296 + '201': *294 '404': *6 '422': *7 '409': *44 @@ -45775,8 +45484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '201': description: Response @@ -45784,7 +45493,7 @@ paths: application/json: schema: *119 examples: - default: *297 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45812,8 +45521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '201': description: Response @@ -45821,7 +45530,7 @@ paths: application/json: schema: *119 examples: - default: *298 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45843,8 +45552,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: - - *265 - - *266 + - *263 + - *264 - *116 responses: '200': @@ -45853,7 +45562,7 @@ paths: application/json: schema: *117 examples: - default: *299 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45874,8 +45583,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: - - *265 - - *266 + - *263 + - *264 - *116 responses: '204': @@ -45901,8 +45610,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: - - *265 - - *266 + - *263 + - *264 - *116 responses: '200': *121 @@ -45927,8 +45636,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: - - *265 - - *266 + - *263 + - *264 - *116 requestBody: required: true @@ -45977,8 +45686,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: - - *265 - - *266 + - *263 + - *264 - *116 requestBody: required: true @@ -46028,11 +45737,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: - - *265 - - *266 + - *263 + - *264 - *116 responses: - '200': *300 + '200': *298 '404': *6 x-github: githubCloudOnly: false @@ -46059,10 +45768,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: - - *265 - - *266 + - *263 + - *264 - *116 - - *301 + - *299 responses: '200': *121 '404': *6 @@ -46090,9 +45799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *265 - - *266 - - &319 + - *263 + - *264 + - &317 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. @@ -46100,7 +45809,7 @@ paths: required: false schema: type: string - - &320 + - &318 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46108,7 +45817,7 @@ paths: required: false schema: type: string - - &321 + - &319 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46117,7 +45826,7 @@ paths: required: false schema: type: string - - &322 + - &320 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 @@ -46144,7 +45853,7 @@ paths: - pending - *17 - *19 - - &323 + - &321 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)." @@ -46153,7 +45862,7 @@ paths: schema: type: string format: date-time - - &302 + - &300 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46162,13 +45871,13 @@ paths: schema: type: boolean default: false - - &324 + - &322 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &325 + - &323 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46191,7 +45900,7 @@ paths: type: integer workflow_runs: type: array - items: &303 + items: &301 title: Workflow Run description: An invocation of a workflow type: object @@ -46308,7 +46017,7 @@ paths: type: - array - 'null' - items: &344 + items: &342 title: Pull Request Minimal type: object properties: @@ -46435,7 +46144,7 @@ paths: head_commit: anyOf: - type: 'null' - - &348 + - &346 title: Simple Commit description: A commit. type: object @@ -46550,7 +46259,7 @@ paths: - workflow_url - pull_requests examples: - default: &326 + default: &324 value: total_count: 1 workflow_runs: @@ -46786,24 +46495,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *265 - - *266 - - &304 + - *263 + - *264 + - &302 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *302 + - *300 responses: '200': description: Response content: application/json: - schema: *303 + schema: *301 examples: - default: &307 + default: &305 value: id: 30433642 name: Build @@ -47044,9 +46753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '204': description: Response @@ -47069,9 +46778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '200': description: Response @@ -47199,9 +46908,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: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '201': description: Response @@ -47234,12 +46943,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 - *17 - *19 - - *305 + - *303 responses: '200': description: Response @@ -47255,9 +46964,9 @@ paths: type: integer artifacts: type: array - items: *280 + items: *278 examples: - default: *306 + default: *304 headers: Link: *57 x-github: @@ -47281,25 +46990,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *265 - - *266 - - *304 - - &308 + - *263 + - *264 + - *302 + - &306 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *302 + - *300 responses: '200': description: Response content: application/json: - schema: *303 + schema: *301 examples: - default: *307 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47322,10 +47031,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *265 - - *266 - - *304 - - *308 + - *263 + - *264 + - *302 + - *306 - *17 - *19 responses: @@ -47343,9 +47052,9 @@ paths: type: integer jobs: type: array - items: *309 + items: *307 examples: - default: &310 + default: &308 value: total_count: 1 jobs: @@ -47458,10 +47167,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *265 - - *266 - - *304 - - *308 + - *263 + - *264 + - *302 + - *306 responses: '302': description: Response @@ -47489,9 +47198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '202': description: Response @@ -47524,9 +47233,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: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 requestBody: required: true content: @@ -47593,9 +47302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '202': description: Response @@ -47628,9 +47337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 - 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 @@ -47660,9 +47369,9 @@ paths: type: integer jobs: type: array - items: *309 + items: *307 examples: - default: *310 + default: *308 headers: Link: *57 x-github: @@ -47687,9 +47396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '302': description: Response @@ -47716,9 +47425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '204': description: Response @@ -47745,9 +47454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '200': description: Response @@ -47816,7 +47525,7 @@ paths: items: type: object properties: - type: &422 + type: &420 type: string description: The type of reviewer. enum: @@ -47902,9 +47611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 requestBody: required: true content: @@ -47954,7 +47663,7 @@ paths: application/json: schema: type: array - items: &417 + items: &415 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -48066,7 +47775,7 @@ paths: - created_at - updated_at examples: - default: &418 + default: &416 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -48122,9 +47831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 requestBody: required: false content: @@ -48169,9 +47878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 requestBody: required: false content: @@ -48225,9 +47934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *265 - - *266 - - *304 + - *263 + - *264 + - *302 responses: '200': description: Response @@ -48364,8 +48073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -48383,9 +48092,9 @@ paths: type: integer secrets: type: array - items: *311 + items: *309 examples: - default: *312 + default: *310 headers: Link: *57 x-github: @@ -48410,16 +48119,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *313 + schema: *311 examples: - default: *314 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48441,17 +48150,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '200': description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: &435 + default: &433 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48477,8 +48186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 requestBody: required: true @@ -48536,8 +48245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '204': @@ -48563,9 +48272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *265 - - *266 - - *287 + - *263 + - *264 + - *285 - *19 responses: '200': @@ -48582,9 +48291,9 @@ paths: type: integer variables: type: array - items: *315 + items: *313 examples: - default: *316 + default: *314 headers: Link: *57 x-github: @@ -48607,8 +48316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -48660,17 +48369,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 responses: '200': description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: &436 + default: &434 value: name: USERNAME value: octocat @@ -48696,8 +48405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 requestBody: required: true @@ -48740,8 +48449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 responses: '204': @@ -48767,8 +48476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -48786,7 +48495,7 @@ paths: type: integer workflows: type: array - items: &317 + items: &315 title: Workflow description: A GitHub Actions workflow type: object @@ -48904,9 +48613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *265 - - *266 - - &318 + - *263 + - *264 + - &316 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48921,7 +48630,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: default: value: @@ -48954,9 +48663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *265 - - *266 - - *318 + - *263 + - *264 + - *316 responses: '204': description: Response @@ -48981,9 +48690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *265 - - *266 - - *318 + - *263 + - *264 + - *316 responses: '204': description: Response @@ -49034,9 +48743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *265 - - *266 - - *318 + - *263 + - *264 + - *316 responses: '204': description: Response @@ -49063,19 +48772,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *265 - - *266 + - *263 + - *264 + - *316 + - *317 - *318 - *319 - *320 - - *321 - - *322 - *17 - *19 + - *321 + - *300 + - *322 - *323 - - *302 - - *324 - - *325 responses: '200': description: Response @@ -49091,9 +48800,9 @@ paths: type: integer workflow_runs: type: array - items: *303 + items: *301 examples: - default: *326 + default: *324 headers: Link: *57 x-github: @@ -49125,9 +48834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *265 - - *266 - - *318 + - *263 + - *264 + - *316 responses: '200': description: Response @@ -49188,8 +48897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *265 - - *266 + - *263 + - *264 - *46 - *17 - *37 @@ -49357,8 +49066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -49395,8 +49104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *265 - - *266 + - *263 + - *264 - name: assignee in: path required: true @@ -49432,8 +49141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -49545,8 +49254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *37 - *38 @@ -49600,7 +49309,7 @@ paths: bundle_url: type: string examples: - default: *327 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49620,8 +49329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -49629,7 +49338,7 @@ paths: application/json: schema: type: array - items: &328 + items: &326 title: Autolink reference description: An autolink reference. type: object @@ -49683,8 +49392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -49723,9 +49432,9 @@ paths: description: response content: application/json: - schema: *328 + schema: *326 examples: - default: &329 + default: &327 value: id: 1 key_prefix: TICKET- @@ -49756,9 +49465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *265 - - *266 - - &330 + - *263 + - *264 + - &328 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49770,9 +49479,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *326 examples: - default: *329 + default: *327 '404': *6 x-github: githubCloudOnly: false @@ -49792,9 +49501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *265 - - *266 - - *330 + - *263 + - *264 + - *328 responses: '204': description: Response @@ -49818,8 +49527,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response if Dependabot is enabled @@ -49869,8 +49578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -49891,8 +49600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -49912,8 +49621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *265 - - *266 + - *263 + - *264 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49951,7 +49660,7 @@ paths: - url protected: type: boolean - protection: &332 + protection: &330 title: Branch Protection description: Branch Protection type: object @@ -49994,7 +49703,7 @@ paths: required: - contexts - checks - enforce_admins: &335 + enforce_admins: &333 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -50011,7 +49720,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &337 + required_pull_request_reviews: &335 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -50095,7 +49804,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &334 + restrictions: &332 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -50420,9 +50129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *265 - - *266 - - &333 + - *263 + - *264 + - &331 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). @@ -50436,14 +50145,14 @@ paths: description: Response content: application/json: - schema: &343 + schema: &341 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &393 + commit: &391 title: Commit description: Commit type: object @@ -50482,7 +50191,7 @@ paths: author: anyOf: - type: 'null' - - &331 + - &329 title: Git User description: Metaproperties for Git author/committer information. @@ -50503,7 +50212,7 @@ paths: committer: anyOf: - type: 'null' - - *331 + - *329 message: type: string examples: @@ -50527,7 +50236,7 @@ paths: required: - sha - url - verification: &442 + verification: &440 title: Verification type: object properties: @@ -50607,7 +50316,7 @@ paths: type: integer files: type: array - items: &405 + items: &403 title: Diff Entry description: Diff Entry type: object @@ -50701,7 +50410,7 @@ paths: - self protected: type: boolean - protection: *332 + protection: *330 protection_url: type: string format: uri @@ -50810,7 +50519,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *277 + '301': *275 '404': *6 x-github: githubCloudOnly: false @@ -50832,15 +50541,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *332 + schema: *330 examples: default: value: @@ -51034,9 +50743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -51296,7 +51005,7 @@ paths: url: type: string format: uri - required_status_checks: &340 + required_status_checks: &338 title: Status Check Policy description: Status Check Policy type: object @@ -51455,7 +51164,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *334 + restrictions: *332 required_conversation_resolution: type: object properties: @@ -51567,9 +51276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -51594,17 +51303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: &336 + default: &334 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -51626,17 +51335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: *336 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51655,9 +51364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -51682,17 +51391,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: &338 + default: &336 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51788,9 +51497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -51888,9 +51597,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: *338 + default: *336 '422': *15 x-github: githubCloudOnly: false @@ -51911,9 +51620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -51940,17 +51649,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: &339 + default: &337 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51973,17 +51682,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: *339 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -52003,9 +51712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -52030,17 +51739,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *340 + schema: *338 examples: - default: &341 + default: &339 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -52066,9 +51775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52120,9 +51829,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *338 examples: - default: *341 + default: *339 '404': *6 '422': *15 x-github: @@ -52144,9 +51853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -52170,9 +51879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response @@ -52206,9 +51915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52275,9 +51984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52341,9 +52050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: content: application/json: @@ -52409,15 +52118,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response content: application/json: - schema: *334 + schema: *332 examples: default: value: @@ -52508,9 +52217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '204': description: Response @@ -52533,9 +52242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response @@ -52545,7 +52254,7 @@ paths: type: array items: *5 examples: - default: &342 + default: &340 value: - id: 1 slug: octoapp @@ -52602,9 +52311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -52638,7 +52347,7 @@ paths: type: array items: *5 examples: - default: *342 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -52659,9 +52368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -52695,7 +52404,7 @@ paths: type: array items: *5 examples: - default: *342 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -52716,9 +52425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -52752,7 +52461,7 @@ paths: type: array items: *5 examples: - default: *342 + default: *340 '422': *15 x-github: githubCloudOnly: false @@ -52774,9 +52483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response @@ -52806,9 +52515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52867,9 +52576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: false content: @@ -52928,9 +52637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: content: application/json: @@ -52989,9 +52698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 responses: '200': description: Response @@ -53025,9 +52734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -53085,9 +52794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -53145,9 +52854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -53207,9 +52916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 requestBody: required: true content: @@ -53231,7 +52940,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *341 examples: default: value: @@ -53347,8 +53056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -53627,7 +53336,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &343 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53762,8 +53471,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *344 - deployment: &632 + items: *342 + deployment: &630 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -54050,9 +53759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *265 - - *266 - - &346 + - *263 + - *264 + - &344 name: check_run_id description: The unique identifier of the check run. in: path @@ -54064,9 +53773,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: &347 + default: &345 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -54166,9 +53875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *265 - - *266 - - *346 + - *263 + - *264 + - *344 requestBody: required: true content: @@ -54408,9 +54117,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *347 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54430,9 +54139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *265 - - *266 - - *346 + - *263 + - *264 + - *344 - *17 - *19 responses: @@ -54544,9 +54253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *265 - - *266 - - *346 + - *263 + - *264 + - *344 responses: '201': description: Response @@ -54590,8 +54299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -54613,7 +54322,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &349 + schema: &347 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -54695,7 +54404,7 @@ paths: type: - array - 'null' - items: *344 + items: *342 app: anyOf: - type: 'null' @@ -54711,7 +54420,7 @@ paths: - string - 'null' format: date-time - head_commit: *348 + head_commit: *346 latest_check_runs_count: type: integer check_runs_url: @@ -54739,7 +54448,7 @@ paths: - check_runs_url - pull_requests examples: - default: &350 + default: &348 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -55030,9 +54739,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *349 + schema: *347 examples: - default: *350 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55051,8 +54760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -55361,9 +55070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *265 - - *266 - - &351 + - *263 + - *264 + - &349 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -55375,9 +55084,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *347 examples: - default: *350 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55400,17 +55109,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *265 - - *266 - - *351 - - &400 + - *263 + - *264 + - *349 + - &398 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &401 + - &399 name: status description: Returns check runs with the specified `status`. in: query @@ -55449,9 +55158,9 @@ paths: type: integer check_runs: type: array - items: *345 + items: *343 examples: - default: &402 + default: &400 value: total_count: 1 check_runs: @@ -55553,9 +55262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *265 - - *266 - - *351 + - *263 + - *264 + - *349 responses: '201': description: Response @@ -55588,21 +55297,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *265 - - *266 - - *352 - - *353 + - *263 + - *264 + - *350 + - *351 - *19 - *17 - - &370 + - &368 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: *354 - - &371 + schema: *352 + - &369 name: pr description: The number of the pull request for the results you want to list. in: query @@ -55627,13 +55336,13 @@ paths: be returned. in: query required: false - schema: *355 + schema: *353 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *356 + schema: *354 responses: '200': description: Response @@ -55649,7 +55358,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *357 + instances_url: *355 state: *133 fixed_at: *129 dismissed_by: @@ -55657,11 +55366,11 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: *358 - dismissed_comment: *359 - rule: *360 - tool: *361 - most_recent_instance: *362 + dismissed_reason: *356 + dismissed_comment: *357 + rule: *358 + tool: *359 + most_recent_instance: *360 dismissal_approved_by: anyOf: - type: 'null' @@ -55781,7 +55490,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &363 + '403': &361 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55808,9 +55517,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *265 - - *266 - - &364 + - *263 + - *264 + - &362 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55824,7 +55533,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &363 type: object properties: number: *52 @@ -55832,7 +55541,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *357 + instances_url: *355 state: *133 fixed_at: *129 dismissed_by: @@ -55840,8 +55549,8 @@ paths: - type: 'null' - *4 dismissed_at: *130 - dismissed_reason: *358 - dismissed_comment: *359 + dismissed_reason: *356 + dismissed_comment: *357 rule: type: object properties: @@ -55903,8 +55612,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *361 - most_recent_instance: *362 + tool: *359 + most_recent_instance: *360 dismissal_approved_by: anyOf: - type: 'null' @@ -55997,7 +55706,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56017,9 +55726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 requestBody: required: true content: @@ -56034,8 +55743,8 @@ paths: enum: - open - dismissed - dismissed_reason: *358 - dismissed_comment: *359 + dismissed_reason: *356 + dismissed_comment: *357 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -56054,7 +55763,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *363 examples: default: value: @@ -56130,7 +55839,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &369 + '403': &367 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -56157,15 +55866,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: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 responses: '200': description: Response content: application/json: - schema: &366 + schema: &364 type: object properties: status: @@ -56192,13 +55901,13 @@ paths: - description - started_at examples: - default: &367 + default: &365 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &368 + '400': &366 description: Bad Request content: application/json: @@ -56209,7 +55918,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': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56234,29 +55943,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: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 responses: '200': description: OK content: application/json: - schema: *366 + schema: *364 examples: - default: *367 + default: *365 '202': description: Accepted content: application/json: - schema: *366 + schema: *364 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *368 + '400': *366 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -56288,9 +55997,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: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 requestBody: required: false content: @@ -56336,8 +56045,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *368 - '403': *369 + '400': *366 + '403': *367 '404': *6 '422': description: Unprocessable Entity @@ -56361,13 +56070,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 - *19 - *17 - - *370 - - *371 + - *368 + - *369 responses: '200': description: Response @@ -56375,7 +56084,7 @@ paths: application/json: schema: type: array - items: *362 + items: *360 examples: default: value: @@ -56414,7 +56123,7 @@ paths: end_column: 50 classifications: - source - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56448,25 +56157,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *265 - - *266 - - *352 - - *353 + - *263 + - *264 + - *350 + - *351 - *19 - *17 - - *371 + - *369 - 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: *354 + schema: *352 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &374 + schema: &372 type: string description: An identifier for the upload. examples: @@ -56488,23 +56197,23 @@ paths: application/json: schema: type: array - items: &375 + items: &373 type: object properties: - ref: *354 - commit_sha: &383 + ref: *352 + commit_sha: &381 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: *372 + analysis_key: *370 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *373 + category: *371 error: type: string examples: @@ -56529,8 +56238,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *374 - tool: *361 + sarif_id: *372 + tool: *359 deletable: type: boolean warning: @@ -56592,7 +56301,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56628,8 +56337,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: - - *265 - - *266 + - *263 + - *264 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56642,7 +56351,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: response: summary: application/json response @@ -56696,7 +56405,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -56778,8 +56487,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: - - *265 - - *266 + - *263 + - *264 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56835,7 +56544,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': *369 + '403': *367 '404': *6 '503': *62 x-github: @@ -56857,8 +56566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -56866,7 +56575,7 @@ paths: application/json: schema: type: array - items: &376 + items: &374 title: CodeQL Database description: A CodeQL database. type: object @@ -56978,7 +56687,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': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -57007,8 +56716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - name: language in: path description: The language of the CodeQL database. @@ -57020,7 +56729,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *374 examples: default: value: @@ -57052,9 +56761,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': &407 + '302': &405 description: Found - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -57076,8 +56785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *265 - - *266 + - *263 + - *264 - name: language in: path description: The language of the CodeQL database. @@ -57087,7 +56796,7 @@ paths: responses: '204': description: Response - '403': *369 + '403': *367 '404': *6 '503': *62 x-github: @@ -57115,8 +56824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -57125,7 +56834,7 @@ paths: type: object additionalProperties: false properties: - language: &377 + language: &375 type: string description: The language targeted by the CodeQL query enum: @@ -57203,7 +56912,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &381 + schema: &379 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -57213,7 +56922,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *377 + query_language: *375 query_pack_url: type: string description: The download url for the query pack. @@ -57261,7 +56970,7 @@ paths: items: type: object properties: - repository: &378 + repository: &376 title: Repository Identifier description: Repository Identifier type: object @@ -57303,7 +57012,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &382 + analysis_status: &380 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57335,7 +57044,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &379 + access_mismatch_repos: &377 type: object properties: repository_count: @@ -57350,7 +57059,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: *378 + items: *376 required: - repository_count - repositories @@ -57373,8 +57082,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *379 - over_limit_repos: *379 + no_codeql_db_repos: *377 + over_limit_repos: *377 required: - access_mismatch_repos - not_found_repos @@ -57390,7 +57099,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &380 + value: &378 summary: Default response value: id: 1 @@ -57542,10 +57251,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *380 + value: *378 repository_lists: summary: Response for a successful variant analysis submission - value: *380 + value: *378 '404': *6 '422': description: Unable to process variant analysis submission @@ -57573,8 +57282,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: - - *265 - - *266 + - *263 + - *264 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57586,9 +57295,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *379 examples: - default: *380 + default: *378 '404': *6 '503': *62 x-github: @@ -57611,7 +57320,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: - - *265 + - *263 - name: repo in: path description: The name of the controller repository. @@ -57646,7 +57355,7 @@ paths: type: object properties: repository: *51 - analysis_status: *382 + analysis_status: *380 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -57771,8 +57480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -57854,7 +57563,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *363 + '403': *361 '404': *6 '503': *62 x-github: @@ -57875,8 +57584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -57960,7 +57669,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *369 + '403': *367 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -58025,8 +57734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -58034,7 +57743,7 @@ paths: schema: type: object properties: - commit_sha: *383 + commit_sha: *381 ref: type: string description: |- @@ -58094,7 +57803,7 @@ paths: schema: type: object properties: - id: *374 + id: *372 url: type: string description: The REST API URL for checking the status of the upload. @@ -58108,7 +57817,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': *369 + '403': *367 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -58131,8 +57840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *265 - - *266 + - *263 + - *264 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -58180,7 +57889,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': *363 + '403': *361 '404': description: Not Found if the sarif id does not match any upload '503': *62 @@ -58205,8 +57914,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -58287,8 +57996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *265 - - *266 + - *263 + - *264 - 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 @@ -58416,8 +58125,8 @@ paths: parameters: - *17 - *19 - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -58731,8 +58440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -58798,7 +58507,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -58806,7 +58515,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '400': *14 '401': *23 '403': *27 @@ -58835,8 +58544,8 @@ paths: parameters: - *17 - *19 - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -58900,8 +58609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -58938,9 +58647,9 @@ paths: type: integer machines: type: array - items: *385 + items: *383 examples: - default: &590 + default: &588 value: total_count: 2 machines: @@ -58980,8 +58689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *265 - - *266 + - *263 + - *264 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59068,8 +58777,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: - - *265 - - *266 + - *263 + - *264 - 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 @@ -59138,8 +58847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -59157,7 +58866,7 @@ paths: type: integer secrets: type: array - items: &389 + items: &387 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -59178,7 +58887,7 @@ paths: - created_at - updated_at examples: - default: *386 + default: *384 headers: Link: *57 x-github: @@ -59201,16 +58910,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *387 + schema: *385 examples: - default: *388 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59230,17 +58939,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '200': description: Response content: application/json: - schema: *389 + schema: *387 examples: - default: *390 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59260,8 +58969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 requestBody: required: true @@ -59314,8 +59023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '204': @@ -59344,8 +59053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *265 - - *266 + - *263 + - *264 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59383,7 +59092,7 @@ paths: application/json: schema: type: array - items: &391 + items: &389 title: Collaborator description: Collaborator type: object @@ -59576,8 +59285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *265 - - *266 + - *263 + - *264 - *128 responses: '204': @@ -59620,8 +59329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *265 - - *266 + - *263 + - *264 - *128 requestBody: required: false @@ -59648,7 +59357,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &455 + schema: &453 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59869,8 +59578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *265 - - *266 + - *263 + - *264 - *128 responses: '204': @@ -59900,8 +59609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *265 - - *266 + - *263 + - *264 - *128 responses: '200': @@ -59922,7 +59631,7 @@ paths: user: anyOf: - type: 'null' - - *391 + - *389 required: - permission - role_name @@ -59976,8 +59685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -59987,7 +59696,7 @@ paths: application/json: schema: type: array - items: &392 + items: &390 title: Commit Comment description: Commit Comment type: object @@ -60045,7 +59754,7 @@ paths: - created_at - updated_at examples: - default: &395 + default: &393 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60104,17 +59813,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '200': description: Response content: application/json: - schema: *392 + schema: *390 examples: - default: &396 + default: &394 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60171,8 +59880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -60195,7 +59904,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *390 examples: default: value: @@ -60246,8 +59955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '204': @@ -60269,8 +59978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -60297,9 +60006,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 @@ -60320,8 +60029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -60354,16 +60063,16 @@ paths: description: Reaction exists content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Reaction created content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -60385,10 +60094,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *265 - - *266 + - *263 + - *264 - *73 - - *261 + - *259 responses: '204': description: Response @@ -60437,8 +60146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *265 - - *266 + - *263 + - *264 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60494,9 +60203,9 @@ paths: application/json: schema: type: array - items: *393 + items: *391 examples: - default: &503 + default: &501 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60590,9 +60299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *265 - - *266 - - &394 + - *263 + - *264 + - &392 name: commit_sha description: The SHA of the commit. in: path @@ -60664,9 +60373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *265 - - *266 - - *394 + - *263 + - *264 + - *392 - *17 - *19 responses: @@ -60676,9 +60385,9 @@ paths: application/json: schema: type: array - items: *392 + items: *390 examples: - default: *395 + default: *393 headers: Link: *57 x-github: @@ -60706,9 +60415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *265 - - *266 - - *394 + - *263 + - *264 + - *392 requestBody: required: true content: @@ -60743,9 +60452,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *390 examples: - default: *396 + default: *394 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60763,7 +60472,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: @@ -60773,9 +60482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *265 - - *266 - - *394 + - *263 + - *264 + - *392 - *17 - *19 responses: @@ -60785,7 +60494,7 @@ paths: application/json: schema: type: array - items: &494 + items: &492 title: Pull Request Simple description: Pull Request Simple type: object @@ -60905,7 +60614,7 @@ paths: milestone: anyOf: - type: 'null' - - *397 + - *395 active_lock_reason: type: - string @@ -61004,7 +60713,7 @@ paths: _links: type: object properties: - comments: &398 + comments: &396 title: Link description: Hypermedia Link type: object @@ -61013,13 +60722,13 @@ paths: type: string required: - href - commits: *398 - statuses: *398 - html: *398 - issue: *398 - review_comments: *398 - review_comment: *398 - self: *398 + commits: *396 + statuses: *396 + html: *396 + issue: *396 + review_comments: *396 + review_comment: *396 + self: *396 required: - comments - commits @@ -61030,7 +60739,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: &496 + auto_merge: &494 title: Auto merge description: The status of auto merging a pull request. type: @@ -61095,7 +60804,7 @@ paths: - author_association - auto_merge examples: - default: &495 + default: &493 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61632,11 +61341,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *265 - - *266 + - *263 + - *264 - *19 - *17 - - &399 + - &397 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)" @@ -61651,9 +61360,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *391 examples: - default: &482 + default: &480 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61766,11 +61475,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *265 - - *266 + - *263 + - *264 + - *397 + - *398 - *399 - - *400 - - *401 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61804,9 +61513,9 @@ paths: type: integer check_runs: type: array - items: *345 + items: *343 examples: - default: *402 + default: *400 headers: Link: *57 x-github: @@ -61831,9 +61540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *265 - - *266 - - *399 + - *263 + - *264 + - *397 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -61841,7 +61550,7 @@ paths: schema: type: integer example: 1 - - *400 + - *398 - *17 - *19 responses: @@ -61859,7 +61568,7 @@ paths: type: integer check_suites: type: array - items: *349 + items: *347 examples: default: value: @@ -62059,9 +61768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *265 - - *266 - - *399 + - *263 + - *264 + - *397 - *17 - *19 responses: @@ -62263,9 +61972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *265 - - *266 - - *399 + - *263 + - *264 + - *397 - *17 - *19 responses: @@ -62275,7 +61984,7 @@ paths: application/json: schema: type: array - items: &564 + items: &562 title: Status description: The status of a commit. type: object @@ -62356,7 +62065,7 @@ paths: site_admin: false headers: Link: *57 - '301': *277 + '301': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62384,8 +62093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -62418,11 +62127,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *403 + - *401 code_of_conduct_file: anyOf: - type: 'null' - - &404 + - &402 title: Community Health File type: object properties: @@ -62442,19 +62151,19 @@ paths: contributing: anyOf: - type: 'null' - - *404 + - *402 readme: anyOf: - type: 'null' - - *404 + - *402 issue_template: anyOf: - type: 'null' - - *404 + - *402 pull_request_template: anyOf: - type: 'null' - - *404 + - *402 required: - code_of_conduct - code_of_conduct_file @@ -62583,8 +62292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *265 - - *266 + - *263 + - *264 - *19 - *17 - name: basehead @@ -62632,8 +62341,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *393 - merge_base_commit: *393 + base_commit: *391 + merge_base_commit: *391 status: type: string enum: @@ -62657,10 +62366,10 @@ paths: - 6 commits: type: array - items: *393 + items: *391 files: type: array - items: *405 + items: *403 required: - url - html_url @@ -62946,8 +62655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *265 - - *266 + - *263 + - *264 - name: path description: path parameter in: path @@ -63098,7 +62807,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &406 + response-if-content-is-a-file: &404 summary: Response if content is a file value: type: file @@ -63235,7 +62944,7 @@ paths: - size - type - url - - &508 + - &506 title: Content File description: Content File type: object @@ -63453,7 +63162,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *406 + response-if-content-is-a-file: *404 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63522,7 +63231,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *407 + '302': *405 '304': *35 x-github: githubCloudOnly: false @@ -63545,8 +63254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *265 - - *266 + - *263 + - *264 - name: path description: path parameter in: path @@ -63641,7 +63350,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &406 title: File Commit description: File Commit type: object @@ -63797,7 +63506,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *406 examples: example-for-creating-a-file: value: @@ -63851,7 +63560,7 @@ paths: schema: oneOf: - *3 - - &437 + - &435 description: Repository rule violation was detected type: object properties: @@ -63872,7 +63581,7 @@ paths: items: type: object properties: - placeholder_id: &556 + placeholder_id: &554 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -63904,8 +63613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *265 - - *266 + - *263 + - *264 - name: path description: path parameter in: path @@ -63966,7 +63675,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *406 examples: default: value: @@ -64021,8 +63730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *265 - - *266 + - *263 + - *264 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64146,8 +63855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *143 - *144 - *145 @@ -64189,7 +63898,7 @@ paths: application/json: schema: type: array - items: &411 + items: &409 type: object description: A Dependabot alert. properties: @@ -64239,7 +63948,7 @@ paths: - direct - transitive - - security_advisory: *409 + security_advisory: *407 security_vulnerability: *50 url: *55 html_url: *56 @@ -64270,7 +63979,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *410 + auto_dismissed_at: *408 required: - number - state @@ -64500,9 +64209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *265 - - *266 - - &412 + - *263 + - *264 + - &410 name: alert_number in: path description: |- @@ -64517,7 +64226,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: default: value: @@ -64630,9 +64339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *265 - - *266 - - *412 + - *263 + - *264 + - *410 requestBody: required: true content: @@ -64677,7 +64386,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: default: value: @@ -64806,8 +64515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -64825,7 +64534,7 @@ paths: type: integer secrets: type: array - items: &415 + items: &413 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64879,16 +64588,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *413 + schema: *411 examples: - default: *414 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64908,15 +64617,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '200': description: Response content: application/json: - schema: *415 + schema: *413 examples: default: value: @@ -64942,8 +64651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 requestBody: required: true @@ -64996,8 +64705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *265 - - *266 + - *263 + - *264 - *123 responses: '204': @@ -65020,8 +64729,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: - - *265 - - *266 + - *263 + - *264 - 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 @@ -65195,8 +64904,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -65456,8 +65165,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -65540,7 +65249,7 @@ paths: - version - url additionalProperties: false - metadata: &416 + metadata: &414 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65579,7 +65288,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *416 + metadata: *414 resolved: type: object description: A collection of resolved package dependencies. @@ -65593,7 +65302,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *416 + metadata: *414 relationship: type: string description: A notation of whether a dependency is requested @@ -65726,8 +65435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *265 - - *266 + - *263 + - *264 - name: sha description: The SHA recorded at creation time. in: query @@ -65768,9 +65477,9 @@ paths: application/json: schema: type: array - items: *417 + items: *415 examples: - default: *418 + default: *416 headers: Link: *57 x-github: @@ -65836,8 +65545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -65919,7 +65628,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *415 examples: simple-example: summary: Simple example @@ -65992,9 +65701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *265 - - *266 - - &419 + - *263 + - *264 + - &417 name: deployment_id description: deployment_id parameter in: path @@ -66006,7 +65715,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *415 examples: default: value: @@ -66071,9 +65780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *265 - - *266 - - *419 + - *263 + - *264 + - *417 responses: '204': description: Response @@ -66095,9 +65804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *265 - - *266 - - *419 + - *263 + - *264 + - *417 - *17 - *19 responses: @@ -66107,7 +65816,7 @@ paths: application/json: schema: type: array - items: &420 + items: &418 title: Deployment Status description: The status of a deployment. type: object @@ -66271,9 +65980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *265 - - *266 - - *419 + - *263 + - *264 + - *417 requestBody: required: true content: @@ -66348,9 +66057,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *418 examples: - default: &421 + default: &419 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -66406,9 +66115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *265 - - *266 - - *419 + - *263 + - *264 + - *417 - name: status_id in: path required: true @@ -66419,9 +66128,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *418 examples: - default: *421 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -66446,8 +66155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -66504,8 +66213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -66523,7 +66232,7 @@ paths: - 5 environments: type: array - items: &423 + items: &421 title: Environment description: Details of a deployment environment type: object @@ -66585,7 +66294,7 @@ paths: type: string examples: - wait_timer - wait_timer: &425 + wait_timer: &423 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -66627,7 +66336,7 @@ paths: items: type: object properties: - type: *422 + type: *420 reviewer: anyOf: - *4 @@ -66654,7 +66363,7 @@ paths: - id - node_id - type - deployment_branch_policy: &426 + deployment_branch_policy: &424 type: - object - 'null' @@ -66771,9 +66480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *265 - - *266 - - &424 + - *263 + - *264 + - &422 name: environment_name in: path required: true @@ -66786,9 +66495,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: &427 + default: &425 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66872,9 +66581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 requestBody: required: false content: @@ -66884,7 +66593,7 @@ paths: - object - 'null' properties: - wait_timer: *425 + wait_timer: *423 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -66903,14 +66612,14 @@ paths: items: type: object properties: - type: *422 + type: *420 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *426 + deployment_branch_policy: *424 additionalProperties: false examples: default: @@ -66930,9 +66639,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: *427 + default: *425 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66956,9 +66665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 responses: '204': description: Default response @@ -66983,9 +66692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *17 - *19 responses: @@ -67004,7 +66713,7 @@ paths: - 2 branch_policies: type: array - items: &428 + items: &426 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67065,9 +66774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 requestBody: required: true content: @@ -67115,9 +66824,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - example-wildcard: &429 + example-wildcard: &427 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67159,10 +66868,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *265 - - *266 - - *424 - - &430 + - *263 + - *264 + - *422 + - &428 name: branch_policy_id in: path required: true @@ -67174,9 +66883,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: *429 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67195,10 +66904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *265 - - *266 - - *424 - - *430 + - *263 + - *264 + - *422 + - *428 requestBody: required: true content: @@ -67227,9 +66936,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: *429 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67248,10 +66957,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *265 - - *266 - - *424 - - *430 + - *263 + - *264 + - *422 + - *428 responses: '204': description: Response @@ -67276,9 +66985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *424 - - *266 - - *265 + - *422 + - *264 + - *263 responses: '200': description: List of deployment protection rules @@ -67295,7 +67004,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &431 + items: &429 title: Deployment protection rule description: Deployment protection rule type: object @@ -67317,7 +67026,7 @@ paths: for the environment. examples: - true - app: &432 + app: &430 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -67420,9 +67129,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: - - *424 - - *266 - - *265 + - *422 + - *264 + - *263 requestBody: content: application/json: @@ -67443,9 +67152,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *431 + schema: *429 examples: - default: &433 + default: &431 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -67480,9 +67189,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: - - *424 - - *266 - - *265 + - *422 + - *264 + - *263 - *19 - *17 responses: @@ -67502,7 +67211,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *432 + items: *430 examples: default: value: @@ -67537,10 +67246,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *265 - - *266 - - *424 - - &434 + - *263 + - *264 + - *422 + - &432 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -67552,9 +67261,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *429 examples: - default: *433 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67575,10 +67284,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *424 - - *266 - - *265 - - *434 + - *422 + - *264 + - *263 + - *432 responses: '204': description: Response @@ -67604,9 +67313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *17 - *19 responses: @@ -67624,9 +67333,9 @@ paths: type: integer secrets: type: array - items: *311 + items: *309 examples: - default: *312 + default: *310 headers: Link: *57 x-github: @@ -67651,17 +67360,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 responses: '200': description: Response content: application/json: - schema: *313 + schema: *311 examples: - default: *314 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67683,18 +67392,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *123 responses: '200': description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: *435 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67716,9 +67425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *123 requestBody: required: true @@ -67776,9 +67485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *123 responses: '204': @@ -67804,10 +67513,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *265 - - *266 - - *424 - - *287 + - *263 + - *264 + - *422 + - *285 - *19 responses: '200': @@ -67824,9 +67533,9 @@ paths: type: integer variables: type: array - items: *315 + items: *313 examples: - default: *316 + default: *314 headers: Link: *57 x-github: @@ -67849,9 +67558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 requestBody: required: true content: @@ -67903,18 +67612,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *265 - - *266 - - *424 + - *263 + - *264 + - *422 - *126 responses: '200': description: Response content: application/json: - schema: *315 + schema: *313 examples: - default: *436 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67935,10 +67644,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 - - *424 + - *422 requestBody: required: true content: @@ -67980,10 +67689,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *265 - - *266 + - *263 + - *264 - *126 - - *424 + - *422 responses: '204': description: Response @@ -68005,8 +67714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -68083,8 +67792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *265 - - *266 + - *263 + - *264 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68243,8 +67952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -68277,9 +67986,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 + default: *276 '400': *14 '422': *15 '403': *27 @@ -68300,8 +68009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -68361,7 +68070,7 @@ paths: schema: oneOf: - *93 - - *437 + - *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68386,8 +68095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *265 - - *266 + - *263 + - *264 - name: file_sha in: path required: true @@ -68487,8 +68196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -68597,7 +68306,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &436 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68824,15 +68533,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *265 - - *266 - - *394 + - *263 + - *264 + - *392 responses: '200': description: Response content: application/json: - schema: *438 + schema: *436 examples: default: value: @@ -68888,9 +68597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *265 - - *266 - - &439 + - *263 + - *264 + - &437 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. @@ -68907,7 +68616,7 @@ paths: application/json: schema: type: array - items: &440 + items: &438 title: Git Reference description: Git references within a repository type: object @@ -68983,17 +68692,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *265 - - *266 - - *439 + - *263 + - *264 + - *437 responses: '200': description: Response content: application/json: - schema: *440 + schema: *438 examples: - default: &441 + default: &439 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69022,8 +68731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -69052,9 +68761,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *438 examples: - default: *441 + default: *439 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -69080,9 +68789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *265 - - *266 - - *439 + - *263 + - *264 + - *437 requestBody: required: true content: @@ -69111,9 +68820,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *438 examples: - default: *441 + default: *439 '422': *15 '409': *44 x-github: @@ -69131,9 +68840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *265 - - *266 - - *439 + - *263 + - *264 + - *437 responses: '204': description: Response @@ -69186,8 +68895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -69254,7 +68963,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &441 title: Git Tag description: Metadata for a Git tag type: object @@ -69310,7 +69019,7 @@ paths: - sha - type - url - verification: *442 + verification: *440 required: - sha - url @@ -69320,7 +69029,7 @@ paths: - tag - message examples: - default: &444 + default: &442 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69393,8 +69102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *265 - - *266 + - *263 + - *264 - name: tag_sha in: path required: true @@ -69405,9 +69114,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: - default: *444 + default: *442 '404': *6 '409': *44 x-github: @@ -69431,8 +69140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -69506,7 +69215,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &443 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69624,8 +69333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *265 - - *266 + - *263 + - *264 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69648,7 +69357,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *443 examples: default-response: summary: Default response @@ -69707,8 +69416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -69718,7 +69427,7 @@ paths: application/json: schema: type: array - items: &446 + items: &444 title: Webhook description: Webhooks for repositories. type: object @@ -69781,7 +69490,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &663 + last_response: &661 title: Hook Response type: object properties: @@ -69858,8 +69567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -69912,9 +69621,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *444 examples: - default: &447 + default: &445 value: type: Repository id: 12345678 @@ -69962,17 +69671,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '200': description: Response content: application/json: - schema: *446 + schema: *444 examples: - default: *447 + default: *445 '404': *6 x-github: githubCloudOnly: false @@ -69992,8 +69701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 requestBody: required: true @@ -70039,9 +69748,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *444 examples: - default: *447 + default: *445 '422': *15 '404': *6 x-github: @@ -70062,8 +69771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '204': @@ -70088,8 +69797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '200': @@ -70117,8 +69826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *157 requestBody: required: false @@ -70163,8 +69872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 - *17 - *158 @@ -70196,8 +69905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 - *16 responses: @@ -70226,8 +69935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 - *16 responses: @@ -70251,8 +69960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '204': @@ -70278,8 +69987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *265 - - *266 + - *263 + - *264 - *157 responses: '204': @@ -70338,14 +70047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: &448 + schema: &446 title: Import description: A repository import from an external source. type: object @@ -70452,7 +70161,7 @@ paths: - html_url - authors_url examples: - default: &451 + default: &449 value: vcs: subversion use_lfs: true @@ -70468,7 +70177,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': &449 + '503': &447 description: Unavailable due to service under maintenance. content: application/json: @@ -70497,8 +70206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -70546,7 +70255,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: default: value: @@ -70571,7 +70280,7 @@ paths: type: string '422': *15 '404': *6 - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70599,8 +70308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -70652,7 +70361,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: example-1: summary: Example 1 @@ -70700,7 +70409,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': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70723,12 +70432,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70754,9 +70463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *265 - - *266 - - &613 + - *263 + - *264 + - &611 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -70770,7 +70479,7 @@ paths: application/json: schema: type: array - items: &450 + items: &448 title: Porter Author description: Porter Author type: object @@ -70824,7 +70533,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': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70849,8 +70558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *265 - - *266 + - *263 + - *264 - name: author_id in: path required: true @@ -70880,7 +70589,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *448 examples: default: value: @@ -70893,7 +70602,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70917,8 +70626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -70959,7 +70668,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70987,8 +70696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -71015,11 +70724,11 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: *451 + default: *449 '422': *15 - '503': *449 + '503': *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71042,8 +70751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -71051,8 +70760,8 @@ paths: application/json: schema: *20 examples: - default: *452 - '301': *277 + default: *450 + '301': *275 '404': *6 x-github: githubCloudOnly: false @@ -71072,8 +70781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -71086,7 +70795,7 @@ paths: properties: {} additionalProperties: false examples: - default: &454 + default: &452 value: limit: collaborators_only origin: repository @@ -71111,13 +70820,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: application/json: - schema: *453 + schema: *451 examples: default: summary: Example request body @@ -71131,7 +70840,7 @@ paths: application/json: schema: *175 examples: - default: *454 + default: *452 '409': description: Response x-github: @@ -71153,8 +70862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -71177,8 +70886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -71188,9 +70897,9 @@ paths: application/json: schema: type: array - items: *455 + items: *453 examples: - default: &606 + default: &604 value: - id: 1 repository: @@ -71321,8 +71030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *265 - - *266 + - *263 + - *264 - *179 requestBody: required: false @@ -71352,7 +71061,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *453 examples: default: value: @@ -71483,8 +71192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *265 - - *266 + - *263 + - *264 - *179 responses: '204': @@ -71516,8 +71225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *265 - - *266 + - *263 + - *264 - 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 @@ -71590,7 +71299,7 @@ paths: type: array items: *74 examples: - default: &464 + default: &462 value: - id: 1 node_id: MDU6SXNzdWUx @@ -71738,7 +71447,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *277 + '301': *275 '422': *15 '404': *6 x-github: @@ -71767,8 +71476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -71860,7 +71569,7 @@ paths: application/json: schema: *74 examples: - default: &459 + default: &457 value: id: 1 node_id: MDU6SXNzdWUx @@ -72016,7 +71725,7 @@ paths: '422': *15 '503': *62 '404': *6 - '410': *274 + '410': *272 x-github: triggersNotification: true githubCloudOnly: false @@ -72044,8 +71753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *83 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -72066,9 +71775,9 @@ paths: application/json: schema: type: array - items: *456 + items: *454 examples: - default: &461 + default: &459 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72126,17 +71835,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '200': description: Response content: application/json: - schema: *456 + schema: *454 examples: - default: &457 + default: &455 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72190,8 +71899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -72214,9 +71923,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *454 examples: - default: *457 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -72234,8 +71943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '204': @@ -72256,8 +71965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -72284,9 +71993,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 @@ -72307,8 +72016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -72341,16 +72050,16 @@ paths: description: Reaction exists content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Reaction created content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -72372,10 +72081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *265 - - *266 + - *263 + - *264 - *73 - - *261 + - *259 responses: '204': description: Response @@ -72395,8 +72104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -72406,7 +72115,7 @@ paths: application/json: schema: type: array - items: &458 + items: &456 title: Issue Event description: Issue Event type: object @@ -72745,8 +72454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *265 - - *266 + - *263 + - *264 - name: event_id in: path required: true @@ -72757,7 +72466,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *456 examples: default: value: @@ -72950,7 +72659,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *274 + '410': *272 '403': *27 x-github: githubCloudOnly: false @@ -72984,9 +72693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *265 - - *266 - - &460 + - *263 + - *264 + - &458 name: issue_number description: The number that identifies the issue. in: path @@ -73000,10 +72709,10 @@ paths: application/json: schema: *74 examples: - default: *459 - '301': *277 + default: *457 + '301': *275 '404': *6 - '410': *274 + '410': *272 '304': *35 x-github: githubCloudOnly: false @@ -73028,9 +72737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -73150,13 +72859,13 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 '422': *15 '503': *62 '403': *27 - '301': *277 + '301': *275 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73174,9 +72883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -73204,7 +72913,7 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73220,9 +72929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: content: application/json: @@ -73249,7 +72958,7 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73271,9 +72980,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: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - name: assignee in: path required: true @@ -73313,9 +73022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *64 - *17 - *19 @@ -73326,13 +73035,13 @@ paths: application/json: schema: type: array - items: *456 + items: *454 examples: - default: *461 + default: *459 headers: Link: *57 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73361,9 +73070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -73385,16 +73094,16 @@ paths: description: Response content: application/json: - schema: *456 + schema: *454 examples: - default: *457 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *274 + '410': *272 '422': *15 '404': *6 x-github: @@ -73414,9 +73123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *17 - *19 responses: @@ -73430,7 +73139,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &465 + - &463 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -73479,7 +73188,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &464 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -73607,7 +73316,7 @@ paths: - performed_via_github_app - assignee - assigner - - &467 + - &465 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -73653,7 +73362,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &466 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73699,7 +73408,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &467 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73748,7 +73457,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &468 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73790,7 +73499,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &469 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73832,7 +73541,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &470 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73888,7 +73597,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &473 + - &471 title: Locked Issue Event description: Locked Issue Event type: object @@ -73933,7 +73642,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &474 + - &472 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73994,7 +73703,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &475 + - &473 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74055,7 +73764,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &476 + - &474 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74116,7 +73825,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &477 + - &475 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74209,7 +73918,7 @@ paths: color: red headers: Link: *57 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74226,9 +73935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *17 - *19 responses: @@ -74238,7 +73947,7 @@ paths: application/json: schema: type: array - items: &462 + items: &460 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74293,7 +74002,7 @@ paths: - color - default examples: - default: &463 + default: &461 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74311,9 +74020,9 @@ paths: default: false headers: Link: *57 - '301': *277 + '301': *275 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74330,9 +74039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -74391,12 +74100,12 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *463 - '301': *277 + default: *461 + '301': *275 '404': *6 - '410': *274 + '410': *272 '422': *15 x-github: githubCloudOnly: false @@ -74413,9 +74122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -74475,12 +74184,12 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *463 - '301': *277 + default: *461 + '301': *275 '404': *6 - '410': *274 + '410': *272 '422': *15 x-github: githubCloudOnly: false @@ -74497,15 +74206,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 responses: '204': description: Response - '301': *277 + '301': *275 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74524,9 +74233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - name: name in: path required: true @@ -74539,7 +74248,7 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: default: value: @@ -74550,9 +74259,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *277 + '301': *275 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74572,9 +74281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: false content: @@ -74603,7 +74312,7 @@ paths: '204': description: Response '403': *27 - '410': *274 + '410': *272 '404': *6 '422': *15 x-github: @@ -74621,9 +74330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 responses: '204': description: Response @@ -74645,9 +74354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - 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. @@ -74673,13 +74382,13 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74697,9 +74406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -74731,16 +74440,16 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -74762,10 +74471,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *265 - - *266 - - *460 - - *261 + - *263 + - *264 + - *458 + - *259 responses: '204': description: Response @@ -74794,9 +74503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -74820,7 +74529,7 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -74853,9 +74562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *17 - *19 responses: @@ -74867,11 +74576,11 @@ paths: type: array items: *74 examples: - default: *464 + default: *462 headers: Link: *57 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74899,9 +74608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -74930,14 +74639,14 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *274 + '410': *272 '422': *15 '404': *6 x-github: @@ -74957,9 +74666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 requestBody: required: true content: @@ -74992,7 +74701,7 @@ paths: application/json: schema: *74 examples: - default: *459 + default: *457 '403': *27 '404': *6 '422': *7 @@ -75014,9 +74723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *265 - - *266 - - *460 + - *263 + - *264 + - *458 - *17 - *19 responses: @@ -75031,6 +74740,8 @@ paths: description: Timeline Event type: object anyOf: + - *463 + - *464 - *465 - *466 - *467 @@ -75042,8 +74753,6 @@ paths: - *473 - *474 - *475 - - *476 - - *477 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75367,7 +75076,7 @@ paths: type: string comments: type: array - items: &497 + items: &495 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -75605,7 +75314,7 @@ paths: type: string comments: type: array - items: *392 + items: *390 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75880,7 +75589,7 @@ paths: headers: Link: *57 '404': *6 - '410': *274 + '410': *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75897,8 +75606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -75908,7 +75617,7 @@ paths: application/json: schema: type: array - items: &478 + items: &476 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75975,8 +75684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76012,9 +75721,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: - default: &479 + default: &477 value: id: 1 key: ssh-rsa AAA... @@ -76048,9 +75757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *265 - - *266 - - &480 + - *263 + - *264 + - &478 name: key_id description: The unique identifier of the key. in: path @@ -76062,9 +75771,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *476 examples: - default: *479 + default: *477 '404': *6 x-github: githubCloudOnly: false @@ -76082,9 +75791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *265 - - *266 - - *480 + - *263 + - *264 + - *478 responses: '204': description: Response @@ -76104,8 +75813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -76115,9 +75824,9 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *463 + default: *461 headers: Link: *57 '404': *6 @@ -76138,8 +75847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76175,9 +75884,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: - default: &481 + default: &479 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76209,8 +75918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *265 - - *266 + - *263 + - *264 - name: name in: path required: true @@ -76221,9 +75930,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: - default: *481 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -76240,8 +75949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *265 - - *266 + - *263 + - *264 - name: name in: path required: true @@ -76280,7 +75989,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: default: value: @@ -76306,8 +76015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *265 - - *266 + - *263 + - *264 - name: name in: path required: true @@ -76333,8 +76042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -76373,9 +76082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *265 - - *266 - - *370 + - *263 + - *264 + - *368 responses: '200': description: Response @@ -76522,8 +76231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76588,8 +76297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76623,9 +76332,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *393 + schema: *391 examples: - default: *482 + default: *480 '204': description: Response when already merged '404': @@ -76650,8 +76359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *265 - - *266 + - *263 + - *264 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -76692,7 +76401,7 @@ paths: application/json: schema: type: array - items: *397 + items: *395 examples: default: value: @@ -76748,8 +76457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -76789,9 +76498,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *395 examples: - default: &483 + default: &481 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76850,9 +76559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *265 - - *266 - - &484 + - *263 + - *264 + - &482 name: milestone_number description: The number that identifies the milestone. in: path @@ -76864,9 +76573,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *395 examples: - default: *483 + default: *481 '404': *6 x-github: githubCloudOnly: false @@ -76883,9 +76592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *265 - - *266 - - *484 + - *263 + - *264 + - *482 requestBody: required: false content: @@ -76923,9 +76632,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *395 examples: - default: *483 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76941,9 +76650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *265 - - *266 - - *484 + - *263 + - *264 + - *482 responses: '204': description: Response @@ -76964,9 +76673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *265 - - *266 - - *484 + - *263 + - *264 + - *482 - *17 - *19 responses: @@ -76976,9 +76685,9 @@ paths: application/json: schema: type: array - items: *462 + items: *460 examples: - default: *463 + default: *461 headers: Link: *57 x-github: @@ -76997,12 +76706,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *265 - - *266 - - *485 - - *486 + - *263 + - *264 + - *483 + - *484 - *64 - - *487 + - *485 - *17 - *19 responses: @@ -77014,7 +76723,7 @@ paths: type: array items: *86 examples: - default: *488 + default: *486 headers: Link: *57 x-github: @@ -77038,8 +76747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -77097,14 +76806,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: &489 + schema: &487 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77248,7 +76957,7 @@ paths: - custom_404 - public examples: - default: &490 + default: &488 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77289,8 +76998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -77345,9 +77054,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *487 examples: - default: *490 + default: *488 '422': *15 '409': *44 x-github: @@ -77370,8 +77079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -77471,8 +77180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -77498,8 +77207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -77509,7 +77218,7 @@ paths: application/json: schema: type: array - items: &491 + items: &489 title: Page Build description: Page Build type: object @@ -77601,8 +77310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *265 - - *266 + - *263 + - *264 responses: '201': description: Response @@ -77649,16 +77358,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: &492 + default: &490 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -77706,8 +77415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *265 - - *266 + - *263 + - *264 - name: build_id in: path required: true @@ -77718,9 +77427,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: *492 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77740,8 +77449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -77849,9 +77558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *265 - - *266 - - &493 + - *263 + - *264 + - &491 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77909,9 +77618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *265 - - *266 - - *493 + - *263 + - *264 + - *491 responses: '204': *137 '404': *6 @@ -77938,8 +77647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -78234,8 +77943,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: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Private vulnerability reporting status @@ -78272,8 +77981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': *137 '422': *14 @@ -78294,8 +78003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': *137 '422': *14 @@ -78318,8 +78027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *265 - - *266 + - *263 + - *264 - name: state description: Indicates the state of the projects to return. in: query @@ -78380,7 +78089,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *274 + '410': *272 '422': *7 x-github: githubCloudOnly: false @@ -78403,8 +78112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -78432,11 +78141,11 @@ paths: application/json: schema: *216 examples: - default: *273 + default: *271 '401': *23 '403': *27 '404': *6 - '410': *274 + '410': *272 '422': *7 x-github: githubCloudOnly: false @@ -78459,8 +78168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -78499,8 +78208,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -78562,8 +78271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *265 - - *266 + - *263 + - *264 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78623,9 +78332,9 @@ paths: application/json: schema: type: array - items: *494 + items: *492 examples: - default: *495 + default: *493 headers: Link: *57 '304': *35 @@ -78657,8 +78366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -78725,7 +78434,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &497 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -78854,7 +78563,7 @@ paths: milestone: anyOf: - type: 'null' - - *397 + - *395 active_lock_reason: type: - string @@ -78947,14 +78656,14 @@ paths: _links: type: object properties: - comments: *398 - commits: *398 - statuses: *398 - html: *398 - issue: *398 - review_comments: *398 - review_comment: *398 - self: *398 + comments: *396 + commits: *396 + statuses: *396 + html: *396 + issue: *396 + review_comments: *396 + review_comment: *396 + self: *396 required: - comments - commits @@ -78965,7 +78674,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: *496 + auto_merge: *494 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -79067,7 +78776,7 @@ paths: - merged_by - review_comments examples: - default: &500 + default: &498 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79594,8 +79303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - name: sort in: query required: false @@ -79624,9 +79333,9 @@ paths: application/json: schema: type: array - items: *497 + items: *495 examples: - default: &502 + default: &500 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79703,17 +79412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '200': description: Response content: application/json: - schema: *497 + schema: *495 examples: - default: &498 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79788,8 +79497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -79812,9 +79521,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *495 examples: - default: *498 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79830,8 +79539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *265 - - *266 + - *263 + - *264 - *73 responses: '204': @@ -79853,8 +79562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79881,9 +79590,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 @@ -79904,8 +79613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *265 - - *266 + - *263 + - *264 - *73 requestBody: required: true @@ -79938,16 +79647,16 @@ paths: description: Reaction exists content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Reaction created content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -79969,10 +79678,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *265 - - *266 + - *263 + - *264 - *73 - - *261 + - *259 responses: '204': description: Response @@ -80015,9 +79724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *265 - - *266 - - &501 + - *263 + - *264 + - &499 name: pull_number description: The number that identifies the pull request. in: path @@ -80030,9 +79739,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 '304': *35 '404': *6 '406': @@ -80067,9 +79776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -80111,9 +79820,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: - default: *500 + default: *498 '422': *15 '403': *27 x-github: @@ -80135,9 +79844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: true content: @@ -80200,7 +79909,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -80208,7 +79917,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '401': *23 '403': *27 '404': *6 @@ -80238,9 +79947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *83 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -80261,9 +79970,9 @@ paths: application/json: schema: type: array - items: *497 + items: *495 examples: - default: *502 + default: *500 headers: Link: *57 x-github: @@ -80296,9 +80005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: true content: @@ -80404,7 +80113,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *495 examples: example-for-a-multi-line-comment: value: @@ -80492,9 +80201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *73 requestBody: required: true @@ -80517,7 +80226,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *495 examples: default: value: @@ -80603,9 +80312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *17 - *19 responses: @@ -80615,9 +80324,9 @@ paths: application/json: schema: type: array - items: *393 + items: *391 examples: - default: *503 + default: *501 headers: Link: *57 x-github: @@ -80647,9 +80356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *17 - *19 responses: @@ -80659,7 +80368,7 @@ paths: application/json: schema: type: array - items: *405 + items: *403 examples: default: value: @@ -80697,9 +80406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 responses: '204': description: Response if pull request has been merged @@ -80722,9 +80431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -80836,9 +80545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 responses: '200': description: Response @@ -80913,9 +80622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -80952,7 +80661,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *492 examples: default: value: @@ -81488,9 +81197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: true content: @@ -81524,7 +81233,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *492 examples: default: value: @@ -82029,9 +81738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 - *17 - *19 responses: @@ -82041,7 +81750,7 @@ paths: application/json: schema: type: array - items: &504 + items: &502 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82197,9 +81906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -82289,9 +81998,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: &506 + default: &504 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82354,10 +82063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - &505 + - *263 + - *264 + - *499 + - &503 name: review_id description: The unique identifier of the review. in: path @@ -82369,9 +82078,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: &507 + default: &505 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82430,10 +82139,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 requestBody: required: true content: @@ -82456,7 +82165,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: default: value: @@ -82518,18 +82227,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 responses: '200': description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *506 + default: *504 '422': *7 '404': *6 x-github: @@ -82556,10 +82265,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 - *17 - *19 responses: @@ -82657,9 +82366,9 @@ paths: _links: type: object properties: - self: *398 - html: *398 - pull_request: *398 + self: *396 + html: *396 + pull_request: *396 required: - self - html @@ -82810,10 +82519,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 requestBody: required: true content: @@ -82842,7 +82551,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: default: value: @@ -82905,10 +82614,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *265 - - *266 - - *501 - - *505 + - *263 + - *264 + - *499 + - *503 requestBody: required: true content: @@ -82943,9 +82652,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *507 + default: *505 '404': *6 '422': *7 '403': *27 @@ -82967,9 +82676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *265 - - *266 - - *501 + - *263 + - *264 + - *499 requestBody: required: false content: @@ -83033,8 +82742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *265 - - *266 + - *263 + - *264 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83047,9 +82756,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: - default: &509 + default: &507 value: type: file encoding: base64 @@ -83091,8 +82800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *265 - - *266 + - *263 + - *264 - name: dir description: The alternate path to look for a README file in: path @@ -83112,9 +82821,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: - default: *509 + default: *507 '404': *6 '422': *15 x-github: @@ -83136,8 +82845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -83147,7 +82856,7 @@ paths: application/json: schema: type: array - items: &510 + items: &508 title: Release description: A release. type: object @@ -83219,7 +82928,7 @@ paths: author: *4 assets: type: array - items: &511 + items: &509 title: Release Asset description: Data related to a release. type: object @@ -83399,8 +83108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -83476,9 +83185,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: &514 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83581,9 +83290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *265 - - *266 - - &512 + - *263 + - *264 + - &510 name: asset_id description: The unique identifier of the asset. in: path @@ -83595,9 +83304,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: &513 + default: &511 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 @@ -83631,7 +83340,7 @@ paths: type: User site_admin: false '404': *6 - '302': *407 + '302': *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83647,9 +83356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *265 - - *266 - - *512 + - *263 + - *264 + - *510 requestBody: required: false content: @@ -83678,9 +83387,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *509 examples: - default: *513 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83696,9 +83405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *265 - - *266 - - *512 + - *263 + - *264 + - *510 responses: '204': description: Response @@ -83722,8 +83431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -83809,16 +83518,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: *514 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83835,8 +83544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *265 - - *266 + - *263 + - *264 - name: tag description: tag parameter in: path @@ -83849,9 +83558,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: *514 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -83873,9 +83582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *265 - - *266 - - &515 + - *263 + - *264 + - &513 name: release_id description: The unique identifier of the release. in: path @@ -83889,9 +83598,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: *510 + schema: *508 examples: - default: *514 + default: *512 '401': description: Unauthorized x-github: @@ -83909,9 +83618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 requestBody: required: false content: @@ -83975,9 +83684,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: *514 + default: *512 '404': description: Not Found if the discussion category name is invalid content: @@ -83998,9 +83707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 responses: '204': description: Response @@ -84020,9 +83729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 - *17 - *19 responses: @@ -84032,7 +83741,7 @@ paths: application/json: schema: type: array - items: *511 + items: *509 examples: default: value: @@ -84112,9 +83821,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: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 - name: name in: query required: true @@ -84140,7 +83849,7 @@ paths: description: Response for successful upload content: application/json: - schema: *511 + schema: *509 examples: response-for-successful-upload: value: @@ -84194,9 +83903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 - 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. @@ -84220,9 +83929,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 '404': *6 @@ -84243,9 +83952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *265 - - *266 - - *515 + - *263 + - *264 + - *513 requestBody: required: true content: @@ -84275,16 +83984,16 @@ paths: description: Reaction exists content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '201': description: Reaction created content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '422': *15 x-github: githubCloudOnly: false @@ -84306,10 +84015,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *265 - - *266 - - *515 - - *261 + - *263 + - *264 + - *513 + - *259 responses: '204': description: Response @@ -84333,9 +84042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *265 - - *266 - - *333 + - *263 + - *264 + - *331 - *17 - *19 responses: @@ -84351,8 +84060,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *516 - - &518 + - *514 + - &516 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84371,66 +84080,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *515 + - *516 - allOf: - *517 + - *516 + - allOf: - *518 + - *516 - allOf: - *519 - - *518 + - *516 - allOf: - *520 - - *518 + - *516 - allOf: - *521 - - *518 + - *516 - allOf: - *522 - - *518 + - *516 - allOf: - *523 - - *518 + - *516 - allOf: - *524 - - *518 + - *516 - allOf: - *525 - - *518 + - *516 - allOf: - *526 - - *518 + - *516 - allOf: - *527 - - *518 + - *516 - allOf: - *528 - - *518 + - *516 - allOf: - *529 - - *518 + - *516 - allOf: - *530 - - *518 + - *516 - allOf: - *531 - - *518 + - *516 - allOf: - *532 - - *518 + - *516 - allOf: - *533 - - *518 + - *516 - allOf: - *534 - - *518 + - *516 - allOf: - *535 - - *518 - - allOf: - - *536 - - *518 - - allOf: - - *537 - - *518 + - *516 examples: default: value: @@ -84469,8 +84178,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 - name: includes_parents @@ -84481,7 +84190,7 @@ paths: schema: type: boolean default: true - - *538 + - *536 responses: '200': description: Response @@ -84536,8 +84245,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 requestBody: description: Request body required: true @@ -84599,7 +84308,7 @@ paths: application/json: schema: *229 examples: - default: &548 + default: &546 value: id: 42 name: super cool ruleset @@ -84646,12 +84355,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *265 - - *266 + - *263 + - *264 + - *537 + - *538 - *539 - *540 - - *541 - - *542 - *17 - *19 responses: @@ -84659,9 +84368,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: *544 + default: *542 '404': *6 '500': *140 x-github: @@ -84682,17 +84391,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *265 - - *266 - - *545 + - *263 + - *264 + - *543 responses: '200': description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: *547 + default: *545 '404': *6 '500': *140 x-github: @@ -84720,8 +84429,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84743,7 +84452,7 @@ paths: application/json: schema: *229 examples: - default: *548 + default: *546 '404': *6 '500': *140 put: @@ -84761,8 +84470,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84826,7 +84535,7 @@ paths: application/json: schema: *229 examples: - default: *548 + default: *546 '404': *6 '500': *140 delete: @@ -84844,8 +84553,8 @@ paths: category: repos subcategory: rules parameters: - - *265 - - *266 + - *263 + - *264 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84868,8 +84577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 - name: ruleset_id @@ -84887,7 +84596,7 @@ paths: type: array items: *231 examples: - default: *549 + default: *547 '404': *6 '500': *140 x-github: @@ -84906,8 +84615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *265 - - *266 + - *263 + - *264 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84925,7 +84634,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: default: value: @@ -84980,8 +84689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 - *232 - *233 - *234 @@ -84989,8 +84698,8 @@ paths: - *46 - *19 - *17 - - *551 - - *552 + - *549 + - *550 - *236 - *237 - *238 @@ -85001,7 +84710,7 @@ paths: application/json: schema: type: array - items: &555 + items: &553 type: object properties: number: *52 @@ -85017,8 +84726,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *553 - resolution: *554 + state: *551 + resolution: *552 resolved_at: type: - string @@ -85237,15 +84946,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 responses: '200': description: Response content: application/json: - schema: *555 + schema: *553 examples: default: value: @@ -85297,9 +85006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 requestBody: required: true content: @@ -85307,8 +85016,8 @@ paths: schema: type: object properties: - state: *553 - resolution: *554 + state: *551 + resolution: *552 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85327,7 +85036,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *553 examples: default: value: @@ -85402,9 +85111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *265 - - *266 - - *364 + - *263 + - *264 + - *362 - *19 - *17 responses: @@ -85415,7 +85124,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &684 + items: &682 type: object properties: type: @@ -85794,8 +85503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -85803,14 +85512,14 @@ paths: schema: type: object properties: - reason: &557 + reason: &555 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *556 + placeholder_id: *554 required: - reason - placeholder_id @@ -85827,7 +85536,7 @@ paths: schema: type: object properties: - reason: *557 + reason: *555 expire_at: type: - string @@ -85871,8 +85580,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: - - *265 - - *266 + - *263 + - *264 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -85887,7 +85596,7 @@ paths: properties: incremental_scans: type: array - items: &558 + items: &556 description: Information on a single scan performed by secret scanning on the repository type: object @@ -85915,15 +85624,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *558 + items: *556 backfill_scans: type: array - items: *558 + items: *556 custom_pattern_backfill_scans: type: array items: allOf: - - *558 + - *556 - type: object properties: pattern_name: @@ -85993,8 +85702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *265 - - *266 + - *263 + - *264 - *46 - name: sort description: The property to sort the results by. @@ -86038,9 +85747,9 @@ paths: application/json: schema: type: array - items: *559 + items: *557 examples: - default: *560 + default: *558 '400': *14 '404': *6 x-github: @@ -86063,8 +85772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -86234,9 +85943,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: &562 + default: &560 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86469,8 +86178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -86583,7 +86292,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: default: value: @@ -86730,17 +86439,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *265 - - *266 - - *561 + - *263 + - *264 + - *559 responses: '200': description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *562 + default: *560 '403': *27 '404': *6 x-github: @@ -86764,9 +86473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *265 - - *266 - - *561 + - *263 + - *264 + - *559 requestBody: required: true content: @@ -86937,10 +86646,10 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *562 - add_credit: *562 + default: *560 + add_credit: *560 '403': *27 '404': *6 '422': @@ -86978,9 +86687,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: - - *265 - - *266 - - *561 + - *263 + - *264 + - *559 responses: '202': *45 '400': *14 @@ -87007,17 +86716,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *265 - - *266 - - *561 + - *263 + - *264 + - *559 responses: '202': description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 + default: *276 '400': *14 '422': *15 '403': *27 @@ -87043,8 +86752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -87140,8 +86849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87150,7 +86859,7 @@ paths: application/json: schema: type: array - items: &563 + items: &561 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87183,8 +86892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -87262,8 +86971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -87357,8 +87066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -87512,8 +87221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -87523,7 +87232,7 @@ paths: application/json: schema: type: array - items: *563 + items: *561 examples: default: value: @@ -87556,8 +87265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *265 - - *266 + - *263 + - *264 - name: sha in: path required: true @@ -87613,7 +87322,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: default: value: @@ -87667,8 +87376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -87700,14 +87409,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &565 + schema: &563 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87780,8 +87489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: false content: @@ -87807,7 +87516,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: default: value: @@ -87834,8 +87543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -87855,8 +87564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -87938,8 +87647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -87947,7 +87656,7 @@ paths: application/json: schema: type: array - items: &566 + items: &564 title: Tag protection description: Tag protection type: object @@ -88004,8 +87713,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: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -88028,7 +87737,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *564 examples: default: value: @@ -88059,8 +87768,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: - - *265 - - *266 + - *263 + - *264 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -88097,8 +87806,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *265 - - *266 + - *263 + - *264 - name: ref in: path required: true @@ -88134,8 +87843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *265 - - *266 + - *263 + - *264 - *17 - *19 responses: @@ -88167,8 +87876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *265 - - *266 + - *263 + - *264 - *19 - *17 responses: @@ -88176,7 +87885,7 @@ paths: description: Response content: application/json: - schema: &567 + schema: &565 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88188,7 +87897,7 @@ paths: required: - names examples: - default: &568 + default: &566 value: names: - octocat @@ -88211,8 +87920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -88243,9 +87952,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *565 examples: - default: *568 + default: *566 '404': *6 '422': *7 x-github: @@ -88266,9 +87975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *265 - - *266 - - &569 + - *263 + - *264 + - &567 name: per description: The time frame to display results for. in: query @@ -88299,7 +88008,7 @@ paths: - 128 clones: type: array - items: &570 + items: &568 title: Traffic type: object properties: @@ -88386,8 +88095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -88481,8 +88190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *265 - - *266 + - *263 + - *264 responses: '200': description: Response @@ -88545,9 +88254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *265 - - *266 - - *569 + - *263 + - *264 + - *567 responses: '200': description: Response @@ -88568,7 +88277,7 @@ paths: - 3782 views: type: array - items: *570 + items: *568 required: - uniques - count @@ -88645,8 +88354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *265 - - *266 + - *263 + - *264 requestBody: required: true content: @@ -88920,8 +88629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88944,8 +88653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -88967,8 +88676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -88994,8 +88703,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *265 - - *266 + - *263 + - *264 - name: ref in: path required: true @@ -89087,9 +88796,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 + default: *276 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89338,7 +89047,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &571 + text_matches: &569 title: Search Result Text Matches type: array items: @@ -89501,7 +89210,7 @@ paths: enum: - author-date - committer-date - - &572 + - &570 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 @@ -89570,7 +89279,7 @@ paths: committer: anyOf: - type: 'null' - - *331 + - *329 comment_count: type: integer message: @@ -89589,7 +89298,7 @@ paths: url: type: string format: uri - verification: *442 + verification: *440 required: - author - committer @@ -89604,7 +89313,7 @@ paths: committer: anyOf: - type: 'null' - - *331 + - *329 parents: type: array items: @@ -89621,7 +89330,7 @@ paths: type: number node_id: type: string - text_matches: *571 + text_matches: *569 required: - sha - node_id @@ -89803,7 +89512,7 @@ paths: - interactions - created - updated - - *572 + - *570 - *17 - *19 - name: advanced_search @@ -89927,7 +89636,7 @@ paths: milestone: anyOf: - type: 'null' - - *397 + - *395 comments: type: integer created_at: @@ -89941,7 +89650,7 @@ paths: - string - 'null' format: date-time - text_matches: *571 + text_matches: *569 pull_request: type: object properties: @@ -90167,7 +89876,7 @@ paths: enum: - created - updated - - *572 + - *570 - *17 - *19 responses: @@ -90212,7 +89921,7 @@ paths: - 'null' score: type: number - text_matches: *571 + text_matches: *569 required: - id - node_id @@ -90297,7 +90006,7 @@ paths: - forks - help-wanted-issues - updated - - *572 + - *570 - *17 - *19 responses: @@ -90534,7 +90243,7 @@ paths: - admin - pull - push - text_matches: *571 + text_matches: *569 temp_clone_token: type: string allow_merge_commit: @@ -90842,7 +90551,7 @@ paths: - string - 'null' format: uri - text_matches: *571 + text_matches: *569 related: type: - array @@ -91035,7 +90744,7 @@ paths: - followers - repositories - joined - - *572 + - *570 - *17 - *19 responses: @@ -91145,7 +90854,7 @@ paths: type: - boolean - 'null' - text_matches: *571 + text_matches: *569 blog: type: - string @@ -91227,7 +90936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &573 + - &571 name: team_id description: The unique identifier of the team. in: path @@ -91239,9 +90948,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -91268,7 +90977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *573 + - *571 requestBody: required: true content: @@ -91332,16 +91041,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '201': description: Response content: application/json: - schema: *250 + schema: *248 examples: - default: *251 + default: *249 '404': *6 '422': *15 '403': *27 @@ -91369,7 +91078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *573 + - *571 responses: '204': description: Response @@ -91400,7 +91109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *573 + - *571 - *46 - *17 - *19 @@ -91411,9 +91120,9 @@ paths: application/json: schema: type: array - items: *252 + items: *250 examples: - default: *574 + default: *572 headers: Link: *57 x-github: @@ -91442,7 +91151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *573 + - *571 requestBody: required: true content: @@ -91476,9 +91185,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *253 + default: *251 x-github: triggersNotification: true githubCloudOnly: false @@ -91505,16 +91214,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 responses: '200': description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *253 + default: *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91539,8 +91248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 requestBody: required: false content: @@ -91563,9 +91272,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *575 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,8 +91299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 responses: '204': description: Response @@ -91620,8 +91329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *573 - - *254 + - *571 + - *252 - *46 - *17 - *19 @@ -91632,9 +91341,9 @@ paths: application/json: schema: type: array - items: *255 + items: *253 examples: - default: *576 + default: *574 headers: Link: *57 x-github: @@ -91663,8 +91372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *573 - - *254 + - *571 + - *252 requestBody: required: true content: @@ -91686,9 +91395,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 x-github: triggersNotification: true githubCloudOnly: false @@ -91715,17 +91424,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 responses: '200': description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91750,9 +91459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 requestBody: required: true content: @@ -91774,9 +91483,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *577 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91801,9 +91510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 responses: '204': description: Response @@ -91832,9 +91541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 - 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. @@ -91860,9 +91569,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 x-github: @@ -91891,9 +91600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *573 - - *254 - - *257 + - *571 + - *252 + - *255 requestBody: required: true content: @@ -91925,9 +91634,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91953,8 +91662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 - 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. @@ -91980,9 +91689,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *260 + default: *258 headers: Link: *57 x-github: @@ -92011,8 +91720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *573 - - *254 + - *571 + - *252 requestBody: required: true content: @@ -92044,9 +91753,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92070,7 +91779,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *573 + - *571 - *17 - *19 responses: @@ -92108,7 +91817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *573 + - *571 - name: role description: Filters members returned by their role in the team. in: query @@ -92159,7 +91868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *573 + - *571 - *128 responses: '204': @@ -92196,7 +91905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *573 + - *571 - *128 responses: '204': @@ -92236,7 +91945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *573 + - *571 - *128 responses: '204': @@ -92273,16 +91982,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *573 + - *571 - *128 responses: '200': description: Response content: application/json: - schema: *262 + schema: *260 examples: - response-if-user-is-a-team-maintainer: *578 + response-if-user-is-a-team-maintainer: *576 '404': *6 x-github: githubCloudOnly: false @@ -92315,7 +92024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *573 + - *571 - *128 requestBody: required: false @@ -92341,9 +92050,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *260 examples: - response-if-users-membership-with-team-is-now-pending: *579 + response-if-users-membership-with-team-is-now-pending: *577 '403': description: Forbidden if team synchronization is set up '422': @@ -92377,7 +92086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *573 + - *571 - *128 responses: '204': @@ -92406,7 +92115,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *573 + - *571 - *17 - *19 responses: @@ -92416,9 +92125,9 @@ paths: application/json: schema: type: array - items: *263 + items: *261 examples: - default: *580 + default: *578 headers: Link: *57 '404': *6 @@ -92444,16 +92153,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *573 - - *264 + - *571 + - *262 responses: '200': description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *581 + default: *579 '404': description: Not Found if project is not managed by this team x-github: @@ -92477,8 +92186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *573 - - *264 + - *571 + - *262 requestBody: required: false content: @@ -92545,8 +92254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *573 - - *264 + - *571 + - *262 responses: '204': description: Response @@ -92573,7 +92282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *573 + - *571 - *17 - *19 responses: @@ -92615,15 +92324,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *573 - - *265 - - *266 + - *571 + - *263 + - *264 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *582 + schema: *580 examples: alternative-response-with-extra-repository-information: value: @@ -92774,9 +92483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *573 - - *265 - - *266 + - *571 + - *263 + - *264 requestBody: required: false content: @@ -92826,9 +92535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *573 - - *265 - - *266 + - *571 + - *263 + - *264 responses: '204': description: Response @@ -92853,7 +92562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *573 + - *571 - *17 - *19 responses: @@ -92865,7 +92574,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: *583 + response-if-child-teams-exist: *581 headers: Link: *57 '404': *6 @@ -92898,7 +92607,7 @@ paths: application/json: schema: oneOf: - - &585 + - &583 title: Private User description: Private User type: object @@ -93148,7 +92857,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *584 + - *582 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93308,7 +93017,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *583 examples: default: value: @@ -93654,7 +93363,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -93662,7 +93371,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '401': *23 '403': *27 '404': *6 @@ -93706,7 +93415,7 @@ paths: type: integer secrets: type: array - items: &586 + items: &584 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -93748,7 +93457,7 @@ paths: - visibility - selected_repositories_url examples: - default: *386 + default: *384 headers: Link: *57 x-github: @@ -93826,7 +93535,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -93972,7 +93681,7 @@ paths: type: array items: *115 examples: - default: *587 + default: *585 '401': *23 '403': *27 '404': *6 @@ -94124,7 +93833,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '304': *35 '500': *140 '401': *23 @@ -94182,7 +93891,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '401': *23 '403': *27 '404': *6 @@ -94239,7 +93948,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &586 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94292,7 +94001,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &589 + default: &587 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94337,9 +94046,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *586 examples: - default: *589 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -94376,9 +94085,9 @@ paths: type: integer machines: type: array - items: *385 + items: *383 examples: - default: *590 + default: *588 '304': *35 '500': *140 '401': *23 @@ -94463,11 +94172,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *276 + repository: *274 machine: anyOf: - type: 'null' - - *385 + - *383 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -95272,7 +94981,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '304': *35 '500': *140 '400': *14 @@ -95312,7 +95021,7 @@ paths: application/json: schema: *187 examples: - default: *384 + default: *382 '500': *140 '401': *23 '403': *27 @@ -95344,7 +95053,7 @@ paths: type: array items: *200 examples: - default: &603 + default: &601 value: - id: 197 name: hello_docker @@ -95445,7 +95154,7 @@ paths: application/json: schema: type: array - items: &591 + items: &589 title: Email description: Email type: object @@ -95515,9 +95224,9 @@ paths: application/json: schema: type: array - items: *591 + items: *589 examples: - default: &605 + default: &603 value: - email: octocat@github.com verified: true @@ -95594,7 +95303,7 @@ paths: application/json: schema: type: array - items: *591 + items: *589 examples: default: value: @@ -95852,7 +95561,7 @@ paths: application/json: schema: type: array - items: &592 + items: &590 title: GPG Key description: A unique encryption key type: object @@ -95997,7 +95706,7 @@ paths: - subkeys - revoked examples: - default: &616 + default: &614 value: - id: 3 name: Octocat's GPG Key @@ -96082,9 +95791,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *590 examples: - default: &593 + default: &591 value: id: 3 name: Octocat's GPG Key @@ -96141,7 +95850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &594 + - &592 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96153,9 +95862,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *590 examples: - default: *593 + default: *591 '404': *6 '304': *35 '403': *27 @@ -96178,7 +95887,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *594 + - *592 responses: '204': description: Response @@ -96369,7 +96078,7 @@ paths: type: array items: *59 examples: - default: *595 + default: *593 headers: Link: *57 '404': *6 @@ -96483,7 +96192,7 @@ paths: required: true content: application/json: - schema: *453 + schema: *451 examples: default: value: @@ -96633,7 +96342,7 @@ paths: application/json: schema: type: array - items: &596 + items: &594 title: Key description: Key type: object @@ -96731,9 +96440,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *594 examples: - default: &597 + default: &595 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96766,15 +96475,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *480 + - *478 responses: '200': description: Response content: application/json: - schema: *596 + schema: *594 examples: - default: *597 + default: *595 '404': *6 '304': *35 '403': *27 @@ -96797,7 +96506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *480 + - *478 responses: '204': description: Response @@ -96830,7 +96539,7 @@ paths: application/json: schema: type: array - items: &598 + items: &596 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -96909,7 +96618,7 @@ paths: - account - plan examples: - default: &599 + default: &597 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -96971,9 +96680,9 @@ paths: application/json: schema: type: array - items: *598 + items: *596 examples: - default: *599 + default: *597 headers: Link: *57 '304': *35 @@ -97977,7 +97686,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *194 - - *600 + - *598 responses: '204': description: Response @@ -98050,7 +97759,7 @@ paths: type: array items: *142 examples: - default: *601 + default: *599 headers: Link: *57 '304': *35 @@ -98092,7 +97801,7 @@ paths: - docker - nuget - container - - *602 + - *600 - *19 - *17 responses: @@ -98104,8 +97813,8 @@ paths: type: array items: *200 examples: - default: *603 - '400': *604 + default: *601 + '400': *602 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98134,7 +97843,7 @@ paths: application/json: schema: *200 examples: - default: &617 + default: &615 value: id: 40201 name: octo-name @@ -98589,9 +98298,9 @@ paths: application/json: schema: type: array - items: *591 + items: *589 examples: - default: *605 + default: *603 headers: Link: *57 '304': *35 @@ -98704,7 +98413,7 @@ paths: type: array items: *59 examples: - default: &612 + default: &610 summary: Default response value: - id: 1296269 @@ -99020,9 +98729,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *278 + default: *276 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99060,9 +98769,9 @@ paths: application/json: schema: type: array - items: *455 + items: *453 examples: - default: *606 + default: *604 headers: Link: *57 '304': *35 @@ -99141,7 +98850,7 @@ paths: application/json: schema: type: array - items: &607 + items: &605 title: Social account description: Social media account type: object @@ -99158,7 +98867,7 @@ paths: - provider - url examples: - default: &608 + default: &606 value: - provider: twitter url: https://twitter.com/github @@ -99221,9 +98930,9 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: - default: *608 + default: *606 '422': *15 '304': *35 '404': *6 @@ -99311,7 +99020,7 @@ paths: application/json: schema: type: array - items: &609 + items: &607 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99331,7 +99040,7 @@ paths: - title - created_at examples: - default: &624 + default: &622 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99398,9 +99107,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: &610 + default: &608 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99431,7 +99140,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: - - &611 + - &609 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -99443,9 +99152,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *610 + default: *608 '404': *6 '304': *35 '403': *27 @@ -99468,7 +99177,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: - - *611 + - *609 responses: '204': description: Response @@ -99497,7 +99206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &625 + - &623 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 @@ -99522,11 +99231,11 @@ paths: type: array items: *59 examples: - default-response: *612 + default-response: *610 application/vnd.github.v3.star+json: schema: type: array - items: &626 + items: &624 title: Starred Repository description: Starred Repository type: object @@ -99682,8 +99391,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: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response if this repository is starred by you @@ -99711,8 +99420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -99736,8 +99445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *265 - - *266 + - *263 + - *264 responses: '204': description: Response @@ -99809,7 +99518,7 @@ paths: application/json: schema: type: array - items: *250 + items: *248 examples: default: value: @@ -99895,10 +99604,10 @@ paths: application/json: schema: oneOf: - - *585 - - *584 + - *583 + - *582 examples: - default-response: &614 + default-response: &612 summary: Default response value: login: octocat @@ -99933,7 +99642,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &615 + response-with-git-hub-plan-information: &613 summary: Response with GitHub plan information value: login: octocat @@ -99993,7 +99702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *613 + - *611 - *17 responses: '200': @@ -100042,11 +99751,11 @@ paths: application/json: schema: oneOf: - - *585 - - *584 + - *583 + - *582 examples: - default-response: *614 - response-with-git-hub-plan-information: *615 + default-response: *612 + response-with-git-hub-plan-information: *613 '404': *6 x-github: githubCloudOnly: false @@ -100122,7 +99831,7 @@ paths: bundle_url: type: string examples: - default: *327 + default: *325 '201': description: Response content: @@ -100163,7 +99872,7 @@ paths: type: array items: *200 examples: - default: *603 + default: *601 '403': *27 '401': *23 x-github: @@ -100567,9 +100276,9 @@ paths: application/json: schema: type: array - items: *592 + items: *590 examples: - default: *616 + default: *614 headers: Link: *57 x-github: @@ -100673,7 +100382,7 @@ paths: application/json: schema: *20 examples: - default: *452 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100751,7 +100460,7 @@ paths: type: array items: *142 examples: - default: *601 + default: *599 headers: Link: *57 x-github: @@ -100790,7 +100499,7 @@ paths: - docker - nuget - container - - *602 + - *600 - *128 - *19 - *17 @@ -100803,10 +100512,10 @@ paths: type: array items: *200 examples: - default: *603 + default: *601 '403': *27 '401': *23 - '400': *604 + '400': *602 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100836,7 +100545,7 @@ paths: application/json: schema: *200 examples: - default: *617 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101435,9 +101144,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *616 examples: - default: *619 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101465,9 +101174,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *618 examples: - default: *621 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101495,9 +101204,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *620 examples: - default: *623 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101525,9 +101234,9 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: - default: *608 + default: *606 headers: Link: *57 x-github: @@ -101557,9 +101266,9 @@ paths: application/json: schema: type: array - items: *609 + items: *607 examples: - default: *624 + default: *622 headers: Link: *57 x-github: @@ -101584,7 +101293,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *128 - - *625 + - *623 - *46 - *17 - *19 @@ -101596,11 +101305,11 @@ paths: schema: anyOf: - type: array - items: *626 + items: *624 - type: array items: *59 examples: - default-response: *612 + default-response: *610 headers: Link: *57 x-github: @@ -101760,7 +101469,7 @@ webhooks: type: string enum: - disabled - enterprise: &627 + enterprise: &625 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -101829,7 +101538,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &628 + installation: &626 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -101850,7 +101559,7 @@ webhooks: required: - id - node_id - organization: &629 + organization: &627 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -101923,7 +101632,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &630 + repository: &628 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -102836,10 +102545,10 @@ webhooks: type: string enum: - enabled - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -102915,11 +102624,11 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - rule: &631 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + rule: &629 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) @@ -103142,11 +102851,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - rule: *631 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + rule: *629 sender: *4 required: - action @@ -103334,11 +103043,11 @@ webhooks: - everyone required: - from - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - rule: *631 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + rule: *629 sender: *4 required: - action @@ -103422,7 +103131,7 @@ webhooks: type: string enum: - completed - check_run: &633 + check_run: &631 title: CheckRun description: A check performed on the code of a given code change type: object @@ -103490,7 +103199,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *344 + items: *342 repository: *115 status: type: string @@ -103535,7 +103244,7 @@ webhooks: - examples: - neutral - deployment: *632 + deployment: *630 details_url: type: string examples: @@ -103595,7 +103304,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *344 + items: *342 started_at: type: string format: date-time @@ -103633,9 +103342,9 @@ webhooks: - output - app - pull_requests - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - check_run @@ -104028,10 +103737,10 @@ webhooks: type: string enum: - created - check_run: *633 - installation: *628 - organization: *629 - repository: *630 + check_run: *631 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - check_run @@ -104427,10 +104136,10 @@ webhooks: type: string enum: - requested_action - check_run: *633 - installation: *628 - organization: *629 - repository: *630 + check_run: *631 + installation: *626 + organization: *627 + repository: *628 requested_action: description: The action requested by the user. type: object @@ -104835,10 +104544,10 @@ webhooks: type: string enum: - rerequested - check_run: *633 - installation: *628 - organization: *629 - repository: *630 + check_run: *631 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - check_run @@ -105830,10 +105539,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -106518,10 +106227,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -107200,10 +106909,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -107369,7 +107078,7 @@ webhooks: required: - login - id - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107521,20 +107230,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &634 + commit_oid: &632 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: *627 - installation: *628 - organization: *629 - ref: &635 + enterprise: *625 + installation: *626 + organization: *627 + ref: &633 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: *630 + repository: *628 sender: *4 required: - action @@ -107698,7 +107407,7 @@ webhooks: required: - login - id - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107939,12 +107648,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *634 - enterprise: *627 - installation: *628 - organization: *629 - ref: *635 - repository: *630 + commit_oid: *632 + enterprise: *625 + installation: *626 + organization: *627 + ref: *633 + repository: *628 sender: *4 required: - action @@ -108042,7 +107751,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108224,12 +107933,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *634 - enterprise: *627 - installation: *628 - organization: *629 - ref: *635 - repository: *630 + commit_oid: *632 + enterprise: *625 + installation: *626 + organization: *627 + ref: *633 + repository: *628 sender: *4 required: - action @@ -108395,7 +108104,7 @@ webhooks: required: - login - id - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -108572,12 +108281,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *634 - enterprise: *627 - installation: *628 - organization: *629 - ref: *635 - repository: *630 + commit_oid: *632 + enterprise: *625 + installation: *626 + organization: *627 + ref: *633 + repository: *628 sender: *4 required: - action @@ -108677,7 +108386,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108857,9 +108566,9 @@ webhooks: type: - string - 'null' - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -108867,7 +108576,7 @@ webhooks: type: - string - 'null' - repository: *630 + repository: *628 sender: *4 required: - action @@ -108963,7 +108672,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *359 + dismissed_comment: *357 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109110,12 +108819,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *634 - enterprise: *627 - installation: *628 - organization: *629 - ref: *635 - repository: *630 + commit_oid: *632 + enterprise: *625 + installation: *626 + organization: *627 + ref: *633 + repository: *628 sender: *4 required: - action @@ -109377,10 +109086,10 @@ webhooks: - updated_at - author_association - body - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -109461,18 +109170,18 @@ webhooks: type: - string - 'null' - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *629 - pusher_type: &636 + organization: *627 + pusher_type: &634 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &637 + ref: &635 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -109482,7 +109191,7 @@ webhooks: enum: - tag - branch - repository: *630 + repository: *628 sender: *4 required: - ref @@ -109565,9 +109274,9 @@ webhooks: enum: - created definition: *217 - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -109652,9 +109361,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -109732,9 +109441,9 @@ webhooks: enum: - promote_to_enterprise definition: *217 - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -109812,9 +109521,9 @@ webhooks: enum: - updated definition: *217 - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -109891,10 +109600,10 @@ webhooks: type: string enum: - updated - enterprise: *627 - installation: *628 - repository: *630 - organization: *629 + enterprise: *625 + installation: *626 + repository: *628 + organization: *627 sender: *4 new_property_values: type: array @@ -109979,18 +109688,18 @@ webhooks: title: delete event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 - pusher_type: *636 - ref: *637 + enterprise: *625 + installation: *626 + organization: *627 + pusher_type: *634 + ref: *635 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *630 + repository: *628 sender: *4 required: - ref @@ -110074,11 +109783,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110162,11 +109871,11 @@ webhooks: type: string enum: - auto_reopened - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110250,11 +109959,11 @@ webhooks: type: string enum: - created - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110336,11 +110045,11 @@ webhooks: type: string enum: - dismissed - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110422,11 +110131,11 @@ webhooks: type: string enum: - fixed - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110509,11 +110218,11 @@ webhooks: type: string enum: - reintroduced - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110595,11 +110304,11 @@ webhooks: type: string enum: - reopened - alert: *411 - installation: *628 - organization: *629 - enterprise: *627 - repository: *630 + alert: *409 + installation: *626 + organization: *627 + enterprise: *625 + repository: *628 sender: *4 required: - action @@ -110676,9 +110385,9 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - key: &638 + enterprise: *625 + installation: *626 + key: &636 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -110716,8 +110425,8 @@ webhooks: - verified - created_at - read_only - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -110794,11 +110503,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - key: *638 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + key: *636 + organization: *627 + repository: *628 sender: *4 required: - action @@ -111370,12 +111079,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: &642 + workflow: &640 title: Workflow type: - object @@ -112113,13 +111822,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *417 + deployment: *415 pull_requests: type: array - items: *499 - repository: *630 - organization: *629 - installation: *628 + items: *497 + repository: *628 + organization: *627 + installation: *626 sender: *4 responses: '200': @@ -112190,7 +111899,7 @@ webhooks: type: string enum: - approved - approver: &639 + approver: &637 type: object properties: avatar_url: @@ -112233,11 +111942,11 @@ webhooks: type: string comment: type: string - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - reviewers: &640 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + reviewers: &638 type: array items: type: object @@ -112318,7 +112027,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &641 + workflow_job_run: &639 type: object properties: conclusion: @@ -113064,18 +112773,18 @@ webhooks: type: string enum: - rejected - approver: *639 + approver: *637 comment: type: string - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - reviewers: *640 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + reviewers: *638 sender: *4 since: type: string - workflow_job_run: *641 + workflow_job_run: *639 workflow_job_runs: type: array items: @@ -113792,13 +113501,13 @@ webhooks: type: string enum: - requested - enterprise: *627 + enterprise: *625 environment: type: string - installation: *628 - organization: *629 - repository: *630 - requestor: &647 + installation: *626 + organization: *627 + repository: *628 + requestor: &645 title: User type: - object @@ -115741,12 +115450,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: *642 + workflow: *640 workflow_run: title: Deployment Workflow Run type: @@ -116437,7 +116146,7 @@ webhooks: type: string enum: - answered - answer: &645 + answer: &643 type: object properties: author_association: @@ -116597,7 +116306,7 @@ webhooks: - created_at - updated_at - body - discussion: &643 + discussion: &641 title: Discussion description: A Discussion in a repository. type: object @@ -116893,7 +116602,7 @@ webhooks: - id labels: type: array - items: *462 + items: *460 required: - repository_url - category @@ -116915,10 +116624,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117045,11 +116754,11 @@ webhooks: - from required: - category - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117132,11 +116841,11 @@ webhooks: type: string enum: - closed - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117218,7 +116927,7 @@ webhooks: type: string enum: - created - comment: &644 + comment: &642 type: object properties: author_association: @@ -117378,11 +117087,11 @@ webhooks: - updated_at - body - reactions - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117465,12 +117174,12 @@ webhooks: type: string enum: - deleted - comment: *644 - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + comment: *642 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117565,12 +117274,12 @@ webhooks: - from required: - body - comment: *644 - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + comment: *642 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117654,11 +117363,11 @@ webhooks: type: string enum: - created - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117740,11 +117449,11 @@ webhooks: type: string enum: - deleted - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117844,11 +117553,11 @@ webhooks: type: string required: - from - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -117930,10 +117639,10 @@ webhooks: type: string enum: - labeled - discussion: *643 - enterprise: *627 - installation: *628 - label: &646 + discussion: *641 + enterprise: *625 + installation: *626 + label: &644 title: Label type: object properties: @@ -117966,8 +117675,8 @@ webhooks: - color - default - description - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118050,11 +117759,11 @@ webhooks: type: string enum: - locked - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118136,11 +117845,11 @@ webhooks: type: string enum: - pinned - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118222,11 +117931,11 @@ webhooks: type: string enum: - reopened - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118311,16 +118020,16 @@ webhooks: changes: type: object properties: - new_discussion: *643 - new_repository: *630 + new_discussion: *641 + new_repository: *628 required: - new_discussion - new_repository - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118403,10 +118112,10 @@ webhooks: type: string enum: - unanswered - discussion: *643 - old_answer: *645 - organization: *629 - repository: *630 + discussion: *641 + old_answer: *643 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118488,12 +118197,12 @@ webhooks: type: string enum: - unlabeled - discussion: *643 - enterprise: *627 - installation: *628 - label: *646 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118576,11 +118285,11 @@ webhooks: type: string enum: - unlocked - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118662,11 +118371,11 @@ webhooks: type: string enum: - unpinned - discussion: *643 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + discussion: *641 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -118739,7 +118448,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *627 + enterprise: *625 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -119417,9 +119126,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - forkee @@ -119565,9 +119274,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pages: description: The pages that were updated. type: array @@ -119605,7 +119314,7 @@ webhooks: - action - sha - html_url - repository: *630 + repository: *628 sender: *4 required: - pages @@ -119681,10 +119390,10 @@ webhooks: type: string enum: - created - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: &648 + organization: *627 + repositories: &646 description: An array of repository objects that the installation can access. type: array @@ -119710,8 +119419,8 @@ webhooks: - name - full_name - private - repository: *630 - requester: *647 + repository: *628 + requester: *645 sender: *4 required: - action @@ -119786,11 +119495,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: *648 - repository: *630 + organization: *627 + repositories: *646 + repository: *628 requester: type: - 'null' @@ -119867,11 +119576,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: *648 - repository: *630 + organization: *627 + repositories: *646 + repository: *628 requester: type: - 'null' @@ -119948,10 +119657,10 @@ webhooks: type: string enum: - added - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories_added: &649 + organization: *627 + repositories_added: &647 description: An array of repository objects, which were added to the installation. type: array @@ -119997,15 +119706,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *630 - repository_selection: &650 + repository: *628 + repository_selection: &648 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *647 + requester: *645 sender: *4 required: - action @@ -120084,10 +119793,10 @@ webhooks: type: string enum: - removed - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories_added: *649 + organization: *627 + repositories_added: *647 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120114,9 +119823,9 @@ webhooks: - name - full_name - private - repository: *630 - repository_selection: *650 - requester: *647 + repository: *628 + repository_selection: *648 + requester: *645 sender: *4 required: - action @@ -120195,11 +119904,11 @@ webhooks: type: string enum: - suspend - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: *648 - repository: *630 + organization: *627 + repositories: *646 + repository: *628 requester: type: - 'null' @@ -120381,10 +120090,10 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 target_type: type: string @@ -120463,11 +120172,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *627 + enterprise: *625 installation: *20 - organization: *629 - repositories: *648 - repository: *630 + organization: *627 + repositories: *646 + repository: *628 requester: type: - 'null' @@ -120715,8 +120424,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121907,8 +121616,8 @@ webhooks: - state - locked - assignee - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -121988,7 +121697,7 @@ webhooks: type: string enum: - deleted - comment: &651 + comment: &649 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122155,8 +121864,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123345,8 +123054,8 @@ webhooks: - state - locked - assignee - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -123426,7 +123135,7 @@ webhooks: type: string enum: - edited - changes: &676 + changes: &674 description: The changes to the comment. type: object properties: @@ -123438,9 +123147,9 @@ webhooks: type: string required: - from - comment: *651 - enterprise: *627 - installation: *628 + comment: *649 + enterprise: *625 + installation: *626 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124630,8 +124339,8 @@ webhooks: - state - locked - assignee - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -124713,10 +124422,10 @@ webhooks: type: string enum: - assigned - assignee: *647 - enterprise: *627 - installation: *628 - issue: &654 + assignee: *645 + enterprise: *625 + installation: *626 + issue: &652 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -125661,8 +125370,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -125742,8 +125451,8 @@ webhooks: type: string enum: - closed - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126836,8 +126545,8 @@ webhooks: required: - state - closed_at - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -126916,8 +126625,8 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127855,8 +127564,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -127935,8 +127644,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128878,7 +128587,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &652 + milestone: &650 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129021,8 +128730,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -129121,8 +128830,8 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130067,9 +129776,9 @@ webhooks: - active_lock_reason - body - reactions - label: *646 - organization: *629 - repository: *630 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -130149,8 +129858,8 @@ webhooks: type: string enum: - labeled - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131094,9 +130803,9 @@ webhooks: - active_lock_reason - body - reactions - label: *646 - organization: *629 - repository: *630 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -131176,8 +130885,8 @@ webhooks: type: string enum: - locked - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132123,8 +131832,8 @@ webhooks: format: uri user_view_type: type: string - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -132203,8 +131912,8 @@ webhooks: type: string enum: - milestoned - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133144,9 +132853,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *652 - organization: *629 - repository: *630 + milestone: *650 + organization: *627 + repository: *628 sender: *4 required: - action @@ -134646,8 +134355,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135591,8 +135300,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -135672,9 +135381,9 @@ webhooks: type: string enum: - pinned - enterprise: *627 - installation: *628 - issue: &653 + enterprise: *625 + installation: *626 + issue: &651 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136612,8 +136321,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -136692,8 +136401,8 @@ webhooks: type: string enum: - reopened - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137638,8 +137347,8 @@ webhooks: user_view_type: type: string type: *181 - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -139140,11 +138849,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *627 - installation: *628 - issue: *653 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + issue: *651 + organization: *627 + repository: *628 sender: *4 required: - action @@ -139164,6 +138873,91 @@ 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: *625 + installation: *626 + issue: *652 + type: *181 + organization: *627 + repository: *628 + 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: |- @@ -139225,7 +139019,7 @@ webhooks: type: string enum: - unassigned - assignee: &679 + assignee: &677 title: User type: - object @@ -139297,11 +139091,11 @@ webhooks: required: - login - id - enterprise: *627 - installation: *628 - issue: *654 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + issue: *652 + organization: *627 + repository: *628 sender: *4 required: - action @@ -139380,12 +139174,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *627 - installation: *628 - issue: *654 - label: *646 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + issue: *652 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -139465,8 +139259,8 @@ webhooks: type: string enum: - unlocked - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140410,8 +140204,8 @@ webhooks: format: uri user_view_type: type: string - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -140491,15 +140285,100 @@ webhooks: type: string enum: - unpinned - enterprise: *627 - installation: *628 - issue: *653 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + issue: *651 + organization: *627 + repository: *628 + 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: *625 + installation: *626 + issue: *652 + type: *181 + organization: *627 + repository: *628 sender: *4 required: - action - issue + - type - repository - sender responses: @@ -140574,11 +140453,11 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - label: *646 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -140656,11 +140535,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - label: *646 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -140770,11 +140649,11 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - label: *646 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + label: *644 + organization: *627 + repository: *628 sender: *4 required: - action @@ -140856,9 +140735,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *627 - installation: *628 - marketplace_purchase: &655 + enterprise: *625 + installation: *626 + marketplace_purchase: &653 title: Marketplace Purchase type: object required: @@ -140946,8 +140825,8 @@ webhooks: type: integer unit_count: type: integer - organization: *629 - previous_marketplace_purchase: &656 + organization: *627 + previous_marketplace_purchase: &654 title: Marketplace Purchase type: object properties: @@ -141031,7 +140910,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *630 + repository: *628 sender: *4 required: - action @@ -141111,10 +140990,10 @@ webhooks: - changed effective_date: type: string - enterprise: *627 - installation: *628 - marketplace_purchase: *655 - organization: *629 + enterprise: *625 + installation: *626 + marketplace_purchase: *653 + organization: *627 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141202,7 +141081,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *630 + repository: *628 sender: *4 required: - action @@ -141284,10 +141163,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *627 - installation: *628 - marketplace_purchase: *655 - organization: *629 + enterprise: *625 + installation: *626 + marketplace_purchase: *653 + organization: *627 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141373,7 +141252,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *630 + repository: *628 sender: *4 required: - action @@ -141454,8 +141333,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 marketplace_purchase: title: Marketplace Purchase type: object @@ -141541,9 +141420,9 @@ webhooks: type: integer unit_count: type: integer - organization: *629 - previous_marketplace_purchase: *656 - repository: *630 + organization: *627 + previous_marketplace_purchase: *654 + repository: *628 sender: *4 required: - action @@ -141623,12 +141502,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *627 - installation: *628 - marketplace_purchase: *655 - organization: *629 - previous_marketplace_purchase: *656 - repository: *630 + enterprise: *625 + installation: *626 + marketplace_purchase: *653 + organization: *627 + previous_marketplace_purchase: *654 + repository: *628 sender: *4 required: - action @@ -141730,11 +141609,11 @@ webhooks: type: string required: - to - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 sender: *4 required: - action @@ -141836,11 +141715,11 @@ webhooks: type: - string - 'null' - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 sender: *4 required: - action @@ -141919,11 +141798,11 @@ webhooks: type: string enum: - removed - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 sender: *4 required: - action @@ -142001,11 +141880,11 @@ webhooks: type: string enum: - added - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142083,7 +141962,7 @@ webhooks: required: - login - id - team: &657 + team: &655 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142276,11 +142155,11 @@ webhooks: type: string enum: - removed - enterprise: *627 - installation: *628 - member: *647 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + member: *645 + organization: *627 + repository: *628 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142359,7 +142238,7 @@ webhooks: required: - login - id - team: *657 + team: *655 required: - action - scope @@ -142441,8 +142320,8 @@ webhooks: type: string enum: - checks_requested - installation: *628 - merge_group: &658 + installation: *626 + merge_group: &656 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142461,15 +142340,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *348 + head_commit: *346 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -142555,10 +142434,10 @@ webhooks: - merged - invalidated - dequeued - installation: *628 - merge_group: *658 - organization: *629 - repository: *630 + installation: *626 + merge_group: *656 + organization: *627 + repository: *628 sender: *4 required: - action @@ -142631,7 +142510,7 @@ webhooks: type: string enum: - deleted - enterprise: *627 + enterprise: *625 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142739,12 +142618,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *628 - organization: *629 + installation: *626 + organization: *627 repository: anyOf: - type: 'null' - - *630 + - *628 sender: *4 required: - action @@ -142824,11 +142703,11 @@ webhooks: type: string enum: - closed - enterprise: *627 - installation: *628 - milestone: *652 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + milestone: *650 + organization: *627 + repository: *628 sender: *4 required: - action @@ -142907,9 +142786,9 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - milestone: &659 + enterprise: *625 + installation: *626 + milestone: &657 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143051,8 +142930,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143131,11 +143010,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - milestone: *652 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + milestone: *650 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143245,11 +143124,11 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - milestone: *652 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + milestone: *650 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143329,11 +143208,11 @@ webhooks: type: string enum: - opened - enterprise: *627 - installation: *628 - milestone: *659 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + milestone: *657 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143412,11 +143291,11 @@ webhooks: type: string enum: - blocked - blocked_user: *647 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + blocked_user: *645 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143495,11 +143374,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *647 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + blocked_user: *645 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143578,9 +143457,9 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - membership: &660 + enterprise: *625 + installation: *626 + membership: &658 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143674,8 +143553,8 @@ webhooks: - role - organization_url - user - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143753,11 +143632,11 @@ webhooks: type: string enum: - member_added - enterprise: *627 - installation: *628 - membership: *660 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + membership: *658 + organization: *627 + repository: *628 sender: *4 required: - action @@ -143836,8 +143715,8 @@ webhooks: type: string enum: - member_invited - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -143959,10 +143838,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 - user: *647 + user: *645 required: - action - invitation @@ -144040,11 +143919,11 @@ webhooks: type: string enum: - member_removed - enterprise: *627 - installation: *628 - membership: *660 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + membership: *658 + organization: *627 + repository: *628 sender: *4 required: - action @@ -144131,11 +144010,11 @@ webhooks: properties: from: type: string - enterprise: *627 - installation: *628 - membership: *660 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + membership: *658 + organization: *627 + repository: *628 sender: *4 required: - action @@ -144211,9 +144090,9 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 package: description: Information about the package. type: object @@ -144736,7 +144615,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &661 + items: &659 title: Ruby Gems metadata type: object properties: @@ -144833,7 +144712,7 @@ webhooks: - owner - package_version - registry - repository: *630 + repository: *628 sender: *4 required: - action @@ -144909,9 +144788,9 @@ webhooks: type: string enum: - updated - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 package: description: Information about the package. type: object @@ -145273,7 +145152,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *661 + items: *659 source_url: type: string format: uri @@ -145344,7 +145223,7 @@ webhooks: - owner - package_version - registry - repository: *630 + repository: *628 sender: *4 required: - action @@ -145525,12 +145404,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *627 + enterprise: *625 id: type: integer - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - id @@ -145607,7 +145486,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &662 + personal_access_token_request: &660 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145757,10 +145636,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *627 - organization: *629 + enterprise: *625 + organization: *627 sender: *4 - installation: *628 + installation: *626 required: - action - personal_access_token_request @@ -145837,11 +145716,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *662 - enterprise: *627 - organization: *629 + personal_access_token_request: *660 + enterprise: *625 + organization: *627 sender: *4 - installation: *628 + installation: *626 required: - action - personal_access_token_request @@ -145917,11 +145796,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *662 - enterprise: *627 - organization: *629 + personal_access_token_request: *660 + enterprise: *625 + organization: *627 sender: *4 - installation: *628 + installation: *626 required: - action - personal_access_token_request @@ -145996,11 +145875,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *662 - organization: *629 - enterprise: *627 + personal_access_token_request: *660 + organization: *627 + enterprise: *625 sender: *4 - installation: *628 + installation: *626 required: - action - personal_access_token_request @@ -146105,7 +145984,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *663 + last_response: *661 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146137,8 +146016,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 zen: description: Random string of GitHub zen. @@ -146383,10 +146262,10 @@ webhooks: - from required: - note - enterprise: *627 - installation: *628 - organization: *629 - project_card: &664 + enterprise: *625 + installation: *626 + organization: *627 + project_card: &662 title: Project Card type: object properties: @@ -146509,7 +146388,7 @@ webhooks: - creator - created_at - updated_at - repository: *630 + repository: *628 sender: *4 required: - action @@ -146590,11 +146469,11 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - project_card: *664 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project_card: *662 + repository: *628 sender: *4 required: - action @@ -146674,9 +146553,9 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 project_card: title: Project Card type: object @@ -146806,7 +146685,7 @@ webhooks: repository: anyOf: - type: 'null' - - *630 + - *628 sender: *4 required: - action @@ -146900,11 +146779,11 @@ webhooks: - from required: - note - enterprise: *627 - installation: *628 - organization: *629 - project_card: *664 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project_card: *662 + repository: *628 sender: *4 required: - action @@ -146998,9 +146877,9 @@ webhooks: - from required: - column_id - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 project_card: allOf: - title: Project Card @@ -147197,7 +147076,7 @@ webhooks: type: string required: - after_id - repository: *630 + repository: *628 sender: *4 required: - action @@ -147277,10 +147156,10 @@ webhooks: type: string enum: - closed - enterprise: *627 - installation: *628 - organization: *629 - project: &666 + enterprise: *625 + installation: *626 + organization: *627 + project: &664 title: Project type: object properties: @@ -147407,7 +147286,7 @@ webhooks: - creator - created_at - updated_at - repository: *630 + repository: *628 sender: *4 required: - action @@ -147487,10 +147366,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - project_column: &665 + enterprise: *625 + installation: *626 + organization: *627 + project_column: &663 title: Project Column type: object properties: @@ -147530,7 +147409,7 @@ webhooks: - name - created_at - updated_at - repository: *630 + repository: *628 sender: *4 required: - action @@ -147609,14 +147488,14 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - project_column: *665 + enterprise: *625 + installation: *626 + organization: *627 + project_column: *663 repository: anyOf: - type: 'null' - - *630 + - *628 sender: *4 required: - action @@ -147705,11 +147584,11 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 - project_column: *665 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project_column: *663 + repository: *628 sender: *4 required: - action @@ -147789,11 +147668,11 @@ webhooks: type: string enum: - moved - enterprise: *627 - installation: *628 - organization: *629 - project_column: *665 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project_column: *663 + repository: *628 sender: *4 required: - action @@ -147873,11 +147752,11 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - project: *666 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project: *664 + repository: *628 sender: *4 required: - action @@ -147957,14 +147836,14 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - project: *666 + enterprise: *625 + installation: *626 + organization: *627 + project: *664 repository: anyOf: - type: 'null' - - *630 + - *628 sender: *4 required: - action @@ -148065,11 +147944,11 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 - project: *666 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project: *664 + repository: *628 sender: *4 required: - action @@ -148148,11 +148027,11 @@ webhooks: type: string enum: - reopened - enterprise: *627 - installation: *628 - organization: *629 - project: *666 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + project: *664 + repository: *628 sender: *4 required: - action @@ -148233,9 +148112,9 @@ webhooks: type: string enum: - closed - installation: *628 - organization: *629 - projects_v2: &667 + installation: *626 + organization: *627 + projects_v2: &665 title: Projects v2 Project description: A projects v2 project type: object @@ -148383,9 +148262,9 @@ webhooks: type: string enum: - created - installation: *628 - organization: *629 - projects_v2: *667 + installation: *626 + organization: *627 + projects_v2: *665 sender: *4 required: - action @@ -148466,9 +148345,9 @@ webhooks: type: string enum: - deleted - installation: *628 - organization: *629 - projects_v2: *667 + installation: *626 + organization: *627 + projects_v2: *665 sender: *4 required: - action @@ -148589,9 +148468,9 @@ webhooks: type: string to: type: string - installation: *628 - organization: *629 - projects_v2: *667 + installation: *626 + organization: *627 + projects_v2: *665 sender: *4 required: - action @@ -148674,7 +148553,7 @@ webhooks: type: string enum: - archived - changes: &671 + changes: &669 type: object properties: archived_at: @@ -148690,9 +148569,9 @@ webhooks: - string - 'null' format: date-time - installation: *628 - organization: *629 - projects_v2_item: &668 + installation: *626 + organization: *627 + projects_v2_item: &666 title: Projects v2 Item description: An item belonging to a project type: object @@ -148831,9 +148710,9 @@ webhooks: - 'null' to: type: string - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -148915,9 +148794,9 @@ webhooks: type: string enum: - created - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -148998,9 +148877,9 @@ webhooks: type: string enum: - deleted - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -149105,7 +148984,7 @@ webhooks: oneOf: - type: string - type: integer - - &669 + - &667 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149125,7 +149004,7 @@ webhooks: required: - id - name - - &670 + - &668 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149154,8 +149033,8 @@ webhooks: oneOf: - type: string - type: integer - - *669 - - *670 + - *667 + - *668 type: - 'null' - string @@ -149178,9 +149057,9 @@ webhooks: - 'null' required: - body - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -149277,9 +149156,9 @@ webhooks: type: - string - 'null' - installation: *628 - organization: *629 - projects_v2_item: *668 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -149362,10 +149241,10 @@ webhooks: type: string enum: - restored - changes: *671 - installation: *628 - organization: *629 - projects_v2_item: *668 + changes: *669 + installation: *626 + organization: *627 + projects_v2_item: *666 sender: *4 required: - action @@ -149447,9 +149326,9 @@ webhooks: type: string enum: - reopened - installation: *628 - organization: *629 - projects_v2: *667 + installation: *626 + organization: *627 + projects_v2: *665 sender: *4 required: - action @@ -149530,9 +149409,9 @@ webhooks: type: string enum: - created - installation: *628 - organization: *629 - projects_v2_status_update: &672 + installation: *626 + organization: *627 + projects_v2_status_update: &670 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -149667,9 +149546,9 @@ webhooks: type: string enum: - deleted - installation: *628 - organization: *629 - projects_v2_status_update: *672 + installation: *626 + organization: *627 + projects_v2_status_update: *670 sender: *4 required: - action @@ -149815,9 +149694,9 @@ webhooks: - string - 'null' format: date - installation: *628 - organization: *629 - projects_v2_status_update: *672 + installation: *626 + organization: *627 + projects_v2_status_update: *670 sender: *4 required: - action @@ -149888,10 +149767,10 @@ webhooks: title: public event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - repository @@ -149968,13 +149847,13 @@ webhooks: type: string enum: - assigned - assignee: *647 - enterprise: *627 - installation: *628 - number: &673 + assignee: *645 + enterprise: *625 + installation: *626 + number: &671 description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -152323,7 +152202,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -152405,11 +152284,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -154751,7 +154630,7 @@ webhooks: - draft reason: type: string - repository: *630 + repository: *628 sender: *4 required: - action @@ -154833,11 +154712,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -157179,7 +157058,7 @@ webhooks: - draft reason: type: string - repository: *630 + repository: *628 sender: *4 required: - action @@ -157261,13 +157140,13 @@ webhooks: type: string enum: - closed - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: &674 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: &672 allOf: - - *499 + - *497 - type: object properties: allow_auto_merge: @@ -157329,7 +157208,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *630 + repository: *628 sender: *4 required: - action @@ -157410,12 +157289,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -157495,11 +157374,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *627 - milestone: *397 - number: *673 - organization: *629 - pull_request: &675 + enterprise: *625 + milestone: *395 + number: *671 + organization: *627 + pull_request: &673 title: Pull Request type: object properties: @@ -159826,7 +159705,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -159905,11 +159784,11 @@ webhooks: type: string enum: - dequeued - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -162255,7 +162134,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *630 + repository: *628 sender: *4 required: - action @@ -162379,12 +162258,12 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -162464,11 +162343,11 @@ webhooks: type: string enum: - enqueued - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -164799,7 +164678,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -164879,11 +164758,11 @@ webhooks: type: string enum: - labeled - enterprise: *627 - installation: *628 - label: *646 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + label: *644 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -167231,7 +167110,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -167312,10 +167191,10 @@ webhooks: type: string enum: - locked - enterprise: *627 - installation: *628 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -169661,7 +169540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -169741,12 +169620,12 @@ webhooks: type: string enum: - milestoned - enterprise: *627 - milestone: *397 - number: *673 - organization: *629 - pull_request: *675 - repository: *630 + enterprise: *625 + milestone: *395 + number: *671 + organization: *627 + pull_request: *673 + repository: *628 sender: *4 required: - action @@ -169825,12 +169704,12 @@ webhooks: type: string enum: - opened - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -169911,12 +169790,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -169996,12 +169875,12 @@ webhooks: type: string enum: - reopened - enterprise: *627 - installation: *628 - number: *673 - organization: *629 - pull_request: *674 - repository: *630 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 + pull_request: *672 + repository: *628 sender: *4 required: - action @@ -170376,9 +170255,9 @@ webhooks: - start_side - side - reactions - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: type: object properties: @@ -172608,7 +172487,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *630 + repository: *628 sender: *4 required: - action @@ -172688,7 +172567,7 @@ webhooks: type: string enum: - deleted - comment: &677 + comment: &675 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -172981,9 +172860,9 @@ webhooks: - start_side - side - reactions - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: type: object properties: @@ -175201,7 +175080,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *630 + repository: *628 sender: *4 required: - action @@ -175281,11 +175160,11 @@ webhooks: type: string enum: - edited - changes: *676 - comment: *677 - enterprise: *627 - installation: *628 - organization: *629 + changes: *674 + comment: *675 + enterprise: *625 + installation: *626 + organization: *627 pull_request: type: object properties: @@ -177506,7 +177385,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *630 + repository: *628 sender: *4 required: - action @@ -177587,9 +177466,9 @@ webhooks: type: string enum: - dismissed - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -179822,7 +179701,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 + repository: *628 review: description: The review that was affected. type: object @@ -180068,9 +179947,9 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -182184,8 +182063,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 - review: &678 + repository: *628 + review: &676 description: The review that was affected. type: object properties: @@ -182418,12 +182297,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -184770,7 +184649,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 requested_reviewer: title: User type: @@ -184856,12 +184735,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -187215,7 +187094,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187410,12 +187289,12 @@ webhooks: type: string enum: - review_requested - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -189764,7 +189643,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 requested_reviewer: title: User type: @@ -189851,12 +189730,12 @@ webhooks: type: string enum: - review_requested - enterprise: *627 - installation: *628 + enterprise: *625 + installation: *626 number: description: The pull request number. type: integer - organization: *629 + organization: *627 pull_request: title: Pull Request type: object @@ -192196,7 +192075,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192380,9 +192259,9 @@ webhooks: type: string enum: - submitted - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -194618,8 +194497,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 - review: *678 + repository: *628 + review: *676 sender: *4 required: - action @@ -194699,9 +194578,9 @@ webhooks: type: string enum: - resolved - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -196832,7 +196711,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 + repository: *628 sender: *4 thread: type: object @@ -197224,9 +197103,9 @@ webhooks: type: string enum: - unresolved - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 pull_request: title: Simple Pull Request type: object @@ -199340,7 +199219,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *630 + repository: *628 sender: *4 thread: type: object @@ -199734,10 +199613,10 @@ webhooks: type: string before: type: string - enterprise: *627 - installation: *628 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -202072,7 +201951,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -202154,11 +202033,11 @@ webhooks: type: string enum: - unassigned - assignee: *679 - enterprise: *627 - installation: *628 - number: *673 - organization: *629 + assignee: *677 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -204508,7 +204387,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -204587,11 +204466,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *627 - installation: *628 - label: *646 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + label: *644 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -206930,7 +206809,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -207011,10 +206890,10 @@ webhooks: type: string enum: - unlocked - enterprise: *627 - installation: *628 - number: *673 - organization: *629 + enterprise: *625 + installation: *626 + number: *671 + organization: *627 pull_request: title: Pull Request type: object @@ -209343,7 +209222,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *630 + repository: *628 sender: *4 required: - action @@ -209546,7 +209425,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *627 + enterprise: *625 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209641,8 +209520,8 @@ webhooks: - url - author - committer - installation: *628 - organization: *629 + installation: *626 + organization: *627 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210230,9 +210109,9 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 registry_package: type: object properties: @@ -210709,7 +210588,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *661 + items: *659 summary: type: string tag_name: @@ -210765,7 +210644,7 @@ webhooks: - owner - package_version - registry - repository: *630 + repository: *628 sender: *4 required: - action @@ -210843,9 +210722,9 @@ webhooks: type: string enum: - updated - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 registry_package: type: object properties: @@ -211157,7 +211036,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *661 + items: *659 summary: type: string tag_name: @@ -211207,7 +211086,7 @@ webhooks: - owner - package_version - registry - repository: *630 + repository: *628 sender: *4 required: - action @@ -211284,10 +211163,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - release: &680 + enterprise: *625 + installation: *626 + organization: *627 + release: &678 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211603,7 +211482,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *630 + repository: *628 sender: *4 required: - action @@ -211680,11 +211559,11 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - release: *680 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + release: *678 + repository: *628 sender: *4 required: - action @@ -211801,11 +211680,11 @@ webhooks: type: boolean required: - to - enterprise: *627 - installation: *628 - organization: *629 - release: *680 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + release: *678 + repository: *628 sender: *4 required: - action @@ -211883,9 +211762,9 @@ webhooks: type: string enum: - prereleased - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212206,7 +212085,7 @@ webhooks: - string - 'null' format: uri - repository: *630 + repository: *628 sender: *4 required: - action @@ -212282,10 +212161,10 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 - release: &681 + enterprise: *625 + installation: *626 + organization: *627 + release: &679 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212603,7 +212482,7 @@ webhooks: - string - 'null' format: uri - repository: *630 + repository: *628 sender: *4 required: - action @@ -212679,11 +212558,11 @@ webhooks: type: string enum: - released - enterprise: *627 - installation: *628 - organization: *629 - release: *680 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + release: *678 + repository: *628 sender: *4 required: - action @@ -212759,11 +212638,11 @@ webhooks: type: string enum: - unpublished - enterprise: *627 - installation: *628 - organization: *629 - release: *681 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + release: *679 + repository: *628 sender: *4 required: - action @@ -212839,11 +212718,11 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - repository_advisory: *559 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + repository_advisory: *557 sender: *4 required: - action @@ -212919,11 +212798,11 @@ webhooks: type: string enum: - reported - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - repository_advisory: *559 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + repository_advisory: *557 sender: *4 required: - action @@ -212999,10 +212878,10 @@ webhooks: type: string enum: - archived - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213079,10 +212958,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213160,10 +213039,10 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213248,10 +213127,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213366,10 +213245,10 @@ webhooks: - 'null' items: type: string - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213441,10 +213320,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 status: type: string @@ -213525,10 +213404,10 @@ webhooks: type: string enum: - privatized - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213605,10 +213484,10 @@ webhooks: type: string enum: - publicized - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213702,10 +213581,10 @@ webhooks: - name required: - repository - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -213785,10 +213664,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 repository_ruleset: *229 sender: *4 required: @@ -213867,10 +213746,10 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 repository_ruleset: *229 sender: *4 required: @@ -213949,10 +213828,10 @@ webhooks: type: string enum: - edited - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 repository_ruleset: *229 changes: type: object @@ -214260,10 +214139,10 @@ webhooks: - from required: - owner - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -214341,10 +214220,10 @@ webhooks: type: string enum: - unarchived - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -214422,7 +214301,7 @@ webhooks: type: string enum: - create - alert: &682 + alert: &680 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214546,10 +214425,10 @@ webhooks: type: string enum: - open - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -214759,10 +214638,10 @@ webhooks: type: string enum: - dismissed - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -214840,11 +214719,11 @@ webhooks: type: string enum: - reopen - alert: *682 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *680 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215046,10 +214925,10 @@ webhooks: enum: - fixed - open - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215127,7 +215006,7 @@ webhooks: type: string enum: - created - alert: &683 + alert: &681 type: object properties: number: *52 @@ -215237,10 +215116,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215321,11 +215200,11 @@ webhooks: type: string enum: - created - alert: *683 - installation: *628 - location: *684 - organization: *629 - repository: *630 + alert: *681 + installation: *626 + location: *682 + organization: *627 + repository: *628 sender: *4 required: - location @@ -215563,11 +215442,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *683 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *681 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215645,11 +215524,11 @@ webhooks: type: string enum: - reopened - alert: *683 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *681 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215727,11 +215606,11 @@ webhooks: type: string enum: - resolved - alert: *683 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *681 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215809,11 +215688,11 @@ webhooks: type: string enum: - validated - alert: *683 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + alert: *681 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -215943,10 +215822,10 @@ webhooks: - organization - enterprise - - repository: *630 - enterprise: *627 - installation: *628 - organization: *629 + repository: *628 + enterprise: *625 + installation: *626 + organization: *627 sender: *4 required: - action @@ -216024,11 +215903,11 @@ webhooks: type: string enum: - published - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - security_advisory: &685 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + security_advisory: &683 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216214,11 +216093,11 @@ webhooks: type: string enum: - updated - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 - security_advisory: *685 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 + security_advisory: *683 sender: *4 required: - action @@ -216291,10 +216170,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216481,10 +216360,10 @@ webhooks: type: object properties: security_and_analysis: *222 - enterprise: *627 - installation: *628 - organization: *629 - repository: *276 + enterprise: *625 + installation: *626 + organization: *627 + repository: *274 sender: *4 required: - changes @@ -216562,12 +216441,12 @@ webhooks: type: string enum: - cancelled - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: &686 + sponsorship: &684 type: object properties: created_at: @@ -216872,12 +216751,12 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - sponsorship @@ -216965,12 +216844,12 @@ webhooks: type: string required: - from - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - changes @@ -217047,17 +216926,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &687 + effective_date: &685 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: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - sponsorship @@ -217131,7 +217010,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &688 + changes: &686 type: object properties: tier: @@ -217175,13 +217054,13 @@ webhooks: - from required: - tier - effective_date: *687 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + effective_date: *685 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - changes @@ -217258,13 +217137,13 @@ webhooks: type: string enum: - tier_changed - changes: *688 - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + changes: *686 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - sponsorship: *686 + sponsorship: *684 required: - action - changes @@ -217338,10 +217217,10 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217425,10 +217304,10 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217862,15 +217741,15 @@ webhooks: type: - string - 'null' - enterprise: *627 + enterprise: *625 id: description: The unique identifier of the status. type: integer - installation: *628 + installation: *626 name: type: string - organization: *629 - repository: *630 + organization: *627 + repository: *628 sender: *4 sha: description: The Commit SHA. @@ -217986,9 +217865,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -218078,9 +217957,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -218170,9 +218049,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -218262,9 +218141,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *628 - organization: *629 - repository: *630 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -218341,12 +218220,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - team: &689 + team: &687 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218539,9 +218418,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -219011,7 +218890,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - team @@ -219087,9 +218966,9 @@ webhooks: type: string enum: - created - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -219559,7 +219438,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - team @@ -219636,9 +219515,9 @@ webhooks: type: string enum: - deleted - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -220108,7 +219987,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - team @@ -220252,9 +220131,9 @@ webhooks: - from required: - permissions - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -220724,7 +220603,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - changes @@ -220802,9 +220681,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *627 - installation: *628 - organization: *629 + enterprise: *625 + installation: *626 + organization: *627 repository: title: Repository description: A git repository @@ -221274,7 +221153,7 @@ webhooks: - topics - visibility sender: *4 - team: *689 + team: *687 required: - action - team @@ -221350,10 +221229,10 @@ webhooks: type: string enum: - started - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 required: - action @@ -221426,17 +221305,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *627 + enterprise: *625 inputs: type: - object - 'null' additionalProperties: true - installation: *628 - organization: *629 + installation: *626 + organization: *627 ref: type: string - repository: *630 + repository: *628 sender: *4 workflow: type: string @@ -221518,10 +221397,10 @@ webhooks: type: string enum: - completed - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 workflow_job: allOf: @@ -221777,7 +221656,7 @@ webhooks: type: string required: - conclusion - deployment: *417 + deployment: *415 required: - action - repository @@ -221856,10 +221735,10 @@ webhooks: type: string enum: - in_progress - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 workflow_job: allOf: @@ -222141,7 +222020,7 @@ webhooks: required: - status - steps - deployment: *417 + deployment: *415 required: - action - repository @@ -222220,10 +222099,10 @@ webhooks: type: string enum: - queued - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 workflow_job: type: object @@ -222369,7 +222248,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *417 + deployment: *415 required: - action - repository @@ -222448,10 +222327,10 @@ webhooks: type: string enum: - waiting - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 workflow_job: type: object @@ -222598,7 +222477,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *417 + deployment: *415 required: - action - repository @@ -222678,12 +222557,12 @@ webhooks: type: string enum: - completed - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: *642 + workflow: *640 workflow_run: title: Workflow Run type: object @@ -223702,12 +223581,12 @@ webhooks: type: string enum: - in_progress - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: *642 + workflow: *640 workflow_run: title: Workflow Run type: object @@ -224711,12 +224590,12 @@ webhooks: type: string enum: - requested - enterprise: *627 - installation: *628 - organization: *629 - repository: *630 + enterprise: *625 + installation: *626 + organization: *627 + repository: *628 sender: *4 - workflow: *642 + workflow: *640 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 9b8e8db9f2..aa954455eb 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -37017,366 +37017,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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", @@ -53039,17 +52679,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": [ { @@ -53062,414 +52702,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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": { @@ -117888,17 +117159,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": [ { @@ -117911,39 +117182,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" } } ], @@ -117955,178 +117215,150 @@ "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." + "description": "User login that owns the underlying credential.", + "examples": [ + "monalisa" + ] }, - "total_suggestions_count": { + "credential_id": { "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." + "description": "Unique identifier for the authorization of the credential. Use this to revoke authorization of the underlying token or key.", + "examples": [ + 1 + ] }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." + "credential_type": { + "type": "string", + "description": "Human-readable description of the credential type.", + "examples": [ + "SSH Key" + ] }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." + "token_last_eight": { + "type": "string", + "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token.", + "examples": [ + "12345678" + ] }, - "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", + "description": "Date when the credential was authorized for use.", + "examples": [ + "2011-01-26T19:06:43Z" + ] }, - "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", + "description": "List of oauth scopes the token has been granted.", + "items": { + "type": "string" + }, + "examples": [ + "user", + "repo" + ] }, - "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", + "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key.", + "examples": [ + "jklmnop12345678" + ] }, - "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", + "null" + ], + "format": "date-time", + "description": "Date when the credential was last accessed. May be null if it was never accessed", + "examples": [ + "2011-01-26T19:06:43Z" + ] }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." + "authorized_credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the underlying token that was authorized by the user. This will remain unchanged across authorizations of the token.", + "examples": [ + 12345678 + ] }, - "breakdown": { + "authorized_credential_title": { "type": [ - "array", + "string", "null" ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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." - } - } - } + "description": "The title given to the ssh key. This will only be present when the credential is an ssh key.", + "examples": [ + "my ssh key" + ] + }, + "authorized_credential_note": { + "type": [ + "string", + "null" + ], + "description": "The note given to the token. This will only be present when the credential is a token.", + "examples": [ + "my token" + ] + }, + "authorized_credential_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "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" ] } ] @@ -118134,374 +117366,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", - "description": "User login that owns the underlying credential.", - "examples": [ - "monalisa" - ] - }, - "credential_id": { - "type": "integer", - "description": "Unique identifier for the authorization of the credential. Use this to revoke authorization of the underlying token or key.", - "examples": [ - 1 - ] - }, - "credential_type": { - "type": "string", - "description": "Human-readable description of the credential type.", - "examples": [ - "SSH Key" - ] - }, - "token_last_eight": { - "type": "string", - "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token.", - "examples": [ - "12345678" - ] - }, - "credential_authorized_at": { - "type": "string", - "format": "date-time", - "description": "Date when the credential was authorized for use.", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "scopes": { - "type": "array", - "description": "List of oauth scopes the token has been granted.", - "items": { - "type": "string" - }, - "examples": [ - "user", - "repo" - ] - }, - "fingerprint": { - "type": "string", - "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key.", - "examples": [ - "jklmnop12345678" - ] - }, - "credential_accessed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "Date when the credential was last accessed. May be null if it was never accessed", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "authorized_credential_id": { - "type": [ - "integer", - "null" - ], - "description": "The ID of the underlying token that was authorized by the user. This will remain unchanged across authorizations of the token.", - "examples": [ - 12345678 - ] - }, - "authorized_credential_title": { - "type": [ - "string", - "null" - ], - "description": "The title given to the ssh key. This will only be present when the credential is an ssh key.", - "examples": [ - "my ssh key" - ] - }, - "authorized_credential_note": { - "type": [ - "string", - "null" - ], - "description": "The note given to the token. This will only be present when the credential is a token.", - "examples": [ - "my token" - ] - }, - "authorized_credential_expires_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "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": { @@ -193240,375 +192151,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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", @@ -319815,7 +318357,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" ], @@ -976913,11 +975455,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" }, @@ -976984,114 +975526,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", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } - }, - "required": [ - "login", - "id" + "typed" ] }, "enterprise": { @@ -978542,6 +976983,73 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, "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.", @@ -980302,6 +978810,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] @@ -980326,11 +978835,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" }, @@ -980397,13 +978906,114 @@ "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", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" ] }, "enterprise": { @@ -980831,16 +979441,6708 @@ "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", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "App", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "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", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "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", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "App", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "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", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "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", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "label": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "type": "object", + "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", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": [ + "object", + "null" + ], + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + } } }, "labels_url": { @@ -980848,7 +986150,10 @@ "format": "uri-template" }, "locked": { - "type": "boolean" + "type": "boolean", + "enum": [ + false + ] }, "milestone": { "title": "Milestone", @@ -980857,6 +986162,24 @@ "object", "null" ], + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], "properties": { "closed_at": { "type": [ @@ -980878,6 +986201,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -980955,8 +986282,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -980966,11 +986292,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "description": { "type": [ @@ -981026,25 +986348,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" @@ -981059,6 +986363,17 @@ "object", "null" ], + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], "properties": { "created_at": { "type": [ @@ -981123,9 +986438,7 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" + "workflow_run" ] } }, @@ -981160,6 +986473,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -981247,11 +986564,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -981380,8 +986693,7 @@ "type": "string", "enum": [ "read", - "write", - "admin" + "write" ] }, "organization_secrets": { @@ -981516,18 +986828,7 @@ ], "format": "date-time" } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] + } }, "pull_request": { "type": "object", @@ -981560,6 +986861,18 @@ "reactions": { "title": "Reactions", "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], "properties": { "+1": { "type": "integer" @@ -981592,19 +986905,7 @@ "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + } }, "repository_url": { "type": "string", @@ -981734,6 +987035,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -981812,8 +987117,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -981823,79 +987127,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", - "null" - ] - }, - "id": { - "type": "integer" - }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" + } } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] + } }, "organization": { "title": "Organization Simple", @@ -983681,11 +988915,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" }, @@ -983752,13 +988986,13 @@ "content": { "application/json": { "schema": { - "title": "issues unlocked event", + "title": "issues unpinned event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unlocked" + "unpinned" ] }, "enterprise": { @@ -983880,30 +989114,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": [ @@ -983924,10 +989134,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -984015,7 +989221,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -984025,10 +989235,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -984116,7 +989322,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -984178,19 +989388,7 @@ "type": "array", "items": { "title": "Label", - "type": [ - "object", - "null" - ], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], + "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -984220,7 +989418,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -984228,10 +989435,7 @@ "format": "uri-template" }, "locked": { - "type": "boolean", - "enum": [ - false - ] + "type": "boolean" }, "milestone": { "title": "Milestone", @@ -984240,24 +989444,6 @@ "object", "null" ], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], "properties": { "closed_at": { "type": [ @@ -984279,10 +989465,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -984370,7 +989552,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": [ @@ -984426,7 +989612,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" @@ -984441,17 +989645,6 @@ "object", "null" ], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": [ @@ -984551,10 +989744,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -984642,7 +989831,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -984906,7 +990099,18 @@ ], "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -984939,18 +990143,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -984983,7 +990175,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -985113,10 +990317,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -985205,9 +990405,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", @@ -986993,11 +992220,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" }, @@ -987064,13 +992291,13 @@ "content": { "application/json": { "schema": { - "title": "issues unpinned event", + "title": "issues untyped event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unpinned" + "untyped" ] }, "enterprise": { @@ -987289,7 +992516,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -987390,7 +992618,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -987620,7 +992849,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -987787,7 +993017,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -988042,7 +993274,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -988473,7 +993706,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -988514,6 +993748,73 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, "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.", @@ -990274,6 +995575,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 00cac7c9f7..6702f8aa4e 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &330 + type: &328 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &174 + schema: &173 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1071,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: - - &645 + - &643 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1667,7 +1667,7 @@ paths: schema: type: integer default: 30 - - &255 + - &253 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 @@ -1683,7 +1683,7 @@ paths: application/json: schema: type: array - items: &256 + items: &254 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1779,7 +1779,7 @@ paths: - installation_id - repository_id examples: - default: &257 + default: &255 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1811,7 +1811,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &655 + schema: &653 title: Scim Error description: Scim Error type: object @@ -1842,7 +1842,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &173 + schema: &172 title: Validation Error description: Validation Error type: object @@ -1914,7 +1914,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &256 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2049,7 +2049,7 @@ paths: - request - response examples: - default: &259 + default: &257 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2253,7 +2253,7 @@ paths: parameters: - *17 - *19 - - &138 + - &137 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) @@ -3015,7 +3015,7 @@ paths: license: anyOf: - type: 'null' - - &149 + - &148 title: License Simple description: License Simple type: object @@ -7610,7 +7610,7 @@ paths: description: Response content: application/json: - schema: &175 + schema: &174 type: object properties: total_active_caches_count: @@ -7625,7 +7625,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &176 + default: &175 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7831,7 +7831,7 @@ paths: - public_ip_enabled - platform examples: - default: &177 + default: &176 value: total_count: 2 runners: @@ -8121,7 +8121,7 @@ paths: description: Response content: application/json: - schema: &178 + schema: &177 type: object properties: public_ips: @@ -8148,7 +8148,7 @@ paths: required: - public_ips examples: - default: &179 + default: &178 value: public_ips: current_usage: 17 @@ -8188,7 +8188,7 @@ paths: type: array items: *42 examples: - default: &180 + default: &179 value: id: 4-core cpu_cores: 4 @@ -8446,7 +8446,7 @@ paths: - all - local_only - selected - selected_actions_url: &183 + selected_actions_url: &182 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` @@ -8827,7 +8827,7 @@ paths: description: Success response content: application/json: - schema: &186 + schema: &185 type: object properties: default_workflow_permissions: &50 @@ -8875,7 +8875,7 @@ paths: required: true content: application/json: - schema: &187 + schema: &186 type: object properties: default_workflow_permissions: *50 @@ -9720,7 +9720,7 @@ paths: application/json: schema: type: array - items: &191 + items: &190 title: Runner Application description: Runner Application type: object @@ -9745,7 +9745,7 @@ paths: - download_url - filename examples: - default: &192 + default: &191 value: - os: osx architecture: x64 @@ -9829,7 +9829,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &193 + '201': &192 description: Response content: application/json: @@ -9948,7 +9948,7 @@ paths: - token - expires_at examples: - default: &194 + default: &193 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9988,7 +9988,7 @@ paths: application/json: schema: *62 examples: - default: &195 + default: &194 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10020,7 +10020,7 @@ paths: application/json: schema: *59 examples: - default: &196 + default: &195 value: id: 23 name: MBP @@ -10235,7 +10235,7 @@ paths: - *38 - *58 responses: - '200': &197 + '200': &196 description: Response content: application/json: @@ -10291,7 +10291,7 @@ paths: parameters: - *38 - *58 - - &198 + - &197 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10388,7 +10388,7 @@ paths: required: true content: application/json: - schema: &205 + schema: &204 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10460,7 +10460,7 @@ paths: required: false schema: type: string - - &206 + - &205 name: include description: |- The event types to include: @@ -10478,7 +10478,7 @@ paths: - web - git - all - - &207 + - &206 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. @@ -10486,7 +10486,7 @@ paths: required: false schema: type: string - - &208 + - &207 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. @@ -10494,7 +10494,7 @@ paths: required: false schema: type: string - - &209 + - &208 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10516,7 +10516,7 @@ paths: application/json: schema: type: array - items: &210 + items: &209 type: object properties: "@timestamp": @@ -10638,7 +10638,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &211 + default: &210 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11241,7 +11241,7 @@ paths: in: query schema: type: string - - &213 + - &212 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11249,7 +11249,7 @@ paths: required: false schema: type: string - - &214 + - &213 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11257,7 +11257,7 @@ paths: required: false schema: type: string - - &215 + - &214 name: time_period description: |- The time period to filter by. @@ -11273,7 +11273,7 @@ paths: - week - month default: day - - &216 + - &215 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11299,7 +11299,7 @@ paths: application/json: schema: type: array - items: &217 + items: &216 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11425,7 +11425,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &220 + items: &219 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11471,7 +11471,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &218 + default: &217 value: - id: 21 number: 42 @@ -11562,7 +11562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &221 + - &220 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`, @@ -11572,7 +11572,7 @@ paths: schema: &85 type: string description: The name of the tool used to generate the code scanning analysis. - - &222 + - &221 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 @@ -11596,7 +11596,7 @@ paths: be returned. in: query required: false - schema: &223 + schema: &222 type: string description: State of a code scanning alert. enum: @@ -11621,7 +11621,7 @@ paths: application/json: schema: type: array - items: &224 + items: &223 type: object properties: number: &96 @@ -11650,7 +11650,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &444 + instances_url: &442 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11686,7 +11686,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &445 + dismissed_reason: &443 type: - string - 'null' @@ -11697,14 +11697,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &446 + dismissed_comment: &444 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &447 + rule: &445 type: object properties: id: @@ -11765,7 +11765,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &448 + tool: &446 type: object properties: name: *85 @@ -11776,15 +11776,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *86 - most_recent_instance: &449 + most_recent_instance: &447 type: object properties: - ref: &442 + ref: &440 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &459 + analysis_key: &457 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11795,7 +11795,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &460 + category: &458 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12183,7 +12183,7 @@ paths: - most_recent_instance - repository examples: - default: &225 + default: &224 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12996,7 +12996,7 @@ paths: description: Response content: application/json: - schema: &227 + schema: &226 type: array description: A list of default code security configurations items: @@ -13012,7 +13012,7 @@ paths: default configuration: *88 examples: - default: &228 + default: &227 value: - default_for_new_repos: public configuration: @@ -13443,7 +13443,7 @@ paths: default: value: default_for_new_repos: all - configuration: &226 + configuration: &225 value: id: 1325 target_type: organization @@ -13526,7 +13526,7 @@ paths: application/json: schema: type: array - items: &229 + items: &228 type: object description: Repositories associated with a code security configuration and attachment status @@ -13550,7 +13550,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &230 + repository: &229 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14033,7 +14033,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &232 + items: &231 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14048,7 +14048,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &277 + - &275 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14107,7 +14107,7 @@ paths: parent: anyOf: - type: 'null' - - &293 + - &291 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -14311,7 +14311,7 @@ paths: - created_at additionalProperties: false examples: - default: &233 + default: &232 value: total_seats: 2 seats: @@ -14870,226 +14870,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: - - *38 - - 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: &133 - 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 - - 'null' - description: Breakdown of Copilot code completions usage by - language and editor - 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': *95 - '401': *23 - '403': *27 - '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 @@ -15109,7 +14889,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &240 + - &238 name: state in: query description: |- @@ -15118,7 +14898,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &241 + - &239 name: severity in: query description: |- @@ -15127,7 +14907,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &242 + - &240 name: ecosystem in: query description: |- @@ -15136,14 +14916,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &243 + - &241 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 - - &244 + - &242 name: epss_percentage in: query description: |- @@ -15155,7 +14935,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 - - &245 + - &243 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -15165,7 +14945,7 @@ paths: enum: - development - runtime - - &246 + - &244 name: sort in: query description: |- @@ -15183,7 +14963,7 @@ paths: - *84 - *82 - *83 - - &247 + - &245 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -15196,7 +14976,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &248 + - &246 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -15216,7 +14996,7 @@ paths: application/json: schema: type: array - items: &249 + items: &247 type: object description: A Dependabot alert. properties: @@ -15283,7 +15063,7 @@ paths: - direct - transitive - - security_advisory: &496 + security_advisory: &494 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15519,7 +15299,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: &497 + auto_dismissed_at: &495 type: - string - 'null' @@ -15546,7 +15326,7 @@ paths: - repository additionalProperties: false examples: - default: &250 + default: &248 value: - number: 2 state: dismissed @@ -16017,7 +15797,7 @@ paths: - name - created_on examples: - default: &339 + default: &337 value: total_count: 2 network_configurations: @@ -16240,7 +16020,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: - *38 - - &340 + - &338 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16252,7 +16032,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &339 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -16291,7 +16071,7 @@ paths: - subnet_id - region examples: - default: &342 + default: &340 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -16514,7 +16294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *38 - - &164 + - &163 name: org description: The organization name. The name is not case sensitive. in: path @@ -16603,7 +16383,7 @@ paths: required: true content: application/json: - schema: &312 + schema: &310 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16979,7 +16759,7 @@ paths: type: object description: A repository rule. oneOf: - - &603 + - &601 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16991,7 +16771,7 @@ paths: type: string enum: - creation - - &604 + - &602 title: update description: Only allow users with bypass permission to update matching refs. @@ -17012,7 +16792,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &606 + - &604 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -17024,7 +16804,7 @@ paths: type: string enum: - deletion - - &607 + - &605 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -17036,7 +16816,7 @@ paths: type: string enum: - required_linear_history - - &608 + - &606 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -17112,7 +16892,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &609 + - &607 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17136,7 +16916,7 @@ paths: type: string required: - required_deployment_environments - - &610 + - &608 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -17148,7 +16928,7 @@ paths: type: string enum: - required_signatures - - &611 + - &609 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. @@ -17210,7 +16990,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &612 + - &610 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17257,7 +17037,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &613 + - &611 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17269,7 +17049,7 @@ paths: type: string enum: - non_fast_forward - - &614 + - &612 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17305,7 +17085,7 @@ paths: required: - operator - pattern - - &615 + - &613 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17341,7 +17121,7 @@ paths: required: - operator - pattern - - &616 + - &614 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17377,7 +17157,7 @@ paths: required: - operator - pattern - - &617 + - &615 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17413,7 +17193,7 @@ paths: required: - operator - pattern - - &618 + - &616 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17449,7 +17229,7 @@ paths: required: - operator - pattern - - &619 + - &617 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17473,7 +17253,7 @@ paths: type: string required: - restricted_file_paths - - &620 + - &618 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17497,7 +17277,7 @@ paths: maximum: 256 required: - max_file_path_length - - &621 + - &619 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17520,7 +17300,7 @@ paths: type: string required: - restricted_file_extensions - - &622 + - &620 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17544,7 +17324,7 @@ paths: maximum: 100 required: - max_file_size - - &623 + - &621 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17593,7 +17373,7 @@ paths: - repository_id required: - workflows - - &624 + - &622 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17750,7 +17530,7 @@ paths: conditions: anyOf: - *117 - - &317 + - &315 title: Organization ruleset conditions type: object description: |- @@ -18034,7 +17814,7 @@ paths: type: string format: date-time examples: - default: &319 + default: &317 value: - version_id: 3 actor: @@ -18087,7 +17867,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &318 allOf: - *127 - type: object @@ -18142,7 +17922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &321 + - &319 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -18153,7 +17933,7 @@ paths: enum: - open - resolved - - &322 + - &320 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -18163,7 +17943,7 @@ paths: required: false schema: type: string - - &323 + - &321 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -18172,7 +17952,7 @@ paths: required: false schema: type: string - - &324 + - &322 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. @@ -18188,7 +17968,7 @@ paths: - *17 - *82 - *83 - - &325 + - &323 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -18197,7 +17977,7 @@ paths: required: false schema: type: string - - &326 + - &324 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -18206,7 +17986,7 @@ paths: schema: type: boolean default: false - - &327 + - &325 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -18222,7 +18002,7 @@ paths: application/json: schema: type: array - items: &328 + items: &326 type: object properties: number: *96 @@ -18238,14 +18018,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &637 + state: &635 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: &638 + resolution: &636 type: - string - 'null' @@ -18350,7 +18130,7 @@ paths: description: A boolean value representing whether or not alert is base64 encoded examples: - default: &329 + default: &327 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18613,7 +18393,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &329 type: object properties: total_minutes_used: @@ -18683,7 +18463,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &332 + default: &330 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18721,7 +18501,7 @@ paths: description: Success content: application/json: - schema: &333 + schema: &331 type: object properties: total_advanced_security_committers: @@ -18784,7 +18564,7 @@ paths: required: - repositories examples: - default: &334 + default: &332 value: total_advanced_security_committers: 2 total_count: 2 @@ -19023,7 +18803,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &333 type: object properties: total_gigabytes_bandwidth_used: @@ -19041,7 +18821,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &336 + default: &334 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -19073,7 +18853,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &335 type: object properties: days_left_in_billing_cycle: @@ -19091,7 +18871,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &338 + default: &336 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -19116,7 +18896,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *38 - - &165 + - &164 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, @@ -19125,7 +18905,7 @@ paths: required: false schema: type: integer - - &166 + - &165 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 @@ -19134,7 +18914,7 @@ paths: required: false schema: type: integer - - &167 + - &166 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 @@ -19143,7 +18923,7 @@ paths: required: false schema: type: integer - - &168 + - &167 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 @@ -19164,7 +18944,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &169 + schema: &168 type: object properties: usageItems: @@ -19217,7 +18997,7 @@ paths: - netAmount - organizationName examples: - default: &170 + default: &169 value: usageItems: - date: '2023-08-01' @@ -19317,148 +19097,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: - - *38 - - &292 - 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: *133 - examples: - default: &234 - 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': *95 - '401': *23 - '403': *27 - '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 @@ -19542,7 +19180,7 @@ paths: application/json: schema: type: array - items: &159 + items: &158 title: Event description: Event type: object @@ -19553,7 +19191,7 @@ paths: type: - string - 'null' - actor: &134 + actor: &133 title: Actor description: Actor type: object @@ -19594,13 +19232,13 @@ paths: - id - name - url - org: *134 + org: *133 payload: type: object properties: action: type: string - issue: &148 + issue: &147 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -19720,7 +19358,7 @@ paths: milestone: anyOf: - type: 'null' - - &484 + - &482 title: Milestone description: A collection of related issues and pull requests. @@ -19892,7 +19530,7 @@ paths: timeline_url: type: string format: uri - type: &278 + type: &276 title: Issue Type description: The type of issue. type: @@ -19950,7 +19588,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &135 + author_association: &134 title: author_association type: string description: How the author is associated with the repository. @@ -19965,7 +19603,7 @@ paths: - OWNER examples: - OWNER - reactions: &136 + reactions: &135 title: Reaction Rollup type: object properties: @@ -20037,7 +19675,7 @@ paths: - author_association - created_at - updated_at - comment: &543 + comment: &541 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20087,12 +19725,12 @@ paths: issue_url: type: string format: uri - author_association: *135 + author_association: *134 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *136 + reactions: *135 required: - id - node_id @@ -20279,7 +19917,7 @@ paths: _links: type: object properties: - timeline: &137 + timeline: &136 title: Link With Type description: Hypermedia Link with Type type: object @@ -20291,17 +19929,17 @@ paths: required: - href - type - user: *137 - security_advisories: *137 - current_user: *137 - current_user_public: *137 - current_user_actor: *137 - current_user_organization: *137 + user: *136 + security_advisories: *136 + current_user: *136 + current_user_public: *136 + current_user_actor: *136 + current_user_organization: *136 current_user_organizations: type: array - items: *137 - repository_discussions: *137 - repository_discussions_category: *137 + items: *136 + repository_discussions: *136 + repository_discussions_category: *136 required: - timeline - user @@ -20363,7 +20001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *138 + - *137 - *17 - *19 responses: @@ -20373,7 +20011,7 @@ paths: application/json: schema: type: array - items: &139 + items: &138 title: Base Gist description: Base Gist type: object @@ -20470,7 +20108,7 @@ paths: - created_at - updated_at examples: - default: &140 + default: &139 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20594,7 +20232,7 @@ paths: description: Response content: application/json: - schema: &141 + schema: &140 title: Gist Simple description: Gist Simple type: object @@ -20612,7 +20250,7 @@ paths: url: type: string format: uri - user: &694 + user: &692 title: Public User description: Public User type: object @@ -20986,7 +20624,7 @@ paths: truncated: type: boolean examples: - default: &142 + default: &141 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -21090,7 +20728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *138 + - *137 - *17 - *19 responses: @@ -21100,9 +20738,9 @@ paths: application/json: schema: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: Link: *37 '422': *15 @@ -21124,7 +20762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *138 + - *137 - *17 - *19 responses: @@ -21134,9 +20772,9 @@ paths: application/json: schema: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: Link: *37 '401': *23 @@ -21164,7 +20802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &143 + - &142 name: gist_id description: The unique identifier of the gist. in: path @@ -21176,10 +20814,10 @@ paths: description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: *142 - '403': &146 + default: *141 + '403': &145 description: Forbidden Gist content: application/json: @@ -21228,7 +20866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *143 + - *142 requestBody: required: true content: @@ -21292,9 +20930,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *140 examples: - updateGist: *142 + updateGist: *141 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -21452,7 +21090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *143 + - *142 responses: '204': description: Response @@ -21481,7 +21119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *143 + - *142 - *17 - *19 responses: @@ -21491,7 +21129,7 @@ paths: application/json: schema: type: array - items: &144 + items: &143 title: Gist Comment description: A comment made to a gist. type: object @@ -21529,7 +21167,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *135 + author_association: *134 required: - url - id @@ -21594,7 +21232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *143 + - *142 requestBody: required: true content: @@ -21620,9 +21258,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *143 examples: - default: &145 + default: &144 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21680,8 +21318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *143 - - &147 + - *142 + - &146 name: comment_id description: The unique identifier of the comment. in: path @@ -21694,12 +21332,12 @@ paths: description: Response content: application/json: - schema: *144 + schema: *143 examples: - default: *145 + default: *144 '304': *35 '404': *6 - '403': *146 + '403': *145 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21721,8 +21359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *143 - - *147 + - *142 + - *146 requestBody: required: true content: @@ -21748,9 +21386,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *143 examples: - default: *145 + default: *144 '404': *6 x-github: githubCloudOnly: false @@ -21767,8 +21405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *143 - - *147 + - *142 + - *146 responses: '204': description: Response @@ -21791,7 +21429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *143 + - *142 - *17 - *19 responses: @@ -21892,7 +21530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *143 + - *142 - *17 - *19 responses: @@ -21902,7 +21540,7 @@ paths: application/json: schema: type: array - items: *141 + items: *140 examples: default: value: @@ -21967,13 +21605,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *143 + - *142 responses: '201': description: Response content: application/json: - schema: *139 + schema: *138 examples: default: value: @@ -22044,7 +21682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *143 + - *142 responses: '204': description: Response if gist is starred @@ -22074,7 +21712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *143 + - *142 responses: '204': description: Response @@ -22096,7 +21734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *143 + - *142 responses: '204': description: Response @@ -22125,7 +21763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *143 + - *142 - name: sha in: path required: true @@ -22136,9 +21774,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: *142 + default: *141 '422': *15 '404': *6 '403': *27 @@ -22507,7 +22145,7 @@ paths: - closed - all default: open - - &281 + - &279 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22526,7 +22164,7 @@ paths: - comments default: created - *84 - - *138 + - *137 - name: collab in: query required: false @@ -22556,9 +22194,9 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: &282 + default: &280 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22838,7 +22476,7 @@ paths: application/json: schema: type: array - items: *149 + items: *148 examples: default: value: @@ -23135,7 +22773,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &150 + X-CommonMarker-Version: &149 example: 0.17.4 schema: type: string @@ -23190,7 +22828,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *150 + X-CommonMarker-Version: *149 content: text/html: schema: @@ -23219,7 +22857,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: - - &153 + - &152 name: account_id description: account_id parameter in: path @@ -23231,7 +22869,7 @@ paths: description: Response content: application/json: - schema: &152 + schema: &151 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -23265,7 +22903,7 @@ paths: - 'null' id: type: integer - plan: &151 + plan: &150 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -23368,7 +23006,7 @@ paths: - 'null' updated_at: type: string - plan: *151 + plan: *150 required: - url - id @@ -23376,7 +23014,7 @@ paths: - login - marketplace_purchase examples: - default: &154 + default: &153 value: url: https://api.github.com/orgs/github type: Organization @@ -23461,9 +23099,9 @@ paths: application/json: schema: type: array - items: *151 + items: *150 examples: - default: &155 + default: &154 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -23503,14 +23141,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &156 + - &155 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &157 + - &156 name: sort description: The property to sort the results by. in: query @@ -23540,9 +23178,9 @@ paths: application/json: schema: type: array - items: *152 + items: *151 examples: - default: &158 + default: &157 value: - url: https://api.github.com/orgs/github type: Organization @@ -23616,15 +23254,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: - - *153 + - *152 responses: '200': description: Response content: application/json: - schema: *152 + schema: *151 examples: - default: *154 + default: *153 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -23656,9 +23294,9 @@ paths: application/json: schema: type: array - items: *151 + items: *150 examples: - default: *155 + default: *154 headers: Link: *37 '401': *23 @@ -23681,8 +23319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: + - *155 - *156 - - *157 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23702,9 +23340,9 @@ paths: application/json: schema: type: array - items: *152 + items: *151 examples: - default: *158 + default: *157 headers: Link: *37 '401': *23 @@ -23969,14 +23607,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: - - &362 + - &360 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &363 + - &361 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23993,7 +23631,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -24047,7 +23685,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &376 + '301': &374 description: Moved permanently content: application/json: @@ -24069,7 +23707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &572 + - &570 name: all description: If `true`, show notifications marked as read. in: query @@ -24077,7 +23715,7 @@ paths: schema: type: boolean default: false - - &573 + - &571 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -24086,8 +23724,8 @@ paths: schema: type: boolean default: false - - *138 - - &574 + - *137 + - &572 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: @@ -24112,14 +23750,14 @@ paths: application/json: schema: type: array - items: &160 + items: &159 title: Thread description: Thread type: object properties: id: type: string - repository: &190 + repository: &189 title: Minimal Repository description: Minimal Repository type: object @@ -24458,7 +24096,7 @@ paths: type: boolean examples: - false - security_and_analysis: &314 + security_and_analysis: &312 type: - object - 'null' @@ -24613,7 +24251,7 @@ paths: - url - subscription_url examples: - default: &575 + default: &573 value: - id: '1' repository: @@ -24779,7 +24417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &161 + - &160 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 @@ -24793,7 +24431,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *159 examples: default: value: @@ -24896,7 +24534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *161 + - *160 responses: '205': description: Reset Content @@ -24919,7 +24557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *161 + - *160 responses: '204': description: No content @@ -24942,13 +24580,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: - - *161 + - *160 responses: '200': description: Response content: application/json: - schema: &162 + schema: &161 title: Thread Subscription description: Thread Subscription type: object @@ -24992,7 +24630,7 @@ paths: - url - subscribed examples: - default: &163 + default: &162 value: subscribed: true ignored: false @@ -25023,7 +24661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *161 + - *160 requestBody: required: false content: @@ -25044,9 +24682,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *161 examples: - default: *163 + default: *162 '304': *35 '403': *27 '401': *23 @@ -25069,7 +24707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *161 + - *160 responses: '204': description: Response @@ -25166,7 +24804,7 @@ paths: type: array items: *56 examples: - default: &711 + default: &709 value: - login: github id: 1 @@ -25231,7 +24869,7 @@ paths: - 3 custom_roles: type: array - items: &235 + items: &233 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -25280,7 +24918,7 @@ paths: - created_at - updated_at examples: - default: &236 + default: &234 value: id: 8030 name: Security Engineer @@ -25326,19 +24964,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: + - *163 - *164 - *165 - *166 - *167 - - *168 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *169 + schema: *168 examples: - default: *170 + default: *169 '400': *14 '403': *27 '500': *95 @@ -25368,13 +25006,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: &171 + schema: &170 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25744,7 +25382,7 @@ paths: - updated_at - archived_at examples: - default-response: &172 + default-response: &171 value: login: github id: 1 @@ -25837,7 +25475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *164 + - *163 requestBody: required: false content: @@ -26061,17 +25699,17 @@ paths: description: Response content: application/json: - schema: *171 + schema: *170 examples: - default: *172 + default: *171 '422': description: Validation failed content: application/json: schema: oneOf: + - *172 - *173 - - *174 '409': *92 x-github: githubCloudOnly: false @@ -26095,7 +25733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *164 + - *163 responses: '202': *93 '404': *6 @@ -26120,15 +25758,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *175 + schema: *174 examples: - default: *176 + default: *175 headers: Link: *37 x-github: @@ -26151,7 +25789,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: - - *164 + - *163 - *17 - *19 responses: @@ -26169,7 +25807,7 @@ paths: type: integer repository_cache_usages: type: array - items: &381 + items: &379 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -26227,7 +25865,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: - - *164 + - *163 - *17 - *19 responses: @@ -26247,7 +25885,7 @@ paths: type: array items: *39 examples: - default: *177 + default: *176 headers: Link: *37 x-github: @@ -26267,7 +25905,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: - - *164 + - *163 requestBody: required: true content: @@ -26354,7 +25992,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: - - *164 + - *163 responses: '200': description: Response @@ -26390,7 +26028,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: - - *164 + - *163 responses: '200': description: Response @@ -26425,15 +26063,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *178 + schema: *177 examples: - default: *179 + default: *178 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26451,7 +26089,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: - - *164 + - *163 responses: '200': description: Response @@ -26469,7 +26107,7 @@ paths: type: array items: *42 examples: - default: *180 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26487,7 +26125,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: - - *164 + - *163 responses: '200': description: Response @@ -26531,7 +26169,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: - - *164 + - *163 - *44 responses: '200': @@ -26560,7 +26198,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: - - *164 + - *163 - *44 requestBody: required: true @@ -26617,7 +26255,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: - - *164 + - *163 - *44 responses: '202': @@ -26646,13 +26284,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: - - *164 + - *163 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &181 + schema: &180 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -26666,7 +26304,7 @@ paths: required: - include_claim_keys examples: - default: &182 + default: &181 value: include_claim_keys: - repo @@ -26688,20 +26326,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: - - *164 + - *163 requestBody: required: true content: application/json: - schema: *181 + schema: *180 examples: - default: *182 + default: *181 responses: '201': description: Empty response content: application/json: - schema: &201 + schema: &200 title: Empty Object description: An object without any properties. type: object @@ -26731,7 +26369,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: - - *164 + - *163 responses: '200': description: Response @@ -26740,7 +26378,7 @@ paths: schema: type: object properties: - enabled_repositories: &184 + enabled_repositories: &183 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26754,7 +26392,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *46 - selected_actions_url: *183 + selected_actions_url: *182 required: - enabled_repositories examples: @@ -26783,7 +26421,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: - - *164 + - *163 responses: '204': description: Response @@ -26794,7 +26432,7 @@ paths: schema: type: object properties: - enabled_repositories: *184 + enabled_repositories: *183 allowed_actions: *46 required: - enabled_repositories @@ -26822,7 +26460,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: - - *164 + - *163 - *17 - *19 responses: @@ -26842,7 +26480,7 @@ paths: type: array items: *61 examples: - default: &705 + default: &703 value: total_count: 1 repositories: @@ -26982,7 +26620,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: - - *164 + - *163 responses: '204': description: Response @@ -27026,8 +26664,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: - - *164 - - &185 + - *163 + - &184 name: repository_id description: The unique identifier of the repository. in: path @@ -27055,8 +26693,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: - - *164 - - *185 + - *163 + - *184 responses: '204': description: Response @@ -27079,7 +26717,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: - - *164 + - *163 responses: '200': description: Response @@ -27110,7 +26748,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: - - *164 + - *163 responses: '204': description: Response @@ -27142,13 +26780,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *186 + schema: *185 examples: default: *52 x-github: @@ -27171,7 +26809,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: - - *164 + - *163 responses: '204': description: Success response @@ -27182,7 +26820,7 @@ paths: required: false content: application/json: - schema: *187 + schema: *186 examples: default: *52 x-github: @@ -27204,7 +26842,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: - - *164 + - *163 - *17 - *19 - name: visible_to_repository @@ -27229,7 +26867,7 @@ paths: type: number runner_groups: type: array - items: &188 + items: &187 type: object properties: id: @@ -27346,7 +26984,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: - - *164 + - *163 requestBody: required: true content: @@ -27419,9 +27057,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *187 examples: - default: &189 + default: &188 value: id: 2 name: octo-runner-group @@ -27456,14 +27094,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: - - *164 + - *163 - *55 responses: '200': description: Response content: application/json: - schema: *188 + schema: *187 examples: default: value: @@ -27499,7 +27137,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: - - *164 + - *163 - *55 requestBody: required: true @@ -27556,9 +27194,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *187 examples: - default: *189 + default: *188 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27577,7 +27215,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: - - *164 + - *163 - *55 responses: '204': @@ -27601,7 +27239,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: - - *164 + - *163 - *55 - *17 - *19 @@ -27622,7 +27260,7 @@ paths: type: array items: *39 examples: - default: *177 + default: *176 headers: Link: *37 x-github: @@ -27644,7 +27282,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: - - *164 + - *163 - *55 - *19 - *17 @@ -27663,9 +27301,9 @@ paths: type: number repositories: type: array - items: *190 + items: *189 examples: - default: &697 + default: &695 value: total_count: 1 repositories: @@ -27917,7 +27555,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: - - *164 + - *163 - *55 requestBody: required: true @@ -27962,9 +27600,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: - - *164 + - *163 - *55 - - *185 + - *184 responses: '204': description: Response @@ -27986,9 +27624,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: - - *164 + - *163 - *55 - - *185 + - *184 responses: '204': description: Response @@ -28011,7 +27649,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: - - *164 + - *163 - *55 - *17 - *19 @@ -28053,7 +27691,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: - - *164 + - *163 - *55 requestBody: required: true @@ -28098,7 +27736,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: - - *164 + - *163 - *55 - *58 responses: @@ -28122,7 +27760,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: - - *164 + - *163 - *55 - *58 responses: @@ -28154,7 +27792,7 @@ paths: in: query schema: type: string - - *164 + - *163 - *17 - *19 responses: @@ -28198,7 +27836,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: - - *164 + - *163 responses: '200': description: Response @@ -28206,9 +27844,9 @@ paths: application/json: schema: type: array - items: *191 + items: *190 examples: - default: *192 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28230,7 +27868,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: - - *164 + - *163 requestBody: required: true content: @@ -28273,7 +27911,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *193 + '201': *192 '404': *6 '422': *7 '409': *92 @@ -28304,7 +27942,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: - - *164 + - *163 responses: '201': description: Response @@ -28312,7 +27950,7 @@ paths: application/json: schema: *62 examples: - default: *194 + default: *193 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28340,7 +27978,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: - - *164 + - *163 responses: '201': description: Response @@ -28348,7 +27986,7 @@ paths: application/json: schema: *62 examples: - default: *195 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28370,7 +28008,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: - - *164 + - *163 - *58 responses: '200': @@ -28379,7 +28017,7 @@ paths: application/json: schema: *59 examples: - default: *196 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28400,7 +28038,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: - - *164 + - *163 - *58 responses: '204': @@ -28426,7 +28064,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: - - *164 + - *163 - *58 responses: '200': *64 @@ -28451,7 +28089,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: - - *164 + - *163 - *58 requestBody: required: true @@ -28500,7 +28138,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: - - *164 + - *163 - *58 requestBody: required: true @@ -28550,10 +28188,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: - - *164 + - *163 - *58 responses: - '200': *197 + '200': *196 '404': *6 x-github: githubCloudOnly: false @@ -28580,9 +28218,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: - - *164 + - *163 - *58 - - *198 + - *197 responses: '200': *64 '404': *6 @@ -28609,7 +28247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *164 + - *163 - *17 - *19 responses: @@ -28627,7 +28265,7 @@ paths: type: integer secrets: type: array - items: &199 + items: &198 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28702,13 +28340,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: &401 + schema: &399 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28743,7 +28381,7 @@ paths: - key_id - key examples: - default: &402 + default: &400 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28768,8 +28406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *164 - - &200 + - *163 + - &199 name: secret_name description: The name of the secret. in: path @@ -28781,7 +28419,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *198 examples: default: value: @@ -28811,8 +28449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -28869,7 +28507,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -28895,8 +28533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '204': description: Response @@ -28922,8 +28560,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: - - *164 - - *200 + - *163 + - *199 - *19 - *17 responses: @@ -28941,9 +28579,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: &204 + default: &203 value: total_count: 1 repositories: @@ -29035,8 +28673,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -29088,8 +28726,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -29122,8 +28760,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -29155,8 +28793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *164 - - &386 + - *163 + - &384 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)." @@ -29180,7 +28818,7 @@ paths: type: integer variables: type: array - items: &202 + items: &201 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -29270,7 +28908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *164 + - *163 requestBody: required: true content: @@ -29318,7 +28956,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -29343,8 +28981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *164 - - &203 + - *163 + - &202 name: name description: The name of the variable. in: path @@ -29356,7 +28994,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *201 examples: default: value: @@ -29386,8 +29024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *164 - - *203 + - *163 + - *202 requestBody: required: true content: @@ -29449,8 +29087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *164 - - *203 + - *163 + - *202 responses: '204': description: Response @@ -29476,8 +29114,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: - - *164 - - *203 + - *163 + - *202 - *19 - *17 responses: @@ -29495,9 +29133,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: *204 + default: *203 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29523,8 +29161,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: - - *164 - - *203 + - *163 + - *202 requestBody: required: true content: @@ -29573,8 +29211,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: - - *164 - - *203 + - *163 + - *202 - name: repository_id in: path required: true @@ -29608,8 +29246,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: - - *164 - - *203 + - *163 + - *202 - name: repository_id in: path required: true @@ -29640,7 +29278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *164 + - *163 responses: '200': description: Response @@ -29667,11 +29305,11 @@ paths: required: true content: application/json: - schema: *205 + schema: *204 examples: default: *68 parameters: - - *164 + - *163 responses: '200': description: Response @@ -29695,7 +29333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *164 + - *163 responses: '204': description: Response @@ -29723,7 +29361,7 @@ paths: - *17 - *82 - *83 - - *164 + - *163 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29774,7 +29412,7 @@ paths: bundle_url: type: string examples: - default: &415 + default: &413 value: attestations: - bundle: @@ -29892,7 +29530,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: - - *164 + - *163 - 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). @@ -29900,10 +29538,10 @@ paths: required: false schema: type: string + - *205 - *206 - *207 - *208 - - *209 - *17 responses: '200': @@ -29912,9 +29550,9 @@ paths: application/json: schema: type: array - items: *210 + items: *209 examples: - default: *211 + default: *210 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29931,7 +29569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *164 + - *163 - *17 - *19 responses: @@ -29943,7 +29581,7 @@ paths: type: array items: *4 examples: - default: &283 + default: &281 value: - login: octocat id: 1 @@ -29981,8 +29619,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: - - *164 - - &212 + - *163 + - &211 name: username description: The handle for the GitHub user account. in: path @@ -30013,8 +29651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -30034,8 +29672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -30061,17 +29699,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *164 - - &219 + - *163 + - &218 name: repository_name description: The name of the repository to filter on. in: query schema: type: string + - *212 - *213 - *214 - *215 - - *216 - *17 - *19 responses: @@ -30081,9 +29719,9 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: - default: *218 + default: *217 '404': *6 '500': *95 "/orgs/{org}/bypass-requests/secret-scanning": @@ -30106,12 +29744,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *164 - - *219 + - *163 + - *218 + - *212 - *213 - *214 - *215 - - *216 - *17 - *19 responses: @@ -30121,7 +29759,7 @@ paths: application/json: schema: type: array - items: &432 + items: &430 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -30239,7 +29877,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *220 + items: *219 url: type: string format: uri @@ -30252,7 +29890,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &433 + default: &431 value: - id: 21 number: 42 @@ -30336,9 +29974,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: - - *164 + - *163 + - *220 - *221 - - *222 - *82 - *83 - *19 @@ -30349,7 +29987,7 @@ paths: be returned. in: query required: false - schema: *223 + schema: *222 - name: sort description: The property by which to sort the results. in: query @@ -30365,7 +30003,7 @@ paths: be returned. in: query required: false - schema: &443 + schema: &441 type: string description: Severity of a code scanning alert. enum: @@ -30383,9 +30021,9 @@ paths: application/json: schema: type: array - items: *224 + items: *223 examples: - default: *225 + default: *224 headers: Link: *37 '404': *6 @@ -30411,7 +30049,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: - - *164 + - *163 - name: target_type in: query description: The target type of the code security configuration @@ -30522,7 +30160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *164 + - *163 requestBody: required: true content: @@ -30722,7 +30360,7 @@ paths: application/json: schema: *88 examples: - default: *226 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30744,15 +30382,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: - default: *228 + default: *227 '304': *35 '403': *27 '404': *6 @@ -30778,7 +30416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *164 + - *163 requestBody: required: true content: @@ -30827,7 +30465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *164 + - *163 - *90 responses: '200': @@ -30836,7 +30474,7 @@ paths: application/json: schema: *88 examples: - default: *226 + default: *225 '304': *35 '403': *27 '404': *6 @@ -30860,7 +30498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *164 + - *163 - *90 requestBody: required: true @@ -31095,7 +30733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *164 + - *163 - *90 responses: '204': *114 @@ -31126,7 +30764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *164 + - *163 - *90 requestBody: required: true @@ -31190,7 +30828,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: - - *164 + - *163 - *90 requestBody: required: true @@ -31236,7 +30874,7 @@ paths: default: value: default_for_new_repos: all - configuration: *226 + configuration: *225 '403': *27 '404': *6 x-github: @@ -31260,7 +30898,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: - - *164 + - *163 - *90 - name: per_page description: The number of results per page (max 100). For more information, @@ -31289,13 +30927,13 @@ paths: application/json: schema: type: array - items: *229 + items: *228 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *230 + repository: *229 '403': *27 '404': *6 x-github: @@ -31319,7 +30957,7 @@ paths: parameters: - *17 - *19 - - *164 + - *163 responses: '200': description: Response @@ -31335,7 +30973,7 @@ paths: type: integer codespaces: type: array - items: &284 + items: &282 type: object title: Codespace description: A codespace. @@ -31366,11 +31004,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *190 + repository: *189 machine: anyOf: - type: 'null' - - &472 + - &470 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -31657,7 +31295,7 @@ paths: - pulls_url - recent_folders examples: - default: &285 + default: &283 value: total_count: 3 codespaces: @@ -32089,7 +31727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *164 + - *163 deprecated: true requestBody: required: true @@ -32156,7 +31794,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: - - *164 + - *163 deprecated: true requestBody: required: true @@ -32211,7 +31849,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *164 + - *163 requestBody: required: true content: @@ -32263,7 +31901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *164 + - *163 - *17 - *19 responses: @@ -32281,7 +31919,7 @@ paths: type: integer secrets: type: array - items: &231 + items: &230 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32322,7 +31960,7 @@ paths: - updated_at - visibility examples: - default: &473 + default: &471 value: total_count: 2 secrets: @@ -32354,13 +31992,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: &474 + schema: &472 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32395,7 +32033,7 @@ paths: - key_id - key examples: - default: &475 + default: &473 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32418,16 +32056,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: - default: &477 + default: &475 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32454,8 +32092,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -32510,7 +32148,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -32536,8 +32174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '204': description: Response @@ -32562,8 +32200,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: - - *164 - - *200 + - *163 + - *199 - *19 - *17 responses: @@ -32581,9 +32219,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: *204 + default: *203 '404': *6 x-github: githubCloudOnly: false @@ -32605,8 +32243,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -32656,8 +32294,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -32690,8 +32328,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -32730,7 +32368,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: - - *164 + - *163 responses: '200': description: OK @@ -32871,7 +32509,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: - - *164 + - *163 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -32894,9 +32532,9 @@ paths: currently being billed. seats: type: array - items: *232 + items: *231 examples: - default: *233 + default: *232 headers: Link: *37 '500': *95 @@ -32932,7 +32570,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: - - *164 + - *163 requestBody: content: application/json: @@ -33010,7 +32648,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: - - *164 + - *163 requestBody: content: application/json: @@ -33090,7 +32728,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: - - *164 + - *163 requestBody: content: application/json: @@ -33167,7 +32805,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: - - *164 + - *163 requestBody: content: application/json: @@ -33248,7 +32886,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: - - *164 + - *163 - 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`). @@ -33292,75 +32930,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: - - *164 - - 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: *133 - examples: - default: *234 - '500': *95 - '401': *23 - '403': *27 - '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 @@ -33377,7 +32946,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: - - *164 + - *163 - *17 - name: page description: Page token @@ -33536,7 +33105,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: - - *164 + - *163 - name: credential_id in: path required: true @@ -33567,7 +33136,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: - - *164 + - *163 responses: '200': description: Response - list of custom role names @@ -33583,7 +33152,7 @@ paths: - 3 custom_roles: type: array - items: *235 + items: *233 examples: default: value: @@ -33670,12 +33239,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *164 + - *163 requestBody: required: true content: application/json: - schema: &238 + schema: &236 type: object properties: name: @@ -33717,9 +33286,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '422': *15 '404': *6 x-github: @@ -33743,8 +33312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *164 - - &237 + - *163 + - &235 name: role_id description: The unique identifier of the role. in: path @@ -33756,9 +33325,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '404': *6 x-github: githubCloudOnly: true @@ -33780,13 +33349,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *164 - - *237 + - *163 + - *235 requestBody: required: true content: application/json: - schema: &239 + schema: &237 type: object properties: name: @@ -33825,9 +33394,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '422': *15 '404': *6 x-github: @@ -33851,8 +33420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *164 - - *237 + - *163 + - *235 responses: '204': description: Response @@ -33880,12 +33449,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: - - *164 + - *163 requestBody: required: true content: application/json: - schema: *238 + schema: *236 examples: default: value: @@ -33899,9 +33468,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '422': *15 '404': *6 x-github: @@ -33931,16 +33500,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: - - *164 - - *237 + - *163 + - *235 responses: '200': description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '404': *6 x-github: githubCloudOnly: true @@ -33968,13 +33537,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: - - *164 - - *237 + - *163 + - *235 requestBody: required: true content: application/json: - schema: *239 + schema: *237 examples: default: value: @@ -33989,9 +33558,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '422': *15 '404': *6 x-github: @@ -34021,8 +33590,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: - - *164 - - *237 + - *163 + - *235 responses: '204': description: Response @@ -34050,19 +33619,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *164 + - *163 + - *238 + - *239 - *240 - *241 - *242 - *243 - *244 - - *245 - - *246 - *84 - *82 - *83 - - *247 - - *248 + - *245 + - *246 - *17 responses: '200': @@ -34071,9 +33640,9 @@ paths: application/json: schema: type: array - items: *249 + items: *247 examples: - default: *250 + default: *248 '304': *35 '400': *14 '403': *27 @@ -34099,7 +33668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *164 + - *163 - *17 - *19 responses: @@ -34117,7 +33686,7 @@ paths: type: integer secrets: type: array - items: &251 + items: &249 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -34190,13 +33759,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: &500 + schema: &498 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -34215,7 +33784,7 @@ paths: - key_id - key examples: - default: &501 + default: &499 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34238,14 +33807,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '200': description: Response content: application/json: - schema: *251 + schema: *249 examples: default: value: @@ -34273,8 +33842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -34329,7 +33898,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -34353,8 +33922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '204': description: Response @@ -34378,8 +33947,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: - - *164 - - *200 + - *163 + - *199 - *19 - *17 responses: @@ -34397,9 +33966,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: *204 + default: *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34420,8 +33989,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -34471,8 +34040,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -34503,8 +34072,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -34534,7 +34103,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: - - *164 + - *163 responses: '200': description: Response @@ -34542,7 +34111,7 @@ paths: application/json: schema: type: array - items: &295 + items: &293 title: Package description: A software package type: object @@ -34595,7 +34164,7 @@ paths: repository: anyOf: - type: 'null' - - *190 + - *189 created_at: type: string format: date-time @@ -34613,7 +34182,7 @@ paths: - created_at - updated_at examples: - default: &296 + default: &294 value: - id: 197 name: hello_docker @@ -34691,7 +34260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *164 + - *163 - *17 - *19 responses: @@ -34701,7 +34270,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: 200-response: value: @@ -34771,7 +34340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *164 + - *163 - name: group_id description: The unique identifier of the group. in: path @@ -34797,7 +34366,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &355 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34887,7 +34456,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &358 + default: &356 value: group_id: '123' group_name: Octocat admins @@ -34925,7 +34494,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: - - *164 + - *163 - *17 - name: page description: Page token @@ -34942,7 +34511,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &353 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34982,7 +34551,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &356 + default: &354 value: groups: - group_id: '123' @@ -35016,7 +34585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *164 + - *163 - *17 - *19 responses: @@ -35026,7 +34595,7 @@ paths: application/json: schema: type: array - items: &274 + items: &272 title: Organization Invitation description: Organization Invitation type: object @@ -35080,7 +34649,7 @@ paths: - invitation_teams_url - node_id examples: - default: &275 + default: &273 value: - id: 1 login: monalisa @@ -35139,7 +34708,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: - - *164 + - *163 responses: '200': description: Response @@ -35147,7 +34716,7 @@ paths: application/json: schema: type: array - items: &315 + items: &313 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -35161,7 +34730,7 @@ paths: - name - description examples: - default: &316 + default: &314 value: - name: add_assignee description: Assign or remove a user @@ -35192,7 +34761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *164 + - *163 - *17 - *19 responses: @@ -35202,7 +34771,7 @@ paths: application/json: schema: type: array - items: &252 + items: &250 title: Org Hook description: Org Hook type: object @@ -35323,7 +34892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *164 + - *163 requestBody: required: true content: @@ -35385,9 +34954,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: &253 + default: &251 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -35431,8 +35000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *164 - - &254 + - *163 + - &252 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. @@ -35445,9 +35014,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *253 + default: *251 '404': *6 x-github: githubCloudOnly: false @@ -35468,8 +35037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *164 - - *254 + - *163 + - *252 requestBody: required: false content: @@ -35515,7 +35084,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: default: value: @@ -35554,8 +35123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *164 - - *254 + - *163 + - *252 responses: '204': description: Response @@ -35580,8 +35149,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: - - *164 - - *254 + - *163 + - *252 responses: '200': description: Response @@ -35609,8 +35178,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: - - *164 - - *254 + - *163 + - *252 requestBody: required: false content: @@ -35658,10 +35227,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *164 - - *254 + - *163 + - *252 - *17 - - *255 + - *253 responses: '200': description: Response @@ -35669,9 +35238,9 @@ paths: application/json: schema: type: array - items: *256 + items: *254 examples: - default: *257 + default: *255 '400': *14 '422': *15 x-github: @@ -35694,17 +35263,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: - - *164 - - *254 + - *163 + - *252 - *16 responses: '200': description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '400': *14 '422': *15 x-github: @@ -35727,8 +35296,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: - - *164 - - *254 + - *163 + - *252 - *16 responses: '202': *93 @@ -35754,8 +35323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *164 - - *254 + - *163 + - *252 responses: '204': description: Response @@ -35777,8 +35346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *164 - - &264 + - *163 + - &262 name: actor_type in: path description: The type of the actor @@ -35791,14 +35360,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &265 + - &263 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &260 + - &258 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`.' @@ -35806,7 +35375,7 @@ paths: required: true schema: type: string - - &261 + - &259 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) @@ -35900,13 +35469,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *164 - - *260 - - *261 + - *163 + - *258 + - *259 - *19 - *17 - *84 - - &270 + - &268 name: sort description: The property to sort the results by. in: query @@ -35985,15 +35554,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *164 - - *260 - - *261 + - *163 + - *258 + - *259 responses: '200': description: Response content: application/json: - schema: &262 + schema: &260 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -36009,7 +35578,7 @@ paths: type: integer format: int64 examples: - default: &263 + default: &261 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -36029,24 +35598,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *164 - - &266 + - *163 + - &264 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *260 - - *261 + - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *262 + schema: *260 examples: - default: *263 + default: *261 x-github: enabledForGitHubApps: true category: orgs @@ -36064,19 +35633,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *164 - - *260 - - *261 - - *264 - - *265 + - *163 + - *258 + - *259 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *262 + schema: *260 examples: - default: *263 + default: *261 x-github: enabledForGitHubApps: true category: orgs @@ -36093,10 +35662,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *164 - - *260 - - *261 - - &267 + - *163 + - *258 + - *259 + - &265 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -36109,7 +35678,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &266 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -36125,7 +35694,7 @@ paths: type: integer format: int64 examples: - default: &269 + default: &267 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -36161,19 +35730,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *164 - - *266 - - *260 - - *261 - - *267 + - *163 + - *264 + - *258 + - *259 + - *265 responses: '200': description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: enabledForGitHubApps: true category: orgs @@ -36190,20 +35759,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *164 - - *264 + - *163 + - *262 + - *263 + - *258 + - *259 - *265 - - *260 - - *261 - - *267 responses: '200': description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: enabledForGitHubApps: true category: orgs @@ -36220,14 +35789,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *164 - - *266 - - *260 - - *261 + - *163 + - *264 + - *258 + - *259 - *19 - *17 - *84 - - *270 + - *268 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -36303,7 +35872,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: - - *164 + - *163 responses: '200': description: Response @@ -36311,7 +35880,7 @@ paths: application/json: schema: *20 examples: - default: &539 + default: &537 value: id: 1 account: @@ -36380,7 +35949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *164 + - *163 - *17 - *19 responses: @@ -36469,7 +36038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *164 + - *163 responses: '200': description: Response @@ -36477,12 +36046,12 @@ paths: application/json: schema: anyOf: - - &272 + - &270 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &271 + limit: &269 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -36510,7 +36079,7 @@ paths: properties: {} additionalProperties: false examples: - default: &273 + default: &271 value: limit: collaborators_only origin: organization @@ -36534,18 +36103,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *164 + - *163 requestBody: required: true content: application/json: - schema: &540 + schema: &538 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *271 + limit: *269 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -36570,9 +36139,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *270 examples: - default: *273 + default: *271 '422': *15 x-github: githubCloudOnly: false @@ -36590,7 +36159,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *164 + - *163 responses: '204': description: Response @@ -36616,7 +36185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *164 + - *163 - *17 - *19 - name: role @@ -36650,9 +36219,9 @@ paths: application/json: schema: type: array - items: *274 + items: *272 examples: - default: *275 + default: *273 headers: Link: *37 '404': *6 @@ -36676,7 +36245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *164 + - *163 requestBody: required: false content: @@ -36730,7 +36299,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *272 examples: default: value: @@ -36786,8 +36355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *164 - - &276 + - *163 + - &274 name: invitation_id description: The unique identifier of the invitation. in: path @@ -36820,8 +36389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *164 - - *276 + - *163 + - *274 - *17 - *19 responses: @@ -36831,9 +36400,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: &294 + default: &292 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -36868,7 +36437,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: - - *164 + - *163 responses: '200': description: Response @@ -36876,7 +36445,7 @@ paths: application/json: schema: type: array - items: *278 + items: *276 examples: default: value: @@ -36914,7 +36483,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: - - *164 + - *163 requestBody: required: true content: @@ -36968,9 +36537,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *276 examples: - default: &279 + default: &277 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -37002,8 +36571,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: - - *164 - - &280 + - *163 + - &278 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -37063,9 +36632,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *276 examples: - default: *279 + default: *277 '404': *6 '422': *7 x-github: @@ -37089,8 +36658,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: - - *164 - - *280 + - *163 + - *278 responses: '204': description: Response @@ -37123,7 +36692,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: - - *164 + - *163 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -37153,7 +36722,7 @@ paths: - closed - all default: open - - *281 + - *279 - name: type description: Can be the name of an issue type. in: query @@ -37172,7 +36741,7 @@ paths: - comments default: created - *84 - - *138 + - *137 - *17 - *19 responses: @@ -37182,9 +36751,9 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: *282 + default: *280 headers: Link: *37 '404': *6 @@ -37206,7 +36775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *164 + - *163 - 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) @@ -37242,7 +36811,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '422': *15 @@ -37262,8 +36831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response if requester is an organization member and user is @@ -37294,8 +36863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -37321,8 +36890,8 @@ paths: parameters: - *17 - *19 - - *164 - - *212 + - *163 + - *211 responses: '200': description: Response @@ -37338,9 +36907,9 @@ paths: type: integer codespaces: type: array - items: *284 + items: *282 examples: - default: *285 + default: *283 '304': *35 '500': *95 '401': *23 @@ -37365,9 +36934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *164 - - *212 - - &286 + - *163 + - *211 + - &284 name: codespace_name in: path required: true @@ -37400,17 +36969,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: - - *164 - - *212 - - *286 + - *163 + - *211 + - *284 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: &471 + default: &469 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -37583,14 +37152,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: - - *164 - - *212 + - *163 + - *211 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *232 + schema: *231 examples: default: value: @@ -37658,14 +37227,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *164 - - *212 + - *163 + - *211 responses: '200': description: Response content: application/json: - schema: &287 + schema: &285 title: Org Membership description: Org Membership type: object @@ -37718,7 +37287,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &288 + response-if-user-has-an-active-admin-membership-with-organization: &286 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -37786,8 +37355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *164 - - *212 + - *163 + - *211 requestBody: required: false content: @@ -37815,9 +37384,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *285 examples: - response-if-user-already-had-membership-with-organization: *288 + response-if-user-already-had-membership-with-organization: *286 '422': *15 '403': *27 x-github: @@ -37838,8 +37407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -37864,7 +37433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *164 + - *163 - *17 - *19 - name: exclude @@ -37886,7 +37455,7 @@ paths: application/json: schema: type: array - items: &289 + items: &287 title: Migration description: A migration. type: object @@ -38143,7 +37712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *164 + - *163 requestBody: required: true content: @@ -38224,7 +37793,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: default: value: @@ -38402,8 +37971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *164 - - &290 + - *163 + - &288 name: migration_id description: The unique identifier of the migration. in: path @@ -38431,7 +38000,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *289 + schema: *287 examples: default: value: @@ -38600,8 +38169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *164 - - *290 + - *163 + - *288 responses: '302': description: Response @@ -38622,8 +38191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *164 - - *290 + - *163 + - *288 responses: '204': description: Response @@ -38646,9 +38215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *164 - - *290 - - &710 + - *163 + - *288 + - &708 name: repo_name description: repo_name parameter in: path @@ -38675,8 +38244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *164 - - *290 + - *163 + - *288 - *17 - *19 responses: @@ -38686,9 +38255,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: &301 + default: &299 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38827,7 +38396,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: - - *164 + - *163 responses: '200': description: Response @@ -38881,7 +38450,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: - - *164 + - *163 responses: '200': description: Response - list of organization roles @@ -38897,7 +38466,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &291 + items: &289 title: Organization Role description: Organization roles type: object @@ -39059,7 +38628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *164 + - *163 requestBody: required: true content: @@ -39106,7 +38675,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: default: value: @@ -39157,8 +38726,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: - - *164 - - *292 + - *163 + - &290 + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string responses: '204': description: Response @@ -39183,9 +38758,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: - - *164 - - *292 - - *237 + - *163 + - *290 + - *235 responses: '204': description: Response @@ -39214,9 +38789,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: - - *164 - - *292 - - *237 + - *163 + - *290 + - *235 responses: '204': description: Response @@ -39241,8 +38816,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -39267,9 +38842,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: - - *164 - - *212 - - *237 + - *163 + - *211 + - *235 responses: '204': description: Response @@ -39299,9 +38874,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: - - *164 - - *212 - - *237 + - *163 + - *211 + - *235 responses: '204': description: Response @@ -39329,14 +38904,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *164 - - *237 + - *163 + - *235 responses: '200': description: Response content: application/json: - schema: *291 + schema: *289 examples: default: value: @@ -39393,8 +38968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *164 - - *237 + - *163 + - *235 requestBody: required: true content: @@ -39433,7 +39008,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: default: value: @@ -39486,8 +39061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *164 - - *237 + - *163 + - *235 responses: '204': description: Response @@ -39512,8 +39087,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: - - *164 - - *237 + - *163 + - *235 - *17 - *19 responses: @@ -39592,7 +39167,7 @@ paths: parent: anyOf: - type: 'null' - - *293 + - *291 required: - id - node_id @@ -39606,7 +39181,7 @@ paths: - slug - parent examples: - default: *294 + default: *292 headers: Link: *37 '404': @@ -39635,8 +39210,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: - - *164 - - *237 + - *163 + - *235 - *17 - *19 responses: @@ -39665,7 +39240,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *293 + items: *291 name: type: - string @@ -39782,7 +39357,7 @@ paths: - type - url examples: - default: *283 + default: *281 headers: Link: *37 '404': @@ -39806,7 +39381,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: - - *164 + - *163 - 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) @@ -39830,7 +39405,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -39855,8 +39430,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: - - *164 - - *212 + - *163 + - *211 requestBody: required: false content: @@ -39913,8 +39488,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -39971,8 +39546,8 @@ paths: - docker - nuget - container - - *164 - - &712 + - *163 + - &710 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40008,12 +39583,12 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: *296 + default: *294 '403': *27 '401': *23 - '400': &714 + '400': &712 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -40035,7 +39610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &297 + - &295 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 @@ -40053,20 +39628,20 @@ paths: - docker - nuget - container - - &298 + - &296 name: package_name description: The name of the package. in: path required: true schema: type: string - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *295 + schema: *293 examples: default: value: @@ -40118,9 +39693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *297 - - *298 - - *164 + - *295 + - *296 + - *163 responses: '204': description: Response @@ -40152,9 +39727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *297 - - *298 - - *164 + - *295 + - *296 + - *163 - name: token description: package token schema: @@ -40186,9 +39761,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: - - *297 - - *298 - - *164 + - *295 + - *296 + - *163 - *19 - *17 - name: state @@ -40208,7 +39783,7 @@ paths: application/json: schema: type: array - items: &299 + items: &297 title: Package Version description: A version of a software package type: object @@ -40343,10 +39918,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: - - *297 - - *298 - - *164 - - &300 + - *295 + - *296 + - *163 + - &298 name: package_version_id description: Unique identifier of the package version. in: path @@ -40358,7 +39933,7 @@ paths: description: Response content: application/json: - schema: *299 + schema: *297 examples: default: value: @@ -40394,10 +39969,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *297 + - *295 + - *296 + - *163 - *298 - - *164 - - *300 responses: '204': description: Response @@ -40429,10 +40004,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *297 + - *295 + - *296 + - *163 - *298 - - *164 - - *300 responses: '204': description: Response @@ -40459,10 +40034,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: - - *164 + - *163 - *17 - *19 - - &302 + - &300 name: sort description: The property by which to sort the results. in: query @@ -40473,7 +40048,7 @@ paths: - created_at default: created_at - *84 - - &303 + - &301 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -40485,7 +40060,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &304 + - &302 name: repository description: The name of the repository to use to filter the results. in: query @@ -40494,7 +40069,7 @@ paths: type: string examples: - Hello-World - - &305 + - &303 name: permission description: The permission to use to filter the results. in: query @@ -40503,7 +40078,7 @@ paths: type: string examples: - issues_read - - &306 + - &304 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) @@ -40513,7 +40088,7 @@ paths: schema: type: string format: date-time - - &307 + - &305 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) @@ -40523,7 +40098,7 @@ paths: schema: type: string format: date-time - - &308 + - &306 name: token_id description: The ID of the token in: query @@ -40691,7 +40266,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: - - *164 + - *163 requestBody: required: true content: @@ -40758,7 +40333,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: - - *164 + - *163 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -40820,7 +40395,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: - - *164 + - *163 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -40840,9 +40415,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -40865,17 +40440,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: - - *164 + - *163 - *17 - *19 - - *302 + - *300 - *84 + - *301 + - *302 - *303 - *304 - *305 - *306 - - *307 - - *308 responses: '500': *95 '422': *15 @@ -41026,7 +40601,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: - - *164 + - *163 requestBody: required: true content: @@ -41086,7 +40661,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: - - *164 + - *163 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -41138,7 +40713,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: - - *164 + - *163 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -41157,9 +40732,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -41185,7 +40760,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: - - *164 + - *163 - *17 - *19 responses: @@ -41203,7 +40778,7 @@ paths: type: integer configurations: type: array - items: &309 + items: &307 title: Organization private registry description: Private registry configuration for an organization type: object @@ -41282,7 +40857,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: - - *164 + - *163 requestBody: required: true content: @@ -41415,7 +40990,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &310 + org-private-registry-with-selected-visibility: &308 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -41458,7 +41033,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: - - *164 + - *163 responses: '200': description: Response @@ -41510,16 +41085,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: - - *164 - - *200 + - *163 + - *199 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *309 + schema: *307 examples: - default: *310 + default: *308 '404': *6 x-github: githubCloudOnly: false @@ -41542,8 +41117,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -41623,8 +41198,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: - - *164 - - *200 + - *163 + - *199 responses: '204': description: Response @@ -41649,7 +41224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *164 + - *163 - name: state description: Indicates the state of the projects to return. in: query @@ -41670,7 +41245,7 @@ paths: application/json: schema: type: array - items: &311 + items: &309 title: Project description: Projects are a way to organize columns and cards of work. @@ -41826,7 +41401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *164 + - *163 requestBody: required: true content: @@ -41852,7 +41427,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *309 examples: default: value: @@ -41890,7 +41465,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &373 + '410': &371 description: Gone content: application/json: @@ -41917,7 +41492,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: - - *164 + - *163 responses: '200': description: Response @@ -41954,7 +41529,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: - - *164 + - *163 requestBody: required: true content: @@ -42018,7 +41593,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: - - *164 + - *163 - *112 responses: '200': @@ -42050,13 +41625,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: - - *164 + - *163 - *112 requestBody: required: true content: application/json: - schema: *312 + schema: *310 examples: default: value: @@ -42097,7 +41672,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: - - *164 + - *163 - *112 responses: '204': *114 @@ -42121,7 +41696,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: - - *164 + - *163 - *17 - *19 - name: repository_query @@ -42162,7 +41737,7 @@ paths: - octocat/Hello-World properties: type: array - items: &313 + items: &311 title: Custom Property Value description: Custom property name and associated value type: object @@ -42232,7 +41807,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: - - *164 + - *163 requestBody: required: true content: @@ -42252,7 +41827,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *313 + items: *311 required: - repository_names - properties @@ -42293,7 +41868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *164 + - *163 - *17 - *19 responses: @@ -42305,7 +41880,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -42324,8 +41899,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response if user is a public member @@ -42349,8 +41924,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -42371,8 +41946,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -42396,7 +41971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *164 + - *163 - 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 @@ -42443,9 +42018,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -42466,7 +42041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *164 + - *163 requestBody: required: true content: @@ -42649,7 +42224,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &373 title: Full Repository description: Full Repository type: object @@ -43095,7 +42670,7 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 organization: anyOf: - type: 'null' @@ -43114,7 +42689,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &490 + code_of_conduct: &488 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -43144,7 +42719,7 @@ paths: - key - name - html_url - security_and_analysis: *314 + security_and_analysis: *312 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43228,7 +42803,7 @@ paths: - network_count - subscribers_count examples: - default: &377 + default: &375 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43746,7 +43321,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: - - *164 + - *163 responses: '200': description: Response @@ -43754,9 +43329,9 @@ paths: application/json: schema: type: array - items: *315 + items: *313 examples: - default: *316 + default: *314 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43778,10 +43353,10 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 - *17 - *19 - - &625 + - &623 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43847,7 +43422,7 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 requestBody: description: Request body required: true @@ -43873,7 +43448,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *122 - conditions: *317 + conditions: *315 rules: type: array description: An array of rules within the ruleset. @@ -43917,7 +43492,7 @@ paths: application/json: schema: *124 examples: - default: &318 + default: &316 value: id: 21 name: super cool ruleset @@ -43971,8 +43546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *164 - - &626 + - *163 + - &624 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 @@ -43982,16 +43557,16 @@ paths: schema: type: string x-multi-segment: true - - *219 - - *215 - - &627 + - *218 + - *214 + - &625 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 - - &628 + - &626 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -44011,7 +43586,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &627 title: Rule Suites description: Response type: array @@ -44067,7 +43642,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &630 + default: &628 value: - id: 21 actor_id: 12 @@ -44110,8 +43685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *164 - - &631 + - *163 + - &629 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44127,7 +43702,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &630 title: Rule Suite description: Response type: object @@ -44234,7 +43809,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &633 + default: &631 value: id: 21 actor_id: 12 @@ -44295,7 +43870,7 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44309,7 +43884,7 @@ paths: application/json: schema: *124 examples: - default: *318 + default: *316 '404': *6 '500': *95 put: @@ -44327,7 +43902,7 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44358,7 +43933,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *122 - conditions: *317 + conditions: *315 rules: description: An array of rules within the ruleset. type: array @@ -44399,7 +43974,7 @@ paths: application/json: schema: *124 examples: - default: *318 + default: *316 '404': *6 '500': *95 delete: @@ -44417,7 +43992,7 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44440,7 +44015,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *164 + - *163 - *17 - *19 - name: ruleset_id @@ -44458,7 +44033,7 @@ paths: type: array items: *127 examples: - default: *319 + default: *317 '404': *6 '500': *95 x-github: @@ -44477,7 +44052,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *164 + - *163 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44495,7 +44070,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: default: value: @@ -44557,15 +44132,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: - - *164 + - *163 + - *319 + - *320 - *321 - *322 - - *323 - - *324 - *84 - *19 - *17 - - &635 + - &633 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 @@ -44575,7 +44150,7 @@ paths: required: false schema: type: string - - &636 + - &634 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 @@ -44585,9 +44160,9 @@ paths: required: false schema: type: string + - *323 + - *324 - *325 - - *326 - - *327 responses: '200': description: Response @@ -44595,9 +44170,9 @@ paths: application/json: schema: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *37 '404': *6 @@ -44623,7 +44198,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: - - *164 + - *163 - *84 - name: sort description: The property to sort the results by. @@ -44667,7 +44242,7 @@ paths: application/json: schema: type: array - items: &643 + items: &641 description: A repository security advisory. type: object properties: @@ -44911,7 +44486,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *328 credits_detailed: type: - array @@ -44922,7 +44497,7 @@ paths: type: object properties: user: *4 - type: *330 + type: *328 state: type: string description: The state of the user's acceptance of the @@ -44948,7 +44523,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *277 + items: *275 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -44986,7 +44561,7 @@ paths: - private_fork additionalProperties: false examples: - default: &644 + default: &642 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45365,7 +44940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *164 + - *163 responses: '200': description: Response @@ -45373,9 +44948,9 @@ paths: application/json: schema: type: array - items: *293 + items: *291 examples: - default: *294 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45398,8 +44973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *164 - - *292 + - *163 + - *290 responses: '204': description: Response @@ -45424,8 +44999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *164 - - *292 + - *163 + - *290 responses: '204': description: Response @@ -45454,15 +45029,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *331 + schema: *329 examples: - default: *332 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45486,7 +45061,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: - - *164 + - *163 - *17 - *19 responses: @@ -45494,9 +45069,9 @@ paths: description: Success content: application/json: - schema: *333 + schema: *331 examples: - default: *334 + default: *332 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45518,15 +45093,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: *336 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45548,15 +45123,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: *338 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45576,7 +45151,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: - - *164 + - *163 - *17 - *19 responses: @@ -45596,7 +45171,7 @@ paths: type: array items: *107 examples: - default: *339 + default: *337 headers: Link: *37 x-github: @@ -45617,7 +45192,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: - - *164 + - *163 requestBody: required: true content: @@ -45681,7 +45256,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: - - *164 + - *163 - *109 responses: '200': @@ -45711,7 +45286,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: - - *164 + - *163 - *109 requestBody: required: true @@ -45772,7 +45347,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: - - *164 + - *163 - *109 responses: '204': @@ -45796,16 +45371,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: - - *164 - - *340 + - *163 + - *338 responses: '200': description: Response content: application/json: - schema: *341 + schema: *339 examples: - default: *342 + default: *340 headers: Link: *37 x-github: @@ -45824,7 +45399,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: - - *164 + - *163 - *17 - name: page description: Page token @@ -45843,7 +45418,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &362 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -45895,7 +45470,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &365 + default: &363 value: groups: - group_id: '123' @@ -45940,8 +45515,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: - - *164 - - *292 + - *163 + - *290 - 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`). @@ -45985,79 +45560,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: - - *164 - - *292 - - 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: *133 - examples: - default: *234 - '500': *95 - '401': *23 - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -46070,7 +45572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *164 + - *163 - *17 - *19 responses: @@ -46080,9 +45582,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 headers: Link: *37 '403': *27 @@ -46104,7 +45606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *164 + - *163 requestBody: required: true content: @@ -46176,7 +45678,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &341 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46250,7 +45752,7 @@ paths: parent: anyOf: - type: 'null' - - *293 + - *291 members_count: type: integer examples: @@ -46556,7 +46058,7 @@ paths: - repos_count - organization examples: - default: &344 + default: &342 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46626,16 +46128,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *164 - - *292 + - *163 + - *290 responses: '200': description: Response content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '404': *6 x-github: githubCloudOnly: false @@ -46656,8 +46158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *164 - - *292 + - *163 + - *290 requestBody: required: false content: @@ -46720,16 +46222,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '201': description: Response content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '404': *6 '422': *15 '403': *27 @@ -46754,8 +46256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *164 - - *292 + - *163 + - *290 responses: '204': description: Response @@ -46781,8 +46283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *164 - - *292 + - *163 + - *290 - *84 - *17 - *19 @@ -46799,7 +46301,7 @@ paths: application/json: schema: type: array - items: &345 + items: &343 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46890,7 +46392,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *136 + reactions: *135 required: - author - body @@ -46910,7 +46412,7 @@ paths: - updated_at - url examples: - default: &684 + default: &682 value: - author: login: octocat @@ -46984,8 +46486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *164 - - *292 + - *163 + - *290 requestBody: required: true content: @@ -47019,9 +46521,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: &346 + default: &344 value: author: login: octocat @@ -47093,9 +46595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *164 - - *292 - - &347 + - *163 + - *290 + - &345 name: discussion_number description: The number that identifies the discussion. in: path @@ -47107,9 +46609,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *346 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47131,9 +46633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 requestBody: required: false content: @@ -47156,9 +46658,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: &685 + default: &683 value: author: login: octocat @@ -47228,9 +46730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 responses: '204': description: Response @@ -47256,9 +46758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 - *84 - *17 - *19 @@ -47269,7 +46771,7 @@ paths: application/json: schema: type: array - items: &348 + items: &346 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -47334,7 +46836,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *136 + reactions: *135 required: - author - body @@ -47349,7 +46851,7 @@ paths: - updated_at - url examples: - default: &686 + default: &684 value: - author: login: octocat @@ -47417,9 +46919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 requestBody: required: true content: @@ -47441,9 +46943,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: &349 + default: &347 value: author: login: octocat @@ -47509,10 +47011,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *164 - - *292 - - *347 - - &350 + - *163 + - *290 + - *345 + - &348 name: comment_number description: The number that identifies the comment. in: path @@ -47524,9 +47026,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47548,10 +47050,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *164 - - *292 - - *347 - - *350 + - *163 + - *290 + - *345 + - *348 requestBody: required: true content: @@ -47573,9 +47075,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: &687 + default: &685 value: author: login: octocat @@ -47639,10 +47141,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *164 - - *292 - - *347 - - *350 + - *163 + - *290 + - *345 + - *348 responses: '204': description: Response @@ -47668,10 +47170,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: - - *164 - - *292 - - *347 - - *350 + - *163 + - *290 + - *345 + - *348 - 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. @@ -47697,7 +47199,7 @@ paths: application/json: schema: type: array - items: &351 + items: &349 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -47741,7 +47243,7 @@ paths: - content - created_at examples: - default: &353 + default: &351 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47791,10 +47293,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: - - *164 - - *292 - - *347 - - *350 + - *163 + - *290 + - *345 + - *348 requestBody: required: true content: @@ -47827,9 +47329,9 @@ paths: team discussion comment content: application/json: - schema: *351 + schema: *349 examples: - default: &352 + default: &350 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47858,9 +47360,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47883,11 +47385,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *164 - - *292 - - *347 - - *350 - - &354 + - *163 + - *290 + - *345 + - *348 + - &352 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47919,9 +47421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 - 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. @@ -47947,9 +47449,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 x-github: @@ -47975,9 +47477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 requestBody: required: true content: @@ -48009,16 +47511,16 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48041,10 +47543,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *164 - - *292 - - *347 - - *354 + - *163 + - *290 + - *345 + - *352 responses: '204': description: Response @@ -48067,16 +47569,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: - - *164 - - *292 + - *163 + - *290 responses: '200': description: Response content: application/json: - schema: *355 + schema: *353 examples: - default: *356 + default: *354 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -48095,8 +47597,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: - - *164 - - *292 + - *163 + - *290 requestBody: required: true content: @@ -48120,9 +47622,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *355 examples: - default: *358 + default: *356 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48141,8 +47643,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: - - *164 - - *292 + - *163 + - *290 responses: '204': description: Response @@ -48166,8 +47668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *164 - - *292 + - *163 + - *290 - *17 - *19 responses: @@ -48177,9 +47679,9 @@ paths: application/json: schema: type: array - items: *274 + items: *272 examples: - default: *275 + default: *273 headers: Link: *37 x-github: @@ -48201,8 +47703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *164 - - *292 + - *163 + - *290 - name: role description: Filters members returned by their role in the team. in: query @@ -48225,7 +47727,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -48255,15 +47757,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *164 - - *292 - - *212 + - *163 + - *290 + - *211 responses: '200': description: Response content: application/json: - schema: &359 + schema: &357 title: Team Membership description: Team Membership type: object @@ -48291,7 +47793,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &688 + response-if-user-is-a-team-maintainer: &686 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48327,9 +47829,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: - - *164 - - *292 - - *212 + - *163 + - *290 + - *211 requestBody: required: false content: @@ -48354,9 +47856,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *357 examples: - response-if-users-membership-with-team-is-now-pending: &689 + response-if-users-membership-with-team-is-now-pending: &687 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48391,9 +47893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *164 - - *292 - - *212 + - *163 + - *290 + - *211 responses: '204': description: Response @@ -48418,8 +47920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *164 - - *292 + - *163 + - *290 - *17 - *19 responses: @@ -48429,7 +47931,7 @@ paths: application/json: schema: type: array - items: &360 + items: &358 title: Team Project description: A team's access to a project. type: object @@ -48498,7 +48000,7 @@ paths: - updated_at - permissions examples: - default: &690 + default: &688 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48561,9 +48063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *164 - - *292 - - &361 + - *163 + - *290 + - &359 name: project_id description: The unique identifier of the project. in: path @@ -48575,9 +48077,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *358 examples: - default: &691 + default: &689 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48639,9 +48141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *164 - - *292 - - *361 + - *163 + - *290 + - *359 requestBody: required: false content: @@ -48708,9 +48210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *164 - - *292 - - *361 + - *163 + - *290 + - *359 responses: '204': description: Response @@ -48737,8 +48239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *164 - - *292 + - *163 + - *290 - *17 - *19 responses: @@ -48748,9 +48250,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -48779,16 +48281,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *164 - - *292 - - *362 - - *363 + - *163 + - *290 + - *360 + - *361 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &692 + schema: &690 title: Team Repository description: A team's access to a repository. type: object @@ -48814,7 +48316,7 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 forks: type: integer permissions: @@ -49429,10 +48931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *164 - - *292 - - *362 - - *363 + - *163 + - *290 + - *360 + - *361 requestBody: required: false content: @@ -49477,10 +48979,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *164 - - *292 - - *362 - - *363 + - *163 + - *290 + - *360 + - *361 responses: '204': description: Response @@ -49506,16 +49008,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: - - *164 - - *292 + - *163 + - *290 responses: '200': description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -49537,8 +49039,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: - - *164 - - *292 + - *163 + - *290 requestBody: required: true content: @@ -49581,7 +49083,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: default: value: @@ -49613,8 +49115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *164 - - *292 + - *163 + - *290 - *17 - *19 responses: @@ -49624,9 +49126,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - response-if-child-teams-exist: &693 + response-if-child-teams-exist: &691 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49679,7 +49181,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: - - *164 + - *163 - name: security_product in: path description: The security feature to enable or disable. @@ -49753,7 +49255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &366 + - &364 name: card_id description: The unique identifier of the card. in: path @@ -49765,7 +49267,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &365 title: Project Card description: Project cards represent a scope of work. type: object @@ -49840,7 +49342,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &366 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -49896,7 +49398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *366 + - *364 requestBody: required: false content: @@ -49926,9 +49428,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *365 examples: - default: *368 + default: *366 '304': *35 '403': *27 '401': *23 @@ -49955,7 +49457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *366 + - *364 responses: '204': description: Response @@ -49999,7 +49501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *366 + - *364 requestBody: required: true content: @@ -50112,7 +49614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &369 + - &367 name: column_id description: The unique identifier of the column. in: path @@ -50124,7 +49626,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &368 title: Project Column description: Project columns contain cards of work. type: object @@ -50178,7 +49680,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &369 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -50213,7 +49715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *369 + - *367 requestBody: required: true content: @@ -50238,9 +49740,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *368 examples: - default: *371 + default: *369 '304': *35 '403': *27 '401': *23 @@ -50265,7 +49767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *369 + - *367 responses: '204': description: Response @@ -50294,7 +49796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *369 + - *367 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -50315,7 +49817,7 @@ paths: application/json: schema: type: array - items: *367 + items: *365 examples: default: value: @@ -50374,7 +49876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *369 + - *367 requestBody: required: true content: @@ -50418,9 +49920,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *365 examples: - default: *368 + default: *366 '304': *35 '403': *27 '401': *23 @@ -50430,8 +49932,8 @@ paths: application/json: schema: oneOf: + - *172 - *173 - - *174 '503': description: Response content: @@ -50476,7 +49978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *369 + - *367 requestBody: required: true content: @@ -50537,15 +50039,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *361 + - *359 responses: '200': description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: &372 + default: &370 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -50602,7 +50104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *361 + - *359 requestBody: required: false content: @@ -50651,9 +50153,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: *372 + default: *370 '404': description: Not Found if the authenticated user does not have access to the project @@ -50674,7 +50176,7 @@ paths: items: type: string '401': *23 - '410': *373 + '410': *371 '422': *7 x-github: githubCloudOnly: false @@ -50697,7 +50199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *361 + - *359 responses: '204': description: Delete Success @@ -50718,7 +50220,7 @@ paths: items: type: string '401': *23 - '410': *373 + '410': *371 '404': *6 x-github: githubCloudOnly: false @@ -50742,7 +50244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *361 + - *359 - 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 @@ -50769,7 +50271,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '404': *6 @@ -50799,8 +50301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *361 - - *212 + - *359 + - *211 requestBody: required: false content: @@ -50854,8 +50356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *361 - - *212 + - *359 + - *211 responses: '204': description: Response @@ -50886,8 +50388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *361 - - *212 + - *359 + - *211 responses: '200': description: Response @@ -50957,7 +50459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *361 + - *359 - *17 - *19 responses: @@ -50967,7 +50469,7 @@ paths: application/json: schema: type: array - items: *370 + items: *368 examples: default: value: @@ -51005,7 +50507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *361 + - *359 requestBody: required: true content: @@ -51029,7 +50531,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *368 examples: default: value: @@ -51093,7 +50595,7 @@ paths: resources: type: object properties: - core: &374 + core: &372 title: Rate Limit type: object properties: @@ -51110,20 +50612,20 @@ paths: - remaining - reset - used - graphql: *374 - search: *374 - code_search: *374 - source_import: *374 - integration_manifest: *374 - code_scanning_upload: *374 - actions_runner_registration: *374 - scim: *374 - dependency_snapshots: *374 - code_scanning_autofix: *374 + graphql: *372 + search: *372 + code_search: *372 + source_import: *372 + integration_manifest: *372 + code_scanning_upload: *372 + actions_runner_registration: *372 + scim: *372 + dependency_snapshots: *372 + code_scanning_autofix: *372 required: - core - search - rate: *374 + rate: *372 required: - rate - resources @@ -51227,14 +50729,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *375 + schema: *373 examples: default-response: summary: Default response @@ -51739,7 +51241,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *376 + '301': *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51757,8 +51259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -52005,10 +51507,10 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 - '307': &378 + default: *375 + '307': &376 description: Temporary Redirect content: application/json: @@ -52037,8 +51539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -52060,7 +51562,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': *378 + '307': *376 '404': *6 x-github: githubCloudOnly: false @@ -52083,11 +51585,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 - - &393 + - &391 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52110,7 +51612,7 @@ paths: type: integer artifacts: type: array - items: &379 + items: &377 title: Artifact description: An artifact type: object @@ -52205,7 +51707,7 @@ paths: - expires_at - updated_at examples: - default: &394 + default: &392 value: total_count: 2 artifacts: @@ -52266,9 +51768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *362 - - *363 - - &380 + - *360 + - *361 + - &378 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52280,7 +51782,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *377 examples: default: value: @@ -52318,9 +51820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *362 - - *363 - - *380 + - *360 + - *361 + - *378 responses: '204': description: Response @@ -52344,9 +51846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *362 - - *363 - - *380 + - *360 + - *361 + - *378 - name: archive_format in: path required: true @@ -52360,7 +51862,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': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52383,14 +51885,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *381 + schema: *379 examples: default: value: @@ -52416,11 +51918,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: - - *362 - - *363 + - *360 + - *361 - *17 - *19 - - &382 + - &380 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 @@ -52454,7 +51956,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &381 title: Repository actions caches description: Repository actions caches type: object @@ -52504,7 +52006,7 @@ paths: - total_count - actions_caches examples: - default: &384 + default: &382 value: total_count: 1 actions_caches: @@ -52536,23 +52038,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: - - *362 - - *363 + - *360 + - *361 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *382 + - *380 responses: '200': description: Response content: application/json: - schema: *383 + schema: *381 examples: - default: *384 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52572,8 +52074,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: - - *362 - - *363 + - *360 + - *361 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52604,9 +52106,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: - - *362 - - *363 - - &385 + - *360 + - *361 + - &383 name: job_id description: The unique identifier of the job. in: path @@ -52618,7 +52120,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &395 title: Job description: Information of a job execution in a workflow run type: object @@ -52965,9 +52467,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: - - *362 - - *363 - - *385 + - *360 + - *361 + - *383 responses: '302': description: Response @@ -52995,9 +52497,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: - - *362 - - *363 - - *385 + - *360 + - *361 + - *383 requestBody: required: false content: @@ -53019,7 +52521,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -53043,8 +52545,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Status response @@ -53094,8 +52596,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -53129,7 +52631,7 @@ paths: description: Empty response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -53158,8 +52660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -53177,7 +52679,7 @@ paths: type: integer secrets: type: array - items: &399 + items: &397 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53198,7 +52700,7 @@ paths: - created_at - updated_at examples: - default: &400 + default: &398 value: total_count: 2 secrets: @@ -53231,9 +52733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *362 - - *363 - - *386 + - *360 + - *361 + - *384 - *19 responses: '200': @@ -53250,7 +52752,7 @@ paths: type: integer variables: type: array - items: &403 + items: &401 title: Actions Variable type: object properties: @@ -53284,7 +52786,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &402 value: total_count: 2 variables: @@ -53317,8 +52819,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -53327,11 +52829,11 @@ paths: schema: type: object properties: - enabled: &387 + enabled: &385 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *46 - selected_actions_url: *183 + selected_actions_url: *182 required: - enabled examples: @@ -53360,8 +52862,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -53372,7 +52874,7 @@ paths: schema: type: object properties: - enabled: *387 + enabled: *385 allowed_actions: *46 required: - enabled @@ -53403,14 +52905,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: &388 + schema: &386 type: object properties: access_level: @@ -53428,7 +52930,7 @@ paths: required: - access_level examples: - default: &389 + default: &387 value: access_level: organization x-github: @@ -53453,15 +52955,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: application/json: - schema: *388 + schema: *386 examples: - default: *389 + default: *387 responses: '204': description: Response @@ -53485,8 +52987,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -53517,8 +53019,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -53550,14 +53052,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *186 + schema: *185 examples: default: *52 x-github: @@ -53580,8 +53082,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Success response @@ -53592,7 +53094,7 @@ paths: required: true content: application/json: - schema: *187 + schema: *186 examples: default: *52 x-github: @@ -53621,8 +53123,8 @@ paths: in: query schema: type: string - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -53666,8 +53168,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -53675,9 +53177,9 @@ paths: application/json: schema: type: array - items: *191 + items: *190 examples: - default: *192 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53699,8 +53201,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -53743,7 +53245,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *193 + '201': *192 '404': *6 '422': *7 '409': *92 @@ -53774,8 +53276,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: - - *362 - - *363 + - *360 + - *361 responses: '201': description: Response @@ -53783,7 +53285,7 @@ paths: application/json: schema: *62 examples: - default: *194 + default: *193 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53811,8 +53313,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: - - *362 - - *363 + - *360 + - *361 responses: '201': description: Response @@ -53820,7 +53322,7 @@ paths: application/json: schema: *62 examples: - default: *195 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53842,8 +53344,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: - - *362 - - *363 + - *360 + - *361 - *58 responses: '200': @@ -53852,7 +53354,7 @@ paths: application/json: schema: *59 examples: - default: *196 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53873,8 +53375,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: - - *362 - - *363 + - *360 + - *361 - *58 responses: '204': @@ -53900,8 +53402,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: - - *362 - - *363 + - *360 + - *361 - *58 responses: '200': *64 @@ -53926,8 +53428,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: - - *362 - - *363 + - *360 + - *361 - *58 requestBody: required: true @@ -53976,8 +53478,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: - - *362 - - *363 + - *360 + - *361 - *58 requestBody: required: true @@ -54027,11 +53529,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: - - *362 - - *363 + - *360 + - *361 - *58 responses: - '200': *197 + '200': *196 '404': *6 x-github: githubCloudOnly: false @@ -54058,10 +53560,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: - - *362 - - *363 + - *360 + - *361 - *58 - - *198 + - *197 responses: '200': *64 '404': *6 @@ -54089,9 +53591,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: - - *362 - - *363 - - &407 + - *360 + - *361 + - &405 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. @@ -54099,7 +53601,7 @@ paths: required: false schema: type: string - - &408 + - &406 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54107,7 +53609,7 @@ paths: required: false schema: type: string - - &409 + - &407 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54116,7 +53618,7 @@ paths: required: false schema: type: string - - &410 + - &408 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 @@ -54143,7 +53645,7 @@ paths: - pending - *17 - *19 - - &411 + - &409 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)." @@ -54152,7 +53654,7 @@ paths: schema: type: string format: date-time - - &390 + - &388 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54161,13 +53663,13 @@ paths: schema: type: boolean default: false - - &412 + - &410 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &413 + - &411 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54190,7 +53692,7 @@ paths: type: integer workflow_runs: type: array - items: &391 + items: &389 title: Workflow Run description: An invocation of a workflow type: object @@ -54307,7 +53809,7 @@ paths: type: - array - 'null' - items: &434 + items: &432 title: Pull Request Minimal type: object properties: @@ -54434,7 +53936,7 @@ paths: head_commit: anyOf: - type: 'null' - - &438 + - &436 title: Simple Commit description: A commit. type: object @@ -54508,8 +54010,8 @@ paths: - timestamp - author - committer - repository: *190 - head_repository: *190 + repository: *189 + head_repository: *189 head_repository_id: type: integer examples: @@ -54549,7 +54051,7 @@ paths: - workflow_url - pull_requests examples: - default: &414 + default: &412 value: total_count: 1 workflow_runs: @@ -54785,24 +54287,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *362 - - *363 - - &392 + - *360 + - *361 + - &390 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *390 + - *388 responses: '200': description: Response content: application/json: - schema: *391 + schema: *389 examples: - default: &395 + default: &393 value: id: 30433642 name: Build @@ -55043,9 +54545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '204': description: Response @@ -55068,9 +54570,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '200': description: Response @@ -55198,15 +54700,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '201': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -55233,12 +54735,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 - *17 - *19 - - *393 + - *391 responses: '200': description: Response @@ -55254,9 +54756,9 @@ paths: type: integer artifacts: type: array - items: *379 + items: *377 examples: - default: *394 + default: *392 headers: Link: *37 x-github: @@ -55280,25 +54782,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *362 - - *363 - - *392 - - &396 + - *360 + - *361 + - *390 + - &394 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *390 + - *388 responses: '200': description: Response content: application/json: - schema: *391 + schema: *389 examples: - default: *395 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55321,10 +54823,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: - - *362 - - *363 - - *392 - - *396 + - *360 + - *361 + - *390 + - *394 - *17 - *19 responses: @@ -55342,9 +54844,9 @@ paths: type: integer jobs: type: array - items: *397 + items: *395 examples: - default: &398 + default: &396 value: total_count: 1 jobs: @@ -55457,10 +54959,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *362 - - *363 - - *392 - - *396 + - *360 + - *361 + - *390 + - *394 responses: '302': description: Response @@ -55488,15 +54990,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '202': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -55523,9 +55025,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 requestBody: required: true content: @@ -55592,15 +55094,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '202': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -55627,9 +55129,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 - 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 @@ -55659,9 +55161,9 @@ paths: type: integer jobs: type: array - items: *397 + items: *395 examples: - default: *398 + default: *396 headers: Link: *37 x-github: @@ -55686,9 +55188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '302': description: Response @@ -55715,9 +55217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '204': description: Response @@ -55744,9 +55246,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '200': description: Response @@ -55815,7 +55317,7 @@ paths: items: type: object properties: - type: &509 + type: &507 type: string description: The type of reviewer. enum: @@ -55826,7 +55328,7 @@ paths: reviewer: anyOf: - *4 - - *277 + - *275 required: - environment - wait_timer @@ -55901,9 +55403,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 requestBody: required: true content: @@ -55953,7 +55455,7 @@ paths: application/json: schema: type: array - items: &504 + items: &502 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -56065,7 +55567,7 @@ paths: - created_at - updated_at examples: - default: &505 + default: &503 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56121,9 +55623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 requestBody: required: false content: @@ -56145,7 +55647,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -56168,9 +55670,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 requestBody: required: false content: @@ -56192,7 +55694,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -56225,9 +55727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '200': description: Response @@ -56364,8 +55866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -56383,9 +55885,9 @@ paths: type: integer secrets: type: array - items: *399 + items: *397 examples: - default: *400 + default: *398 headers: Link: *37 x-github: @@ -56410,16 +55912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *401 + schema: *399 examples: - default: *402 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56441,17 +55943,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '200': description: Response content: application/json: - schema: *399 + schema: *397 examples: - default: &522 + default: &520 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56477,9 +55979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 requestBody: required: true content: @@ -56510,7 +56012,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -56536,9 +56038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '204': description: Response @@ -56563,9 +56065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *362 - - *363 - - *386 + - *360 + - *361 + - *384 - *19 responses: '200': @@ -56582,9 +56084,9 @@ paths: type: integer variables: type: array - items: *403 + items: *401 examples: - default: *404 + default: *402 headers: Link: *37 x-github: @@ -56607,8 +56109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -56635,7 +56137,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -56660,17 +56162,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *362 - - *363 - - *203 + - *360 + - *361 + - *202 responses: '200': description: Response content: application/json: - schema: *403 + schema: *401 examples: - default: &523 + default: &521 value: name: USERNAME value: octocat @@ -56696,9 +56198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *362 - - *363 - - *203 + - *360 + - *361 + - *202 requestBody: required: true content: @@ -56740,9 +56242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *362 - - *363 - - *203 + - *360 + - *361 + - *202 responses: '204': description: Response @@ -56767,8 +56269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -56786,7 +56288,7 @@ paths: type: integer workflows: type: array - items: &405 + items: &403 title: Workflow description: A GitHub Actions workflow type: object @@ -56904,9 +56406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *362 - - *363 - - &406 + - *360 + - *361 + - &404 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56921,7 +56423,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *403 examples: default: value: @@ -56954,9 +56456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *362 - - *363 - - *406 + - *360 + - *361 + - *404 responses: '204': description: Response @@ -56981,9 +56483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *362 - - *363 - - *406 + - *360 + - *361 + - *404 responses: '204': description: Response @@ -57034,9 +56536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *362 - - *363 - - *406 + - *360 + - *361 + - *404 responses: '204': description: Response @@ -57063,19 +56565,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: - - *362 - - *363 + - *360 + - *361 + - *404 + - *405 - *406 - *407 - *408 - - *409 - - *410 - *17 - *19 + - *409 + - *388 + - *410 - *411 - - *390 - - *412 - - *413 responses: '200': description: Response @@ -57091,9 +56593,9 @@ paths: type: integer workflow_runs: type: array - items: *391 + items: *389 examples: - default: *414 + default: *412 headers: Link: *37 x-github: @@ -57126,9 +56628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *362 - - *363 - - *406 + - *360 + - *361 + - *404 responses: '200': description: Response @@ -57189,8 +56691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *362 - - *363 + - *360 + - *361 - *84 - *17 - *82 @@ -57358,8 +56860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -57371,7 +56873,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '404': *6 @@ -57396,8 +56898,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: - - *362 - - *363 + - *360 + - *361 - name: assignee in: path required: true @@ -57433,8 +56935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -57546,8 +57048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *82 - *83 @@ -57601,7 +57103,7 @@ paths: bundle_url: type: string examples: - default: *415 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57621,8 +57123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -57630,7 +57132,7 @@ paths: application/json: schema: type: array - items: &416 + items: &414 title: Autolink reference description: An autolink reference. type: object @@ -57684,8 +57186,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -57724,9 +57226,9 @@ paths: description: response content: application/json: - schema: *416 + schema: *414 examples: - default: &417 + default: &415 value: id: 1 key_prefix: TICKET- @@ -57757,9 +57259,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: - - *362 - - *363 - - &418 + - *360 + - *361 + - &416 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57771,9 +57273,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 '404': *6 x-github: githubCloudOnly: false @@ -57793,9 +57295,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: - - *362 - - *363 - - *418 + - *360 + - *361 + - *416 responses: '204': description: Response @@ -57819,8 +57321,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response if Dependabot is enabled @@ -57870,8 +57372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -57892,8 +57394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -57913,8 +57415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *362 - - *363 + - *360 + - *361 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57952,7 +57454,7 @@ paths: - url protected: type: boolean - protection: &420 + protection: &418 title: Branch Protection description: Branch Protection type: object @@ -57995,7 +57497,7 @@ paths: required: - contexts - checks - enforce_admins: &423 + enforce_admins: &421 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58012,7 +57514,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &425 + required_pull_request_reviews: &423 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58034,7 +57536,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *277 + items: *275 apps: description: The list of apps with review dismissal access. @@ -58066,7 +57568,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *277 + items: *275 apps: description: The list of apps allowed to bypass pull request requirements. @@ -58096,7 +57598,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &422 + restrictions: &420 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58421,9 +57923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *362 - - *363 - - &421 + - *360 + - *361 + - &419 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). @@ -58437,14 +57939,14 @@ paths: description: Response content: application/json: - schema: &431 + schema: &429 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &480 + commit: &478 title: Commit description: Commit type: object @@ -58483,7 +57985,7 @@ paths: author: anyOf: - type: 'null' - - &419 + - &417 title: Git User description: Metaproperties for Git author/committer information. @@ -58504,7 +58006,7 @@ paths: committer: anyOf: - type: 'null' - - *419 + - *417 message: type: string examples: @@ -58528,7 +58030,7 @@ paths: required: - sha - url - verification: &529 + verification: &527 title: Verification type: object properties: @@ -58564,14 +58066,14 @@ paths: author: oneOf: - *4 - - *201 + - *200 type: - 'null' - object committer: oneOf: - *4 - - *201 + - *200 type: - 'null' - object @@ -58608,7 +58110,7 @@ paths: type: integer files: type: array - items: &492 + items: &490 title: Diff Entry description: Diff Entry type: object @@ -58702,7 +58204,7 @@ paths: - self protected: type: boolean - protection: *420 + protection: *418 protection_url: type: string format: uri @@ -58811,7 +58313,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *376 + '301': *374 '404': *6 x-github: githubCloudOnly: false @@ -58833,15 +58335,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *420 + schema: *418 examples: default: value: @@ -59035,9 +58537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -59297,7 +58799,7 @@ paths: url: type: string format: uri - required_status_checks: &428 + required_status_checks: &426 title: Status Check Policy description: Status Check Policy type: object @@ -59378,7 +58880,7 @@ paths: items: *4 teams: type: array - items: *277 + items: *275 apps: type: array items: *5 @@ -59396,7 +58898,7 @@ paths: items: *4 teams: type: array - items: *277 + items: *275 apps: type: array items: *5 @@ -59456,7 +58958,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *422 + restrictions: *420 required_conversation_resolution: type: object properties: @@ -59568,9 +59070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -59595,17 +59097,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: &424 + default: &422 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59627,17 +59129,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: *424 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59656,9 +59158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -59683,17 +59185,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *425 + schema: *423 examples: - default: &426 + default: &424 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59789,9 +59291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -59889,9 +59391,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *423 examples: - default: *426 + default: *424 '422': *15 x-github: githubCloudOnly: false @@ -59912,9 +59414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -59941,17 +59443,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: &427 + default: &425 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59974,17 +59476,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: *427 + default: *425 '404': *6 x-github: githubCloudOnly: false @@ -60004,9 +59506,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -60031,17 +59533,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: &429 + default: &427 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60067,9 +59569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60121,9 +59623,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: *429 + default: *427 '404': *6 '422': *15 x-github: @@ -60145,9 +59647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -60171,9 +59673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response @@ -60207,9 +59709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60276,9 +59778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60342,9 +59844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: content: application/json: @@ -60410,15 +59912,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *422 + schema: *420 examples: default: value: @@ -60509,9 +60011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -60534,9 +60036,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: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response @@ -60546,7 +60048,7 @@ paths: type: array items: *5 examples: - default: &430 + default: &428 value: - id: 1 slug: octoapp @@ -60603,9 +60105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -60639,7 +60141,7 @@ paths: type: array items: *5 examples: - default: *430 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -60660,9 +60162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -60696,7 +60198,7 @@ paths: type: array items: *5 examples: - default: *430 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -60717,9 +60219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -60753,7 +60255,7 @@ paths: type: array items: *5 examples: - default: *430 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -60775,9 +60277,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: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response @@ -60785,9 +60287,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 '404': *6 x-github: githubCloudOnly: false @@ -60807,9 +60309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60845,9 +60347,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 '422': *15 x-github: githubCloudOnly: false @@ -60868,9 +60370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60906,9 +60408,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 '422': *15 x-github: githubCloudOnly: false @@ -60929,9 +60431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: content: application/json: @@ -60966,9 +60468,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 '422': *15 x-github: githubCloudOnly: false @@ -60990,9 +60492,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: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response @@ -61002,7 +60504,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '404': *6 x-github: githubCloudOnly: false @@ -61026,9 +60528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -61061,7 +60563,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '422': *15 x-github: githubCloudOnly: false @@ -61086,9 +60588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -61121,7 +60623,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '422': *15 x-github: githubCloudOnly: false @@ -61146,9 +60648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -61181,7 +60683,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '422': *15 x-github: githubCloudOnly: false @@ -61208,9 +60710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -61232,7 +60734,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *429 examples: default: value: @@ -61346,12 +60848,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *362 - - *363 + - *360 + - *361 + - *212 - *213 - *214 - *215 - - *216 - *17 - *19 responses: @@ -61361,9 +60863,9 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: - default: *218 + default: *217 '404': *6 '500': *95 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -61383,8 +60885,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *362 - - *363 + - *360 + - *361 - name: bypass_request_number in: path required: true @@ -61398,7 +60900,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *216 examples: default: value: @@ -61457,12 +60959,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *362 - - *363 + - *360 + - *361 + - *212 - *213 - *214 - *215 - - *216 - *17 - *19 responses: @@ -61472,9 +60974,9 @@ paths: application/json: schema: type: array - items: *432 + items: *430 examples: - default: *433 + default: *431 '404': *6 '403': *27 '500': *95 @@ -61498,8 +61000,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *362 - - *363 + - *360 + - *361 - name: bypass_request_number in: path required: true @@ -61511,7 +61013,7 @@ paths: description: A single bypass request. content: application/json: - schema: *432 + schema: *430 examples: default: value: @@ -61569,8 +61071,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *362 - - *363 + - *360 + - *361 - name: bypass_request_number in: path required: true @@ -61641,8 +61143,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *362 - - *363 + - *360 + - *361 - name: bypass_response_id in: path required: true @@ -61675,8 +61177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -61955,7 +61457,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &433 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62090,8 +61592,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *434 - deployment: &743 + items: *432 + deployment: &741 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62378,9 +61880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *362 - - *363 - - &436 + - *360 + - *361 + - &434 name: check_run_id description: The unique identifier of the check run. in: path @@ -62392,9 +61894,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: &437 + default: &435 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62494,9 +61996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *362 - - *363 - - *436 + - *360 + - *361 + - *434 requestBody: required: true content: @@ -62736,9 +62238,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *437 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62758,9 +62260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *362 - - *363 - - *436 + - *360 + - *361 + - *434 - *17 - *19 responses: @@ -62872,15 +62374,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *362 - - *363 - - *436 + - *360 + - *361 + - *434 responses: '201': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -62918,8 +62420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -62941,7 +62443,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &439 + schema: &437 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63023,12 +62525,12 @@ paths: type: - array - 'null' - items: *434 + items: *432 app: anyOf: - type: 'null' - *5 - repository: *190 + repository: *189 created_at: type: - string @@ -63039,7 +62541,7 @@ paths: - string - 'null' format: date-time - head_commit: *438 + head_commit: *436 latest_check_runs_count: type: integer check_runs_url: @@ -63067,7 +62569,7 @@ paths: - check_runs_url - pull_requests examples: - default: &440 + default: &438 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63358,9 +62860,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *439 + schema: *437 examples: - default: *440 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63379,8 +62881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -63441,7 +62943,7 @@ paths: required: - app_id - setting - repository: *190 + repository: *189 examples: default: value: @@ -63689,9 +63191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *362 - - *363 - - &441 + - *360 + - *361 + - &439 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63703,9 +63205,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *437 examples: - default: *440 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63728,17 +63230,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: - - *362 - - *363 - - *441 - - &487 + - *360 + - *361 + - *439 + - &485 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &488 + - &486 name: status description: Returns check runs with the specified `status`. in: query @@ -63777,9 +63279,9 @@ paths: type: integer check_runs: type: array - items: *435 + items: *433 examples: - default: &489 + default: &487 value: total_count: 1 check_runs: @@ -63881,15 +63383,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *362 - - *363 - - *441 + - *360 + - *361 + - *439 responses: '201': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -63916,21 +63418,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: - - *362 - - *363 + - *360 + - *361 + - *220 - *221 - - *222 - *19 - *17 - - &457 + - &455 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: *442 - - &458 + schema: *440 + - &456 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63955,13 +63457,13 @@ paths: be returned. in: query required: false - schema: *223 + schema: *222 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *443 + schema: *441 responses: '200': description: Response @@ -63977,7 +63479,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *444 + instances_url: *442 state: *87 fixed_at: *106 dismissed_by: @@ -63985,11 +63487,11 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *445 - dismissed_comment: *446 - rule: *447 - tool: *448 - most_recent_instance: *449 + dismissed_reason: *443 + dismissed_comment: *444 + rule: *445 + tool: *446 + most_recent_instance: *447 dismissal_approved_by: anyOf: - type: 'null' @@ -64109,7 +63611,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &450 + '403': &448 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -64136,9 +63638,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: - - *362 - - *363 - - &451 + - *360 + - *361 + - &449 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64152,7 +63654,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &450 type: object properties: number: *96 @@ -64160,7 +63662,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *444 + instances_url: *442 state: *87 fixed_at: *106 dismissed_by: @@ -64168,8 +63670,8 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *445 - dismissed_comment: *446 + dismissed_reason: *443 + dismissed_comment: *444 rule: type: object properties: @@ -64231,8 +63733,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *448 - most_recent_instance: *449 + tool: *446 + most_recent_instance: *447 dismissal_approved_by: anyOf: - type: 'null' @@ -64325,7 +63827,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -64345,9 +63847,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 requestBody: required: true content: @@ -64362,8 +63864,8 @@ paths: enum: - open - dismissed - dismissed_reason: *445 - dismissed_comment: *446 + dismissed_reason: *443 + dismissed_comment: *444 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64382,7 +63884,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *450 examples: default: value: @@ -64458,7 +63960,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &456 + '403': &454 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -64485,15 +63987,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 responses: '200': description: Response content: application/json: - schema: &453 + schema: &451 type: object properties: status: @@ -64520,13 +64022,13 @@ paths: - description - started_at examples: - default: &454 + default: &452 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &455 + '400': &453 description: Bad Request content: application/json: @@ -64537,7 +64039,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': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -64562,29 +64064,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 responses: '200': description: OK content: application/json: - schema: *453 + schema: *451 examples: - default: *454 + default: *452 '202': description: Accepted content: application/json: - schema: *453 + schema: *451 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *455 + '400': *453 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64616,9 +64118,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 requestBody: required: false content: @@ -64664,8 +64166,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *455 - '403': *456 + '400': *453 + '403': *454 '404': *6 '422': description: Unprocessable Entity @@ -64689,13 +64191,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 - *19 - *17 - - *457 - - *458 + - *455 + - *456 responses: '200': description: Response @@ -64703,7 +64205,7 @@ paths: application/json: schema: type: array - items: *449 + items: *447 examples: default: value: @@ -64742,7 +64244,7 @@ paths: end_column: 50 classifications: - source - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -64776,25 +64278,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: - - *362 - - *363 + - *360 + - *361 + - *220 - *221 - - *222 - *19 - *17 - - *458 + - *456 - 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: *442 + schema: *440 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &461 + schema: &459 type: string description: An identifier for the upload. examples: @@ -64816,23 +64318,23 @@ paths: application/json: schema: type: array - items: &462 + items: &460 type: object properties: - ref: *442 - commit_sha: &470 + ref: *440 + commit_sha: &468 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: *459 + analysis_key: *457 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *460 + category: *458 error: type: string examples: @@ -64857,8 +64359,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *461 - tool: *448 + sarif_id: *459 + tool: *446 deletable: type: boolean warning: @@ -64920,7 +64422,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -64956,8 +64458,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: - - *362 - - *363 + - *360 + - *361 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64970,7 +64472,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: response: summary: application/json response @@ -65024,7 +64526,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -65106,8 +64608,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: - - *362 - - *363 + - *360 + - *361 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65163,7 +64665,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': *456 + '403': *454 '404': *6 '503': *128 x-github: @@ -65185,8 +64687,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -65194,7 +64696,7 @@ paths: application/json: schema: type: array - items: &463 + items: &461 title: CodeQL Database description: A CodeQL database. type: object @@ -65306,7 +64808,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': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -65335,8 +64837,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: - - *362 - - *363 + - *360 + - *361 - name: language in: path description: The language of the CodeQL database. @@ -65348,7 +64850,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *461 examples: default: value: @@ -65380,9 +64882,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': &494 + '302': &492 description: Found - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -65404,8 +64906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *362 - - *363 + - *360 + - *361 - name: language in: path description: The language of the CodeQL database. @@ -65415,7 +64917,7 @@ paths: responses: '204': description: Response - '403': *456 + '403': *454 '404': *6 '503': *128 x-github: @@ -65443,8 +64945,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -65453,7 +64955,7 @@ paths: type: object additionalProperties: false properties: - language: &464 + language: &462 type: string description: The language targeted by the CodeQL query enum: @@ -65531,7 +65033,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &468 + schema: &466 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65541,7 +65043,7 @@ paths: description: The ID of the variant analysis. controller_repo: *94 actor: *4 - query_language: *464 + query_language: *462 query_pack_url: type: string description: The download url for the query pack. @@ -65589,7 +65091,7 @@ paths: items: type: object properties: - repository: &465 + repository: &463 title: Repository Identifier description: Repository Identifier type: object @@ -65631,7 +65133,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &469 + analysis_status: &467 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65663,7 +65165,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &466 + access_mismatch_repos: &464 type: object properties: repository_count: @@ -65678,7 +65180,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: *465 + items: *463 required: - repository_count - repositories @@ -65701,8 +65203,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *466 - over_limit_repos: *466 + no_codeql_db_repos: *464 + over_limit_repos: *464 required: - access_mismatch_repos - not_found_repos @@ -65718,7 +65220,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &467 + value: &465 summary: Default response value: id: 1 @@ -65870,10 +65372,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *467 + value: *465 repository_lists: summary: Response for a successful variant analysis submission - value: *467 + value: *465 '404': *6 '422': description: Unable to process variant analysis submission @@ -65901,8 +65403,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: - - *362 - - *363 + - *360 + - *361 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65914,9 +65416,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *466 examples: - default: *467 + default: *465 '404': *6 '503': *128 x-github: @@ -65939,7 +65441,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: - - *362 + - *360 - name: repo in: path description: The name of the controller repository. @@ -65974,7 +65476,7 @@ paths: type: object properties: repository: *94 - analysis_status: *469 + analysis_status: *467 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66099,8 +65601,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -66182,7 +65684,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -66203,8 +65705,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -66263,7 +65765,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -66288,7 +65790,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *456 + '403': *454 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66353,8 +65855,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -66362,7 +65864,7 @@ paths: schema: type: object properties: - commit_sha: *470 + commit_sha: *468 ref: type: string description: |- @@ -66422,7 +65924,7 @@ paths: schema: type: object properties: - id: *461 + id: *459 url: type: string description: The REST API URL for checking the status of the upload. @@ -66436,7 +65938,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': *456 + '403': *454 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -66459,8 +65961,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: - - *362 - - *363 + - *360 + - *361 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66508,7 +66010,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': *450 + '403': *448 '404': description: Not Found if the sarif id does not match any upload '503': *128 @@ -66533,8 +66035,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -66615,8 +66117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *362 - - *363 + - *360 + - *361 - 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 @@ -66744,8 +66246,8 @@ paths: parameters: - *17 - *19 - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -66761,7 +66263,7 @@ paths: type: integer codespaces: type: array - items: *284 + items: *282 examples: default: value: @@ -67059,8 +66561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -67124,17 +66626,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '400': *14 '401': *23 '403': *27 @@ -67163,8 +66665,8 @@ paths: parameters: - *17 - *19 - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -67228,8 +66730,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: - - *362 - - *363 + - *360 + - *361 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67266,9 +66768,9 @@ paths: type: integer machines: type: array - items: *472 + items: *470 examples: - default: &700 + default: &698 value: total_count: 2 machines: @@ -67308,8 +66810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *362 - - *363 + - *360 + - *361 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67396,8 +66898,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: - - *362 - - *363 + - *360 + - *361 - 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 @@ -67466,8 +66968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -67485,7 +66987,7 @@ paths: type: integer secrets: type: array - items: &476 + items: &474 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67506,7 +67008,7 @@ paths: - created_at - updated_at examples: - default: *473 + default: *471 headers: Link: *37 x-github: @@ -67529,16 +67031,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *474 + schema: *472 examples: - default: *475 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67558,17 +67060,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '200': description: Response content: application/json: - schema: *476 + schema: *474 examples: - default: *477 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67588,9 +67090,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: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 requestBody: required: true content: @@ -67618,7 +67120,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -67642,9 +67144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '204': description: Response @@ -67672,8 +67174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *362 - - *363 + - *360 + - *361 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67711,7 +67213,7 @@ paths: application/json: schema: type: array - items: &478 + items: &476 title: Collaborator description: Collaborator type: object @@ -67904,9 +67406,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: - - *362 - - *363 - - *212 + - *360 + - *361 + - *211 responses: '204': description: Response if user is a collaborator @@ -67948,9 +67450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *362 - - *363 - - *212 + - *360 + - *361 + - *211 requestBody: required: false content: @@ -67976,7 +67478,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &542 + schema: &540 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67988,7 +67490,7 @@ paths: format: int64 examples: - 42 - repository: *190 + repository: *189 invitee: anyOf: - type: 'null' @@ -68197,9 +67699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *362 - - *363 - - *212 + - *360 + - *361 + - *211 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68228,9 +67730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *362 - - *363 - - *212 + - *360 + - *361 + - *211 responses: '200': description: if user has admin permissions @@ -68250,7 +67752,7 @@ paths: user: anyOf: - type: 'null' - - *478 + - *476 required: - permission - role_name @@ -68304,8 +67806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -68315,7 +67817,7 @@ paths: application/json: schema: type: array - items: &479 + items: &477 title: Commit Comment description: Commit Comment type: object @@ -68356,8 +67858,8 @@ paths: updated_at: type: string format: date-time - author_association: *135 - reactions: *136 + author_association: *134 + reactions: *135 required: - url - html_url @@ -68373,7 +67875,7 @@ paths: - created_at - updated_at examples: - default: &482 + default: &480 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68432,17 +67934,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '200': description: Response content: application/json: - schema: *479 + schema: *477 examples: - default: &483 + default: &481 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68499,9 +68001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -68523,7 +68025,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *477 examples: default: value: @@ -68574,9 +68076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '204': description: Response @@ -68597,9 +68099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 - 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. @@ -68625,9 +68127,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 @@ -68648,9 +68150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -68682,16 +68184,16 @@ paths: description: Reaction exists content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Reaction created content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -68713,10 +68215,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *362 - - *363 - - *147 - - *354 + - *360 + - *361 + - *146 + - *352 responses: '204': description: Response @@ -68765,8 +68267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *362 - - *363 + - *360 + - *361 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68822,9 +68324,9 @@ paths: application/json: schema: type: array - items: *480 + items: *478 examples: - default: &590 + default: &588 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68918,9 +68420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *362 - - *363 - - &481 + - *360 + - *361 + - &479 name: commit_sha description: The SHA of the commit. in: path @@ -68992,9 +68494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *362 - - *363 - - *481 + - *360 + - *361 + - *479 - *17 - *19 responses: @@ -69004,9 +68506,9 @@ paths: application/json: schema: type: array - items: *479 + items: *477 examples: - default: *482 + default: *480 headers: Link: *37 x-github: @@ -69034,9 +68536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *362 - - *363 - - *481 + - *360 + - *361 + - *479 requestBody: required: true content: @@ -69071,9 +68573,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *477 examples: - default: *483 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69091,7 +68593,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: @@ -69101,9 +68603,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: - - *362 - - *363 - - *481 + - *360 + - *361 + - *479 - *17 - *19 responses: @@ -69113,7 +68615,7 @@ paths: application/json: schema: type: array - items: &581 + items: &579 title: Pull Request Simple description: Pull Request Simple type: object @@ -69233,7 +68735,7 @@ paths: milestone: anyOf: - type: 'null' - - *484 + - *482 active_lock_reason: type: - string @@ -69288,7 +68790,7 @@ paths: type: - array - 'null' - items: *277 + items: *275 head: type: object properties: @@ -69332,7 +68834,7 @@ paths: _links: type: object properties: - comments: &485 + comments: &483 title: Link description: Hypermedia Link type: object @@ -69341,13 +68843,13 @@ paths: type: string required: - href - commits: *485 - statuses: *485 - html: *485 - issue: *485 - review_comments: *485 - review_comment: *485 - self: *485 + commits: *483 + statuses: *483 + html: *483 + issue: *483 + review_comments: *483 + review_comment: *483 + self: *483 required: - comments - commits @@ -69357,8 +68859,8 @@ paths: - review_comments - review_comment - self - author_association: *135 - auto_merge: &583 + author_association: *134 + auto_merge: &581 title: Auto merge description: The status of auto merging a pull request. type: @@ -69423,7 +68925,7 @@ paths: - author_association - auto_merge examples: - default: &582 + default: &580 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69960,11 +69462,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *362 - - *363 + - *360 + - *361 - *19 - *17 - - &486 + - &484 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)" @@ -69979,9 +69481,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *478 examples: - default: &569 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70094,11 +69596,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: - - *362 - - *363 + - *360 + - *361 + - *484 + - *485 - *486 - - *487 - - *488 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70132,9 +69634,9 @@ paths: type: integer check_runs: type: array - items: *435 + items: *433 examples: - default: *489 + default: *487 headers: Link: *37 x-github: @@ -70159,9 +69661,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: - - *362 - - *363 - - *486 + - *360 + - *361 + - *484 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70169,7 +69671,7 @@ paths: schema: type: integer example: 1 - - *487 + - *485 - *17 - *19 responses: @@ -70187,7 +69689,7 @@ paths: type: integer check_suites: type: array - items: *439 + items: *437 examples: default: value: @@ -70387,9 +69889,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: - - *362 - - *363 - - *486 + - *360 + - *361 + - *484 - *17 - *19 responses: @@ -70460,7 +69962,7 @@ paths: type: string total_count: type: integer - repository: *190 + repository: *189 commit_url: type: string format: uri @@ -70591,9 +70093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *362 - - *363 - - *486 + - *360 + - *361 + - *484 - *17 - *19 responses: @@ -70603,7 +70105,7 @@ paths: application/json: schema: type: array - items: &648 + items: &646 title: Status description: The status of a commit. type: object @@ -70684,7 +70186,7 @@ paths: site_admin: false headers: Link: *37 - '301': *376 + '301': *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70712,8 +70214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -70746,11 +70248,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *490 + - *488 code_of_conduct_file: anyOf: - type: 'null' - - &491 + - &489 title: Community Health File type: object properties: @@ -70766,23 +70268,23 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 contributing: anyOf: - type: 'null' - - *491 + - *489 readme: anyOf: - type: 'null' - - *491 + - *489 issue_template: anyOf: - type: 'null' - - *491 + - *489 pull_request_template: anyOf: - type: 'null' - - *491 + - *489 required: - code_of_conduct - code_of_conduct_file @@ -70911,8 +70413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *362 - - *363 + - *360 + - *361 - *19 - *17 - name: basehead @@ -70960,8 +70462,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *480 - merge_base_commit: *480 + base_commit: *478 + merge_base_commit: *478 status: type: string enum: @@ -70985,10 +70487,10 @@ paths: - 6 commits: type: array - items: *480 + items: *478 files: type: array - items: *492 + items: *490 required: - url - html_url @@ -71274,8 +70776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *362 - - *363 + - *360 + - *361 - name: path description: path parameter in: path @@ -71426,7 +70928,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &493 + response-if-content-is-a-file: &491 summary: Response if content is a file value: type: file @@ -71563,7 +71065,7 @@ paths: - size - type - url - - &595 + - &593 title: Content File description: Content File type: object @@ -71781,7 +71283,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *493 + response-if-content-is-a-file: *491 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71850,7 +71352,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *494 + '302': *492 '304': *35 x-github: githubCloudOnly: false @@ -71873,8 +71375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *362 - - *363 + - *360 + - *361 - name: path description: path parameter in: path @@ -71969,7 +71471,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &493 title: File Commit description: File Commit type: object @@ -72125,7 +71627,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: example-for-creating-a-file: value: @@ -72179,7 +71681,7 @@ paths: schema: oneOf: - *3 - - &524 + - &522 description: Repository rule violation was detected type: object properties: @@ -72200,7 +71702,7 @@ paths: items: type: object properties: - placeholder_id: &640 + placeholder_id: &638 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72232,8 +71734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *362 - - *363 + - *360 + - *361 - name: path description: path parameter in: path @@ -72294,7 +71796,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: default: value: @@ -72349,8 +71851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *362 - - *363 + - *360 + - *361 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72474,21 +71976,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 + - *238 + - *239 - *240 - *241 - - *242 - - *243 - 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 + - *242 + - *243 - *244 - - *245 - - *246 - *84 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -72508,8 +72010,8 @@ paths: default: 30 - *82 - *83 - - *247 - - *248 + - *245 + - *246 responses: '200': description: Response @@ -72517,7 +72019,7 @@ paths: application/json: schema: type: array - items: &498 + items: &496 type: object description: A Dependabot alert. properties: @@ -72567,7 +72069,7 @@ paths: - direct - transitive - - security_advisory: *496 + security_advisory: *494 security_vulnerability: *100 url: *101 html_url: *102 @@ -72598,7 +72100,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: *497 + auto_dismissed_at: *495 required: - number - state @@ -72828,9 +72330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *362 - - *363 - - &499 + - *360 + - *361 + - &497 name: alert_number in: path description: |- @@ -72845,7 +72347,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *496 examples: default: value: @@ -72958,9 +72460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *362 - - *363 - - *499 + - *360 + - *361 + - *497 requestBody: required: true content: @@ -73005,7 +72507,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *496 examples: default: value: @@ -73134,8 +72636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -73153,7 +72655,7 @@ paths: type: integer secrets: type: array - items: &502 + items: &500 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73207,16 +72709,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *500 + schema: *498 examples: - default: *501 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73236,15 +72738,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '200': description: Response content: application/json: - schema: *502 + schema: *500 examples: default: value: @@ -73270,9 +72772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 requestBody: required: true content: @@ -73300,7 +72802,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -73324,9 +72826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '204': description: Response @@ -73348,8 +72850,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: - - *362 - - *363 + - *360 + - *361 - 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 @@ -73523,8 +73025,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -73784,8 +73286,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -73868,7 +73370,7 @@ paths: - version - url additionalProperties: false - metadata: &503 + metadata: &501 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73907,7 +73409,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *503 + metadata: *501 resolved: type: object description: A collection of resolved package dependencies. @@ -73921,7 +73423,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *503 + metadata: *501 relationship: type: string description: A notation of whether a dependency is requested @@ -74054,8 +73556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *362 - - *363 + - *360 + - *361 - name: sha description: The SHA recorded at creation time. in: query @@ -74096,9 +73598,9 @@ paths: application/json: schema: type: array - items: *504 + items: *502 examples: - default: *505 + default: *503 headers: Link: *37 x-github: @@ -74164,8 +73666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -74247,7 +73749,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: simple-example: summary: Simple example @@ -74320,9 +73822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *362 - - *363 - - &506 + - *360 + - *361 + - &504 name: deployment_id description: deployment_id parameter in: path @@ -74334,7 +73836,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: default: value: @@ -74399,9 +73901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *362 - - *363 - - *506 + - *360 + - *361 + - *504 responses: '204': description: Response @@ -74423,9 +73925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *362 - - *363 - - *506 + - *360 + - *361 + - *504 - *17 - *19 responses: @@ -74435,7 +73937,7 @@ paths: application/json: schema: type: array - items: &507 + items: &505 title: Deployment Status description: The status of a deployment. type: object @@ -74599,9 +74101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *362 - - *363 - - *506 + - *360 + - *361 + - *504 requestBody: required: true content: @@ -74676,9 +74178,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *505 examples: - default: &508 + default: &506 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74734,9 +74236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *362 - - *363 - - *506 + - *360 + - *361 + - *504 - name: status_id in: path required: true @@ -74747,9 +74249,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *505 examples: - default: *508 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -74774,8 +74276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -74832,8 +74334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -74851,7 +74353,7 @@ paths: - 5 environments: type: array - items: &510 + items: &508 title: Environment description: Details of a deployment environment type: object @@ -74913,7 +74415,7 @@ paths: type: string examples: - wait_timer - wait_timer: &512 + wait_timer: &510 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -74955,11 +74457,11 @@ paths: items: type: object properties: - type: *509 + type: *507 reviewer: anyOf: - *4 - - *277 + - *275 required: - id - node_id @@ -74982,7 +74484,7 @@ paths: - id - node_id - type - deployment_branch_policy: &513 + deployment_branch_policy: &511 type: - object - 'null' @@ -75099,9 +74601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *362 - - *363 - - &511 + - *360 + - *361 + - &509 name: environment_name in: path required: true @@ -75114,9 +74616,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: &514 + default: &512 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75200,9 +74702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 requestBody: required: false content: @@ -75212,7 +74714,7 @@ paths: - object - 'null' properties: - wait_timer: *512 + wait_timer: *510 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -75231,14 +74733,14 @@ paths: items: type: object properties: - type: *509 + type: *507 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *513 + deployment_branch_policy: *511 additionalProperties: false examples: default: @@ -75258,9 +74760,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: *514 + default: *512 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75284,9 +74786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 responses: '204': description: Default response @@ -75311,9 +74813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 - *17 - *19 responses: @@ -75332,7 +74834,7 @@ paths: - 2 branch_policies: type: array - items: &515 + items: &513 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75393,9 +74895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 requestBody: required: true content: @@ -75443,9 +74945,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *513 examples: - example-wildcard: &516 + example-wildcard: &514 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75487,10 +74989,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *362 - - *363 - - *511 - - &517 + - *360 + - *361 + - *509 + - &515 name: branch_policy_id in: path required: true @@ -75502,9 +75004,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *513 examples: - default: *516 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75523,10 +75025,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *362 - - *363 - - *511 - - *517 + - *360 + - *361 + - *509 + - *515 requestBody: required: true content: @@ -75555,9 +75057,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *513 examples: - default: *516 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75576,10 +75078,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *362 - - *363 - - *511 - - *517 + - *360 + - *361 + - *509 + - *515 responses: '204': description: Response @@ -75604,9 +75106,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: - - *511 - - *363 - - *362 + - *509 + - *361 + - *360 responses: '200': description: List of deployment protection rules @@ -75623,7 +75125,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &518 + items: &516 title: Deployment protection rule description: Deployment protection rule type: object @@ -75645,7 +75147,7 @@ paths: for the environment. examples: - true - app: &519 + app: &517 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75748,9 +75250,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: - - *511 - - *363 - - *362 + - *509 + - *361 + - *360 requestBody: content: application/json: @@ -75771,9 +75273,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *518 + schema: *516 examples: - default: &520 + default: &518 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75808,9 +75310,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: - - *511 - - *363 - - *362 + - *509 + - *361 + - *360 - *19 - *17 responses: @@ -75830,7 +75332,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *519 + items: *517 examples: default: value: @@ -75865,10 +75367,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: - - *362 - - *363 - - *511 - - &521 + - *360 + - *361 + - *509 + - &519 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75880,9 +75382,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *516 examples: - default: *520 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75903,10 +75405,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: - - *511 - - *363 - - *362 - - *521 + - *509 + - *361 + - *360 + - *519 responses: '204': description: Response @@ -75932,9 +75434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 - *17 - *19 responses: @@ -75952,9 +75454,9 @@ paths: type: integer secrets: type: array - items: *399 + items: *397 examples: - default: *400 + default: *398 headers: Link: *37 x-github: @@ -75979,17 +75481,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 responses: '200': description: Response content: application/json: - schema: *401 + schema: *399 examples: - default: *402 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76011,18 +75513,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *362 - - *363 - - *511 - - *200 + - *360 + - *361 + - *509 + - *199 responses: '200': description: Response content: application/json: - schema: *399 + schema: *397 examples: - default: *522 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76044,10 +75546,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *362 - - *363 - - *511 - - *200 + - *360 + - *361 + - *509 + - *199 requestBody: required: true content: @@ -76078,7 +75580,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -76104,10 +75606,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *362 - - *363 - - *511 - - *200 + - *360 + - *361 + - *509 + - *199 responses: '204': description: Default response @@ -76132,10 +75634,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *362 - - *363 - - *511 - - *386 + - *360 + - *361 + - *509 + - *384 - *19 responses: '200': @@ -76152,9 +75654,9 @@ paths: type: integer variables: type: array - items: *403 + items: *401 examples: - default: *404 + default: *402 headers: Link: *37 x-github: @@ -76177,9 +75679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 requestBody: required: true content: @@ -76206,7 +75708,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -76231,18 +75733,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *362 - - *363 - - *511 - - *203 + - *360 + - *361 + - *509 + - *202 responses: '200': description: Response content: application/json: - schema: *403 + schema: *401 examples: - default: *523 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76263,10 +75765,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *362 - - *363 - - *203 - - *511 + - *360 + - *361 + - *202 + - *509 requestBody: required: true content: @@ -76308,10 +75810,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *362 - - *363 - - *203 - - *511 + - *360 + - *361 + - *202 + - *509 responses: '204': description: Response @@ -76333,8 +75835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -76344,7 +75846,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: 200-response: value: @@ -76411,8 +75913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *362 - - *363 + - *360 + - *361 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76434,7 +75936,7 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: default: value: @@ -76571,8 +76073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -76605,9 +76107,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 + default: *375 '400': *14 '422': *15 '403': *27 @@ -76628,8 +76130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -76688,8 +76190,8 @@ paths: application/json: schema: oneOf: - - *173 - - *524 + - *172 + - *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76714,8 +76216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *362 - - *363 + - *360 + - *361 - name: file_sha in: path required: true @@ -76815,8 +76317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -76925,7 +76427,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &523 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77152,15 +76654,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *362 - - *363 - - *481 + - *360 + - *361 + - *479 responses: '200': description: Response content: application/json: - schema: *525 + schema: *523 examples: default: value: @@ -77216,9 +76718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *362 - - *363 - - &526 + - *360 + - *361 + - &524 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. @@ -77235,7 +76737,7 @@ paths: application/json: schema: type: array - items: &527 + items: &525 title: Git Reference description: Git references within a repository type: object @@ -77311,17 +76813,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *362 - - *363 - - *526 + - *360 + - *361 + - *524 responses: '200': description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: &528 + default: &526 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77350,8 +76852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -77380,9 +76882,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: *528 + default: *526 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77408,9 +76910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *362 - - *363 - - *526 + - *360 + - *361 + - *524 requestBody: required: true content: @@ -77439,9 +76941,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: *528 + default: *526 '422': *15 '409': *92 x-github: @@ -77459,9 +76961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *362 - - *363 - - *526 + - *360 + - *361 + - *524 responses: '204': description: Response @@ -77514,8 +77016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -77582,7 +77084,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &528 title: Git Tag description: Metadata for a Git tag type: object @@ -77638,7 +77140,7 @@ paths: - sha - type - url - verification: *529 + verification: *527 required: - sha - url @@ -77648,7 +77150,7 @@ paths: - tag - message examples: - default: &531 + default: &529 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77721,8 +77223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *362 - - *363 + - *360 + - *361 - name: tag_sha in: path required: true @@ -77733,9 +77235,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *528 examples: - default: *531 + default: *529 '404': *6 '409': *92 x-github: @@ -77759,8 +77261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -77834,7 +77336,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &530 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77952,8 +77454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *362 - - *363 + - *360 + - *361 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77976,7 +77478,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *530 examples: default-response: summary: Default response @@ -78035,8 +77537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -78046,7 +77548,7 @@ paths: application/json: schema: type: array - items: &533 + items: &531 title: Webhook description: Webhooks for repositories. type: object @@ -78109,7 +77611,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &774 + last_response: &772 title: Hook Response type: object properties: @@ -78186,8 +77688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -78240,9 +77742,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: &534 + default: &532 value: type: Repository id: 12345678 @@ -78290,17 +77792,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '200': description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: *534 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -78320,9 +77822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 requestBody: required: true content: @@ -78367,9 +77869,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: *534 + default: *532 '422': *15 '404': *6 x-github: @@ -78390,9 +77892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '204': description: Response @@ -78416,9 +77918,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: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '200': description: Response @@ -78445,9 +77947,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: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 requestBody: required: false content: @@ -78491,11 +77993,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 - *17 - - *255 + - *253 responses: '200': description: Response @@ -78503,9 +78005,9 @@ paths: application/json: schema: type: array - items: *256 + items: *254 examples: - default: *257 + default: *255 '400': *14 '422': *15 x-github: @@ -78524,18 +78026,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: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 - *16 responses: '200': description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '400': *14 '422': *15 x-github: @@ -78554,9 +78056,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: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 - *16 responses: '202': *93 @@ -78579,9 +78081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '204': description: Response @@ -78606,9 +78108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '204': description: Response @@ -78666,14 +78168,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: &535 + schema: &533 title: Import description: A repository import from an external source. type: object @@ -78780,7 +78282,7 @@ paths: - html_url - authors_url examples: - default: &538 + default: &536 value: vcs: subversion use_lfs: true @@ -78796,7 +78298,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': &536 + '503': &534 description: Unavailable due to service under maintenance. content: application/json: @@ -78825,8 +78327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -78874,7 +78376,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *533 examples: default: value: @@ -78899,7 +78401,7 @@ paths: type: string '422': *15 '404': *6 - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78927,8 +78429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -78980,7 +78482,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *533 examples: example-1: summary: Example 1 @@ -79028,7 +78530,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': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79051,12 +78553,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79082,9 +78584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *362 - - *363 - - &723 + - *360 + - *361 + - &721 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79098,7 +78600,7 @@ paths: application/json: schema: type: array - items: &537 + items: &535 title: Porter Author description: Porter Author type: object @@ -79152,7 +78654,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': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79177,8 +78679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *362 - - *363 + - *360 + - *361 - name: author_id in: path required: true @@ -79208,7 +78710,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *535 examples: default: value: @@ -79221,7 +78723,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79245,8 +78747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -79287,7 +78789,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79315,8 +78817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -79343,11 +78845,11 @@ paths: description: Response content: application/json: - schema: *535 + schema: *533 examples: - default: *538 + default: *536 '422': *15 - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79370,8 +78872,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -79379,8 +78881,8 @@ paths: application/json: schema: *20 examples: - default: *539 - '301': *376 + default: *537 + '301': *374 '404': *6 x-github: githubCloudOnly: false @@ -79400,8 +78902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -79409,12 +78911,12 @@ paths: application/json: schema: anyOf: - - *272 + - *270 - type: object properties: {} additionalProperties: false examples: - default: &541 + default: &539 value: limit: collaborators_only origin: repository @@ -79439,13 +78941,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: application/json: - schema: *540 + schema: *538 examples: default: summary: Example request body @@ -79457,9 +78959,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *270 examples: - default: *541 + default: *539 '409': description: Response x-github: @@ -79481,8 +78983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -79505,8 +79007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -79516,9 +79018,9 @@ paths: application/json: schema: type: array - items: *542 + items: *540 examples: - default: &716 + default: &714 value: - id: 1 repository: @@ -79649,9 +79151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *362 - - *363 - - *276 + - *360 + - *361 + - *274 requestBody: required: false content: @@ -79680,7 +79182,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *540 examples: default: value: @@ -79811,9 +79313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *362 - - *363 - - *276 + - *360 + - *361 + - *274 responses: '204': description: Response @@ -79844,8 +79346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *362 - - *363 + - *360 + - *361 - 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 @@ -79893,7 +79395,7 @@ paths: required: false schema: type: string - - *281 + - *279 - name: sort description: What to sort results by. in: query @@ -79906,7 +79408,7 @@ paths: - comments default: created - *84 - - *138 + - *137 - *17 - *19 responses: @@ -79916,9 +79418,9 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: &551 + default: &549 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80066,7 +79568,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *376 + '301': *374 '422': *15 '404': *6 x-github: @@ -80095,8 +79597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -80186,9 +79688,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: &546 + default: &544 value: id: 1 node_id: MDU6SXNzdWUx @@ -80344,7 +79846,7 @@ paths: '422': *15 '503': *128 '404': *6 - '410': *373 + '410': *371 x-github: triggersNotification: true githubCloudOnly: false @@ -80372,9 +79874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *362 - - *363 - - *157 + - *360 + - *361 + - *156 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80384,7 +79886,7 @@ paths: enum: - asc - desc - - *138 + - *137 - *17 - *19 responses: @@ -80394,9 +79896,9 @@ paths: application/json: schema: type: array - items: *543 + items: *541 examples: - default: &548 + default: &546 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80454,17 +79956,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '200': description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: &544 + default: &542 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80518,9 +80020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -80542,9 +80044,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: *544 + default: *542 '422': *15 x-github: githubCloudOnly: false @@ -80562,9 +80064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '204': description: Response @@ -80584,9 +80086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 - 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. @@ -80612,9 +80114,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 @@ -80635,9 +80137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -80669,16 +80171,16 @@ paths: description: Reaction exists content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Reaction created content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -80700,10 +80202,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *362 - - *363 - - *147 - - *354 + - *360 + - *361 + - *146 + - *352 responses: '204': description: Response @@ -80723,8 +80225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -80734,7 +80236,7 @@ paths: application/json: schema: type: array - items: &545 + items: &543 title: Issue Event description: Issue Event type: object @@ -80781,7 +80283,7 @@ paths: issue: anyOf: - type: 'null' - - *148 + - *147 label: title: Issue Event Label description: Issue Event Label @@ -80814,7 +80316,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *277 + requested_team: *275 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80881,7 +80383,7 @@ paths: required: - from - to - author_association: *135 + author_association: *134 lock_reason: type: - string @@ -81073,8 +80575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *362 - - *363 + - *360 + - *361 - name: event_id in: path required: true @@ -81085,7 +80587,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *543 examples: default: value: @@ -81278,7 +80780,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *373 + '410': *371 '403': *27 x-github: githubCloudOnly: false @@ -81312,9 +80814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *362 - - *363 - - &547 + - *360 + - *361 + - &545 name: issue_number description: The number that identifies the issue. in: path @@ -81326,12 +80828,12 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 - '301': *376 + default: *544 + '301': *374 '404': *6 - '410': *373 + '410': *371 '304': *35 x-github: githubCloudOnly: false @@ -81356,9 +80858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -81476,15 +80978,15 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 '422': *15 '503': *128 '403': *27 - '301': *376 + '301': *374 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81502,9 +81004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -81530,9 +81032,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81548,9 +81050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: content: application/json: @@ -81575,9 +81077,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81599,9 +81101,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: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - name: assignee in: path required: true @@ -81641,10 +81143,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *362 - - *363 - - *547 - - *138 + - *360 + - *361 + - *545 + - *137 - *17 - *19 responses: @@ -81654,13 +81156,13 @@ paths: application/json: schema: type: array - items: *543 + items: *541 examples: - default: *548 + default: *546 headers: Link: *37 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81689,9 +81191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -81713,16 +81215,16 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: *544 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *373 + '410': *371 '422': *15 '404': *6 x-github: @@ -81742,9 +81244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - *17 - *19 responses: @@ -81758,7 +81260,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &552 + - &550 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81807,7 +81309,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &551 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81935,7 +81437,7 @@ paths: - performed_via_github_app - assignee - assigner - - &554 + - &552 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81981,7 +81483,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &553 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82027,7 +81529,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &554 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82076,7 +81578,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &555 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82105,7 +81607,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *277 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -82118,7 +81620,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &556 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82147,7 +81649,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *277 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -82160,7 +81662,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &557 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82216,7 +81718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &558 title: Locked Issue Event description: Locked Issue Event type: object @@ -82261,7 +81763,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &559 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82322,7 +81824,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &560 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82383,7 +81885,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &561 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82444,7 +81946,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &562 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82537,7 +82039,7 @@ paths: color: red headers: Link: *37 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82554,9 +82056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - *17 - *19 responses: @@ -82566,7 +82068,7 @@ paths: application/json: schema: type: array - items: &549 + items: &547 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82621,7 +82123,7 @@ paths: - color - default examples: - default: &550 + default: &548 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82639,9 +82141,9 @@ paths: default: false headers: Link: *37 - '301': *376 + '301': *374 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82658,9 +82160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -82719,12 +82221,12 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *550 - '301': *376 + default: *548 + '301': *374 '404': *6 - '410': *373 + '410': *371 '422': *15 x-github: githubCloudOnly: false @@ -82741,9 +82243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -82803,12 +82305,12 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *550 - '301': *376 + default: *548 + '301': *374 '404': *6 - '410': *373 + '410': *371 '422': *15 x-github: githubCloudOnly: false @@ -82825,15 +82327,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 responses: '204': description: Response - '301': *376 + '301': *374 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82852,9 +82354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - name: name in: path required: true @@ -82867,7 +82369,7 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: default: value: @@ -82878,9 +82380,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *376 + '301': *374 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82900,9 +82402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -82931,7 +82433,7 @@ paths: '204': description: Response '403': *27 - '410': *373 + '410': *371 '404': *6 '422': *15 x-github: @@ -82949,9 +82451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 responses: '204': description: Response @@ -82973,9 +82475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - 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. @@ -83001,13 +82503,13 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83025,9 +82527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -83059,16 +82561,16 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -83090,10 +82592,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *362 - - *363 - - *547 - - *354 + - *360 + - *361 + - *545 + - *352 responses: '204': description: Response @@ -83122,9 +82624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -83146,9 +82648,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83181,9 +82683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - *17 - *19 responses: @@ -83193,13 +82695,13 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: *551 + default: *549 headers: Link: *37 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83227,9 +82729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -83256,16 +82758,16 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *373 + '410': *371 '422': *15 '404': *6 x-github: @@ -83285,9 +82787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -83318,9 +82820,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 '403': *27 '404': *6 '422': *7 @@ -83342,9 +82844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - *17 - *19 responses: @@ -83359,6 +82861,8 @@ paths: description: Timeline Event type: object anyOf: + - *550 + - *551 - *552 - *553 - *554 @@ -83370,8 +82874,6 @@ paths: - *560 - *561 - *562 - - *563 - - *564 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83419,12 +82921,12 @@ paths: issue_url: type: string format: uri - author_association: *135 + author_association: *134 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *136 + reactions: *135 required: - event - actor @@ -83455,7 +82957,7 @@ paths: properties: type: type: string - issue: *148 + issue: *147 required: - event - created_at @@ -83672,7 +83174,7 @@ paths: type: string body_text: type: string - author_association: *135 + author_association: *134 required: - event - id @@ -83695,7 +83197,7 @@ paths: type: string comments: type: array - items: &584 + items: &582 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83800,7 +83302,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *135 + author_association: *134 _links: type: object properties: @@ -83895,7 +83397,7 @@ paths: enum: - line - file - reactions: *136 + reactions: *135 body_html: type: string examples: @@ -83933,7 +83435,7 @@ paths: type: string comments: type: array - items: *479 + items: *477 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84208,7 +83710,7 @@ paths: headers: Link: *37 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84225,8 +83727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -84236,7 +83738,7 @@ paths: application/json: schema: type: array - items: &565 + items: &563 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84303,8 +83805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -84340,9 +83842,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: - default: &566 + default: &564 value: id: 1 key: ssh-rsa AAA... @@ -84376,9 +83878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *362 - - *363 - - &567 + - *360 + - *361 + - &565 name: key_id description: The unique identifier of the key. in: path @@ -84390,9 +83892,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: - default: *566 + default: *564 '404': *6 x-github: githubCloudOnly: false @@ -84410,9 +83912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *362 - - *363 - - *567 + - *360 + - *361 + - *565 responses: '204': description: Response @@ -84432,8 +83934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -84443,9 +83945,9 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *550 + default: *548 headers: Link: *37 '404': *6 @@ -84466,8 +83968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -84503,9 +84005,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: - default: &568 + default: &566 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84537,8 +84039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *362 - - *363 + - *360 + - *361 - name: name in: path required: true @@ -84549,9 +84051,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: - default: *568 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -84568,8 +84070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *362 - - *363 + - *360 + - *361 - name: name in: path required: true @@ -84608,7 +84110,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: default: value: @@ -84634,8 +84136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *362 - - *363 + - *360 + - *361 - name: name in: path required: true @@ -84661,8 +84163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -84698,8 +84200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '202': *93 '403': @@ -84727,8 +84229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -84754,9 +84256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *362 - - *363 - - *457 + - *360 + - *361 + - *455 responses: '200': description: Response @@ -84822,7 +84324,7 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 required: - _links - git_url @@ -84903,8 +84405,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -84969,8 +84471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -85004,9 +84506,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *480 + schema: *478 examples: - default: *569 + default: *567 '204': description: Response when already merged '404': @@ -85031,8 +84533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *362 - - *363 + - *360 + - *361 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85073,7 +84575,7 @@ paths: application/json: schema: type: array - items: *484 + items: *482 examples: default: value: @@ -85129,8 +84631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -85170,9 +84672,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: &570 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85231,9 +84733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *362 - - *363 - - &571 + - *360 + - *361 + - &569 name: milestone_number description: The number that identifies the milestone. in: path @@ -85245,9 +84747,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: *570 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -85264,9 +84766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *362 - - *363 - - *571 + - *360 + - *361 + - *569 requestBody: required: false content: @@ -85304,9 +84806,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: *570 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85322,9 +84824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *362 - - *363 - - *571 + - *360 + - *361 + - *569 responses: '204': description: Response @@ -85345,9 +84847,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: - - *362 - - *363 - - *571 + - *360 + - *361 + - *569 - *17 - *19 responses: @@ -85357,9 +84859,9 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *550 + default: *548 headers: Link: *37 x-github: @@ -85378,12 +84880,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: - - *362 - - *363 + - *360 + - *361 + - *570 + - *571 + - *137 - *572 - - *573 - - *138 - - *574 - *17 - *19 responses: @@ -85393,9 +84895,9 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: - default: *575 + default: *573 headers: Link: *37 x-github: @@ -85419,8 +84921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -85478,14 +84980,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: &576 + schema: &574 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85629,7 +85131,7 @@ paths: - custom_404 - public examples: - default: &577 + default: &575 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85670,8 +85172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -85726,9 +85228,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: *577 + default: *575 '422': *15 '409': *92 x-github: @@ -85751,8 +85253,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -85860,8 +85362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -85887,8 +85389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -85898,7 +85400,7 @@ paths: application/json: schema: type: array - items: &578 + items: &576 title: Page Build description: Page Build type: object @@ -85990,8 +85492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *362 - - *363 + - *360 + - *361 responses: '201': description: Response @@ -86038,16 +85540,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *578 + schema: *576 examples: - default: &579 + default: &577 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86095,8 +85597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *362 - - *363 + - *360 + - *361 - name: build_id in: path required: true @@ -86107,9 +85609,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *576 examples: - default: *579 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86129,8 +85631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -86238,9 +85740,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: - - *362 - - *363 - - &580 + - *360 + - *361 + - &578 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86298,9 +85800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *362 - - *363 - - *580 + - *360 + - *361 + - *578 responses: '204': *114 '404': *6 @@ -86327,8 +85829,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -86596,7 +86098,7 @@ paths: description: Empty response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -86623,8 +86125,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Private vulnerability reporting status @@ -86661,8 +86163,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: - - *362 - - *363 + - *360 + - *361 responses: '204': *114 '422': *14 @@ -86683,8 +86185,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: - - *362 - - *363 + - *360 + - *361 responses: '204': *114 '422': *14 @@ -86707,8 +86209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *362 - - *363 + - *360 + - *361 - name: state description: Indicates the state of the projects to return. in: query @@ -86729,7 +86231,7 @@ paths: application/json: schema: type: array - items: *311 + items: *309 examples: default: value: @@ -86769,7 +86271,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *373 + '410': *371 '422': *7 x-github: githubCloudOnly: false @@ -86792,8 +86294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -86819,13 +86321,13 @@ paths: description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: *372 + default: *370 '401': *23 '403': *27 '404': *6 - '410': *373 + '410': *371 '422': *7 x-github: githubCloudOnly: false @@ -86848,8 +86350,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -86857,7 +86359,7 @@ paths: application/json: schema: type: array - items: *313 + items: *311 examples: default: value: @@ -86888,8 +86390,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -86901,7 +86403,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *313 + items: *311 required: - properties examples: @@ -86951,8 +86453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *362 - - *363 + - *360 + - *361 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87012,9 +86514,9 @@ paths: application/json: schema: type: array - items: *581 + items: *579 examples: - default: *582 + default: *580 headers: Link: *37 '304': *35 @@ -87046,8 +86548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -87114,7 +86616,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &584 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87243,7 +86745,7 @@ paths: milestone: anyOf: - type: 'null' - - *484 + - *482 active_lock_reason: type: - string @@ -87298,7 +86800,7 @@ paths: type: - array - 'null' - items: *293 + items: *291 head: type: object properties: @@ -87336,14 +86838,14 @@ paths: _links: type: object properties: - comments: *485 - commits: *485 - statuses: *485 - html: *485 - issue: *485 - review_comments: *485 - review_comment: *485 - self: *485 + comments: *483 + commits: *483 + statuses: *483 + html: *483 + issue: *483 + review_comments: *483 + review_comment: *483 + self: *483 required: - comments - commits @@ -87353,8 +86855,8 @@ paths: - review_comments - review_comment - self - author_association: *135 - auto_merge: *583 + author_association: *134 + auto_merge: *581 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -87456,7 +86958,7 @@ paths: - merged_by - review_comments examples: - default: &587 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87983,8 +87485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - name: sort in: query required: false @@ -88003,7 +87505,7 @@ paths: enum: - asc - desc - - *138 + - *137 - *17 - *19 responses: @@ -88013,9 +87515,9 @@ paths: application/json: schema: type: array - items: *584 + items: *582 examples: - default: &589 + default: &587 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88092,17 +87594,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '200': description: Response content: application/json: - schema: *584 + schema: *582 examples: - default: &585 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88177,9 +87679,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -88201,9 +87703,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: - default: *585 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88219,9 +87721,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '204': description: Response @@ -88242,9 +87744,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 - 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. @@ -88270,9 +87772,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 @@ -88293,9 +87795,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -88327,16 +87829,16 @@ paths: description: Reaction exists content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Reaction created content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -88358,10 +87860,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *362 - - *363 - - *147 - - *354 + - *360 + - *361 + - *146 + - *352 responses: '204': description: Response @@ -88404,9 +87906,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *362 - - *363 - - &588 + - *360 + - *361 + - &586 name: pull_number description: The number that identifies the pull request. in: path @@ -88419,9 +87921,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *586 + schema: *584 examples: - default: *587 + default: *585 '304': *35 '404': *6 '406': @@ -88456,9 +87958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -88500,9 +88002,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: - default: *587 + default: *585 '422': *15 '403': *27 x-github: @@ -88524,9 +88026,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: true content: @@ -88587,17 +88089,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '401': *23 '403': *27 '404': *6 @@ -88627,10 +88129,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: - - *362 - - *363 - - *588 - - *157 + - *360 + - *361 + - *586 + - *156 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -88640,7 +88142,7 @@ paths: enum: - asc - desc - - *138 + - *137 - *17 - *19 responses: @@ -88650,9 +88152,9 @@ paths: application/json: schema: type: array - items: *584 + items: *582 examples: - default: *589 + default: *587 headers: Link: *37 x-github: @@ -88685,9 +88187,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: true content: @@ -88793,7 +88295,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: example-for-a-multi-line-comment: value: @@ -88881,10 +88383,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: - - *362 - - *363 - - *588 - - *147 + - *360 + - *361 + - *586 + - *146 requestBody: required: true content: @@ -88906,7 +88408,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: default: value: @@ -88992,9 +88494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 - *17 - *19 responses: @@ -89004,9 +88506,9 @@ paths: application/json: schema: type: array - items: *480 + items: *478 examples: - default: *590 + default: *588 headers: Link: *37 x-github: @@ -89036,9 +88538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 - *17 - *19 responses: @@ -89048,7 +88550,7 @@ paths: application/json: schema: type: array - items: *492 + items: *490 examples: default: value: @@ -89086,9 +88588,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 responses: '204': description: Response if pull request has been merged @@ -89111,9 +88613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -89225,9 +88727,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 responses: '200': description: Response @@ -89243,7 +88745,7 @@ paths: items: *4 teams: type: array - items: *277 + items: *275 required: - users - teams @@ -89302,9 +88804,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -89341,7 +88843,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: default: value: @@ -89877,9 +89379,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: true content: @@ -89913,7 +89415,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: default: value: @@ -90418,9 +89920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 - *17 - *19 responses: @@ -90430,7 +89932,7 @@ paths: application/json: schema: type: array - items: &591 + items: &589 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90504,7 +90006,7 @@ paths: type: string body_text: type: string - author_association: *135 + author_association: *134 required: - id - node_id @@ -90586,9 +90088,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -90678,9 +90180,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &593 + default: &591 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90743,10 +90245,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: - - *362 - - *363 - - *588 - - &592 + - *360 + - *361 + - *586 + - &590 name: review_id description: The unique identifier of the review. in: path @@ -90758,9 +90260,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &594 + default: &592 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90819,10 +90321,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 requestBody: required: true content: @@ -90845,7 +90347,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: default: value: @@ -90907,18 +90409,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 responses: '200': description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *593 + default: *591 '422': *7 '404': *6 x-github: @@ -90945,10 +90447,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 - *17 - *19 responses: @@ -91042,13 +90544,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *135 + author_association: *134 _links: type: object properties: - self: *485 - html: *485 - pull_request: *485 + self: *483 + html: *483 + pull_request: *483 required: - self - html @@ -91057,7 +90559,7 @@ paths: type: string body_html: type: string - reactions: *136 + reactions: *135 side: description: The side of the first line of the range for a multi-line comment. @@ -91199,10 +90701,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 requestBody: required: true content: @@ -91231,7 +90733,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: default: value: @@ -91294,10 +90796,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 requestBody: required: true content: @@ -91332,9 +90834,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *594 + default: *592 '404': *6 '422': *7 '403': *27 @@ -91356,9 +90858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -91422,8 +90924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *362 - - *363 + - *360 + - *361 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91436,9 +90938,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *593 examples: - default: &596 + default: &594 value: type: file encoding: base64 @@ -91480,8 +90982,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: - - *362 - - *363 + - *360 + - *361 - name: dir description: The alternate path to look for a README file in: path @@ -91501,9 +91003,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *593 examples: - default: *596 + default: *594 '404': *6 '422': *15 x-github: @@ -91525,8 +91027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -91536,7 +91038,7 @@ paths: application/json: schema: type: array - items: &597 + items: &595 title: Release description: A release. type: object @@ -91608,7 +91110,7 @@ paths: author: *4 assets: type: array - items: &598 + items: &596 title: Release Asset description: Data related to a release. type: object @@ -91678,7 +91180,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *136 + reactions: *135 required: - assets_url - upload_url @@ -91788,8 +91290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -91865,9 +91367,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: &601 + default: &599 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91970,9 +91472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *362 - - *363 - - &599 + - *360 + - *361 + - &597 name: asset_id description: The unique identifier of the asset. in: path @@ -91984,9 +91486,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *596 examples: - default: &600 + default: &598 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 @@ -92020,7 +91522,7 @@ paths: type: User site_admin: false '404': *6 - '302': *494 + '302': *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92036,9 +91538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *362 - - *363 - - *599 + - *360 + - *361 + - *597 requestBody: required: false content: @@ -92067,9 +91569,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *596 examples: - default: *600 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92085,9 +91587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *362 - - *363 - - *599 + - *360 + - *361 + - *597 responses: '204': description: Response @@ -92111,8 +91613,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -92198,16 +91700,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: *601 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92224,8 +91726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *362 - - *363 + - *360 + - *361 - name: tag description: tag parameter in: path @@ -92238,9 +91740,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: *601 + default: *599 '404': *6 x-github: githubCloudOnly: false @@ -92262,9 +91764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *362 - - *363 - - &602 + - *360 + - *361 + - &600 name: release_id description: The unique identifier of the release. in: path @@ -92278,9 +91780,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: *597 + schema: *595 examples: - default: *601 + default: *599 '401': description: Unauthorized x-github: @@ -92298,9 +91800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 requestBody: required: false content: @@ -92364,9 +91866,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: *601 + default: *599 '404': description: Not Found if the discussion category name is invalid content: @@ -92387,9 +91889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 responses: '204': description: Response @@ -92409,9 +91911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 - *17 - *19 responses: @@ -92421,7 +91923,7 @@ paths: application/json: schema: type: array - items: *598 + items: *596 examples: default: value: @@ -92502,9 +92004,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: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 - name: name in: query required: true @@ -92530,7 +92032,7 @@ paths: description: Response for successful upload content: application/json: - schema: *598 + schema: *596 examples: response-for-successful-upload: value: @@ -92584,9 +92086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 - 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. @@ -92610,9 +92112,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 @@ -92633,9 +92135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 requestBody: required: true content: @@ -92665,16 +92167,16 @@ paths: description: Reaction exists content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Reaction created content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -92696,10 +92198,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *362 - - *363 - - *602 - - *354 + - *360 + - *361 + - *600 + - *352 responses: '204': description: Response @@ -92723,9 +92225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 - *17 - *19 responses: @@ -92741,8 +92243,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *603 - - &605 + - *601 + - &603 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92761,66 +92263,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *602 + - *603 - allOf: - *604 + - *603 + - allOf: - *605 + - *603 - allOf: - *606 - - *605 + - *603 - allOf: - *607 - - *605 + - *603 - allOf: - *608 - - *605 + - *603 - allOf: - *609 - - *605 + - *603 - allOf: - *610 - - *605 + - *603 - allOf: - *611 - - *605 + - *603 - allOf: - *612 - - *605 + - *603 - allOf: - *613 - - *605 + - *603 - allOf: - *614 - - *605 + - *603 - allOf: - *615 - - *605 + - *603 - allOf: - *616 - - *605 + - *603 - allOf: - *617 - - *605 + - *603 - allOf: - *618 - - *605 + - *603 - allOf: - *619 - - *605 + - *603 - allOf: - *620 - - *605 + - *603 - allOf: - *621 - - *605 + - *603 - allOf: - *622 - - *605 - - allOf: - - *623 - - *605 - - allOf: - - *624 - - *605 + - *603 examples: default: value: @@ -92859,8 +92361,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 - name: includes_parents @@ -92871,7 +92373,7 @@ paths: schema: type: boolean default: true - - *625 + - *623 responses: '200': description: Response @@ -92926,8 +92428,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 requestBody: description: Request body required: true @@ -92989,7 +92491,7 @@ paths: application/json: schema: *124 examples: - default: &634 + default: &632 value: id: 42 name: super cool ruleset @@ -93036,12 +92538,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *362 - - *363 + - *360 + - *361 + - *624 + - *214 + - *625 - *626 - - *215 - - *627 - - *628 - *17 - *19 responses: @@ -93049,9 +92551,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *627 examples: - default: *630 + default: *628 '404': *6 '500': *95 x-github: @@ -93072,17 +92574,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *362 - - *363 - - *631 + - *360 + - *361 + - *629 responses: '200': description: Response content: application/json: - schema: *632 + schema: *630 examples: - default: *633 + default: *631 '404': *6 '500': *95 x-github: @@ -93110,8 +92612,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93133,7 +92635,7 @@ paths: application/json: schema: *124 examples: - default: *634 + default: *632 '404': *6 '500': *95 put: @@ -93151,8 +92653,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93216,7 +92718,7 @@ paths: application/json: schema: *124 examples: - default: *634 + default: *632 '404': *6 '500': *95 delete: @@ -93234,8 +92736,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93258,8 +92760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 - name: ruleset_id @@ -93277,7 +92779,7 @@ paths: type: array items: *127 examples: - default: *319 + default: *317 '404': *6 '500': *95 x-github: @@ -93296,8 +92798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *362 - - *363 + - *360 + - *361 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93315,7 +92817,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: default: value: @@ -93370,20 +92872,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: - - *362 - - *363 + - *360 + - *361 + - *319 + - *320 - *321 - *322 - - *323 - - *324 - *84 - *19 - *17 - - *635 - - *636 + - *633 + - *634 + - *323 + - *324 - *325 - - *326 - - *327 responses: '200': description: Response @@ -93391,7 +92893,7 @@ paths: application/json: schema: type: array - items: &639 + items: &637 type: object properties: number: *96 @@ -93407,8 +92909,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *637 - resolution: *638 + state: *635 + resolution: *636 resolved_at: type: - string @@ -93627,15 +93129,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 responses: '200': description: Response content: application/json: - schema: *639 + schema: *637 examples: default: value: @@ -93687,9 +93189,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 requestBody: required: true content: @@ -93697,8 +93199,8 @@ paths: schema: type: object properties: - state: *637 - resolution: *638 + state: *635 + resolution: *636 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -93717,7 +93219,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: default: value: @@ -93792,9 +93294,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 - *19 - *17 responses: @@ -93805,7 +93307,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &795 + items: &793 type: object properties: type: @@ -94184,8 +93686,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -94193,14 +93695,14 @@ paths: schema: type: object properties: - reason: &641 + reason: &639 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *640 + placeholder_id: *638 required: - reason - placeholder_id @@ -94217,7 +93719,7 @@ paths: schema: type: object properties: - reason: *641 + reason: *639 expire_at: type: - string @@ -94261,8 +93763,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: - - *362 - - *363 + - *360 + - *361 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -94277,7 +93779,7 @@ paths: properties: incremental_scans: type: array - items: &642 + items: &640 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94305,15 +93807,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *642 + items: *640 backfill_scans: type: array - items: *642 + items: *640 custom_pattern_backfill_scans: type: array items: allOf: - - *642 + - *640 - type: object properties: pattern_name: @@ -94383,8 +93885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *362 - - *363 + - *360 + - *361 - *84 - name: sort description: The property to sort the results by. @@ -94428,9 +93930,9 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 + default: *642 '400': *14 '404': *6 x-github: @@ -94453,8 +93955,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -94534,7 +94036,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *328 required: - login - type @@ -94624,9 +94126,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: &646 + default: &644 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94859,8 +94361,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -94973,7 +94475,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: default: value: @@ -95120,17 +94622,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: - - *362 - - *363 - - *645 + - *360 + - *361 + - *643 responses: '200': description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: *646 + default: *644 '403': *27 '404': *6 x-github: @@ -95154,9 +94656,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: - - *362 - - *363 - - *645 + - *360 + - *361 + - *643 requestBody: required: true content: @@ -95236,7 +94738,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *328 required: - login - type @@ -95327,17 +94829,17 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: *646 - add_credit: *646 + default: *644 + add_credit: *644 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *173 + schema: *172 examples: invalid_state_transition: value: @@ -95368,9 +94870,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: - - *362 - - *363 - - *645 + - *360 + - *361 + - *643 responses: '202': *93 '400': *14 @@ -95397,17 +94899,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: - - *362 - - *363 - - *645 + - *360 + - *361 + - *643 responses: '202': description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 + default: *375 '400': *14 '422': *15 '403': *27 @@ -95433,8 +94935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -95530,8 +95032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95540,7 +95042,7 @@ paths: application/json: schema: type: array - items: &647 + items: &645 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95573,8 +95075,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -95652,8 +95154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -95747,8 +95249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95902,8 +95404,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95913,7 +95415,7 @@ paths: application/json: schema: type: array - items: *647 + items: *645 examples: default: value: @@ -95946,8 +95448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *362 - - *363 + - *360 + - *361 - name: sha in: path required: true @@ -96003,7 +95505,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *646 examples: default: value: @@ -96057,8 +95559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -96070,7 +95572,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -96090,14 +95592,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &649 + schema: &647 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -96170,8 +95672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -96197,7 +95699,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *647 examples: default: value: @@ -96224,8 +95726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -96245,8 +95747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -96328,8 +95830,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -96337,7 +95839,7 @@ paths: application/json: schema: type: array - items: &650 + items: &648 title: Tag protection description: Tag protection type: object @@ -96394,8 +95896,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -96418,7 +95920,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *648 examples: default: value: @@ -96449,8 +95951,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: - - *362 - - *363 + - *360 + - *361 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -96487,8 +95989,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *362 - - *363 + - *360 + - *361 - name: ref in: path required: true @@ -96524,8 +96026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -96535,9 +96037,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 headers: Link: *37 '404': *6 @@ -96557,8 +96059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *362 - - *363 + - *360 + - *361 - *19 - *17 responses: @@ -96566,7 +96068,7 @@ paths: description: Response content: application/json: - schema: &651 + schema: &649 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96578,7 +96080,7 @@ paths: required: - names examples: - default: &652 + default: &650 value: names: - octocat @@ -96601,8 +96103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -96633,9 +96135,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *652 + default: *650 '404': *6 '422': *7 x-github: @@ -96656,9 +96158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *362 - - *363 - - &653 + - *360 + - *361 + - &651 name: per description: The time frame to display results for. in: query @@ -96689,7 +96191,7 @@ paths: - 128 clones: type: array - items: &654 + items: &652 title: Traffic type: object properties: @@ -96776,8 +96278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -96871,8 +96373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -96935,9 +96437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *362 - - *363 - - *653 + - *360 + - *361 + - *651 responses: '200': description: Response @@ -96958,7 +96460,7 @@ paths: - 3782 views: type: array - items: *654 + items: *652 required: - uniques - count @@ -97035,8 +96537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -97072,7 +96574,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *189 examples: default: value: @@ -97310,8 +96812,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -97334,8 +96836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -97357,8 +96859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -97384,8 +96886,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *362 - - *363 + - *360 + - *361 - name: ref in: path required: true @@ -97477,9 +96979,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 + default: *375 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97520,7 +97022,7 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: default: value: @@ -97630,7 +97132,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &662 + - &660 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97640,7 +97142,7 @@ paths: type: string examples: - members - - &667 + - &665 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97652,7 +97154,7 @@ paths: format: int32 examples: - 1 - - &668 + - &666 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97696,7 +97198,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &656 + items: &654 allOf: - type: object required: @@ -97778,7 +97280,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: &669 + meta: &667 type: object description: The metadata associated with the creation/updates to the user. @@ -97843,31 +97345,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &657 + '400': &655 description: Bad request content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '401': &658 + schema: *653 + '401': &656 description: Authorization failure - '403': &659 + '403': &657 description: Permission denied - '429': &660 + '429': &658 description: Too many requests content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '500': &661 + schema: *653 + '500': &659 description: Internal server error content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 + schema: *653 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97891,7 +97393,7 @@ paths: required: true content: application/json: - schema: &665 + schema: &663 type: object required: - schemas @@ -97951,9 +97453,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *656 + schema: *654 examples: - group: &663 + group: &661 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97972,13 +97474,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': *657 - '401': *658 - '403': *659 - '409': &666 + '400': *655 + '401': *656 + '403': *657 + '409': &664 description: Duplicate record detected - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97995,7 +97497,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: - - &664 + - &662 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -98004,22 +97506,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *662 + - *660 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *656 + schema: *654 examples: - default: *663 - '400': *657 - '401': *658 - '403': *659 + default: *661 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98038,13 +97540,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: - - *664 + - *662 - *38 requestBody: required: true content: application/json: - schema: *665 + schema: *663 examples: group: summary: Group @@ -98070,17 +97572,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *656 + schema: *654 examples: - group: *663 - groupWithMembers: *663 - '400': *657 - '401': *658 - '403': *659 + group: *661 + groupWithMembers: *661 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '409': *666 - '429': *660 - '500': *661 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98104,13 +97606,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: - - *664 + - *662 - *38 requestBody: required: true content: application/json: - schema: &676 + schema: &674 type: object required: - Operations @@ -98170,17 +97672,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *656 + schema: *654 examples: - updateGroup: *663 - addMembers: *663 - '400': *657 - '401': *658 - '403': *659 + updateGroup: *661 + addMembers: *661 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '409': *666 - '429': *660 - '500': *661 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98196,17 +97698,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: - - *664 + - *662 - *38 responses: '204': description: Group was deleted, no content - '400': *657 - '401': *658 - '403': *659 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98240,8 +97742,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *667 - - *668 + - *665 + - *666 - *38 responses: '200': @@ -98275,7 +97777,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &671 + items: &669 allOf: - type: object required: @@ -98367,7 +97869,7 @@ paths: address. examples: - true - roles: &670 + roles: &668 type: array description: The roles assigned to the user. items: @@ -98426,7 +97928,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *669 + meta: *667 startIndex: type: integer description: A starting index for the returned page @@ -98465,11 +97967,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *657 - '401': *658 - '403': *659 - '429': *660 - '500': *661 + '400': *655 + '401': *656 + '403': *657 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98493,7 +97995,7 @@ paths: required: true content: application/json: - schema: &674 + schema: &672 type: object required: - schemas @@ -98586,9 +98088,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *670 + roles: *668 examples: - user: &675 + user: &673 summary: User value: schemas: @@ -98635,9 +98137,9 @@ paths: description: User has been created content: application/scim+json: - schema: *671 + schema: *669 examples: - user: &672 + user: &670 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98663,13 +98165,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: *672 - '400': *657 - '401': *658 - '403': *659 - '409': *666 - '429': *660 - '500': *661 + enterpriseOwner: *670 + '400': *655 + '401': *656 + '403': *657 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98686,7 +98188,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: - - &673 + - &671 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98699,15 +98201,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *671 + schema: *669 examples: - default: *672 - '400': *657 - '401': *658 - '403': *659 + default: *670 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98729,30 +98231,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: - - *673 + - *671 - *38 requestBody: required: true content: application/json: - schema: *674 + schema: *672 examples: - user: *675 + user: *673 responses: '200': description: User was updated content: application/scim+json: - schema: *671 + schema: *669 examples: - user: *672 - '400': *657 - '401': *658 - '403': *659 + user: *670 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '409': *666 - '429': *660 - '500': *661 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98787,13 +98289,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: - - *673 + - *671 - *38 requestBody: required: true content: application/json: - schema: *676 + schema: *674 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98833,18 +98335,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *671 - examples: - userMultiValuedProperties: *672 - userSingleValuedProperties: *672 - disableUser: *672 - '400': *657 - '401': *658 - '403': *659 + schema: *669 + examples: + userMultiValuedProperties: *670 + userSingleValuedProperties: *670 + disableUser: *670 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '409': *666 - '429': *660 - '500': *661 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98864,17 +98366,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: - - *673 + - *671 - *38 responses: '204': description: User was deleted, no content - '400': *657 - '401': *658 - '403': *659 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98907,7 +98409,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *164 + - *163 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -98965,7 +98467,7 @@ paths: - 1 Resources: type: array - items: &677 + items: &675 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -99212,22 +98714,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &678 + '404': &676 description: Resource not found content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '403': &679 + schema: *653 + '403': &677 description: Forbidden content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '400': *657 - '429': *660 + schema: *653 + '400': *655 + '429': *658 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -99247,15 +98749,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *164 + - *163 responses: '201': description: Response content: application/scim+json: - schema: *677 + schema: *675 examples: - default: &680 + default: &678 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99278,17 +98780,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *678 - '403': *679 - '500': *661 + '404': *676 + '403': *677 + '500': *659 '409': description: Conflict content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '400': *657 + schema: *653 + '400': *655 requestBody: required: true content: @@ -99382,18 +98884,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: - - *164 - - *673 + - *163 + - *671 responses: '200': description: Response content: application/scim+json: - schema: *677 + schema: *675 examples: - default: *680 - '404': *678 - '403': *679 + default: *678 + '404': *676 + '403': *677 '304': *35 x-github: githubCloudOnly: true @@ -99416,19 +98918,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *164 - - *673 + - *163 + - *671 responses: '200': description: Response content: application/scim+json: - schema: *677 + schema: *675 examples: - default: *680 + default: *678 '304': *35 - '404': *678 - '403': *679 + '404': *676 + '403': *677 requestBody: required: true content: @@ -99538,20 +99040,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: - - *164 - - *673 + - *163 + - *671 responses: '200': description: Response content: application/scim+json: - schema: *677 + schema: *675 examples: - default: *680 + default: *678 '304': *35 - '404': *678 - '403': *679 - '400': *657 + '404': *676 + '403': *677 + '400': *655 '429': description: Response content: @@ -99646,13 +99148,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: - - *164 - - *673 + - *163 + - *671 responses: '204': description: Response - '404': *678 - '403': *679 + '404': *676 + '403': *677 '304': *35 x-github: githubCloudOnly: true @@ -99767,7 +99269,7 @@ paths: html_url: type: string format: uri - repository: *190 + repository: *189 score: type: number file_size: @@ -99786,7 +99288,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &681 + text_matches: &679 title: Search Result Text Matches type: array items: @@ -99950,7 +99452,7 @@ paths: enum: - author-date - committer-date - - &682 + - &680 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 @@ -100019,7 +99521,7 @@ paths: committer: anyOf: - type: 'null' - - *419 + - *417 comment_count: type: integer message: @@ -100038,7 +99540,7 @@ paths: url: type: string format: uri - verification: *529 + verification: *527 required: - author - committer @@ -100053,7 +99555,7 @@ paths: committer: anyOf: - type: 'null' - - *419 + - *417 parents: type: array items: @@ -100065,12 +99567,12 @@ paths: type: string sha: type: string - repository: *190 + repository: *189 score: type: number node_id: type: string - text_matches: *681 + text_matches: *679 required: - sha - node_id @@ -100253,7 +99755,7 @@ paths: - interactions - created - updated - - *682 + - *680 - *17 - *19 - name: advanced_search @@ -100377,7 +99879,7 @@ paths: milestone: anyOf: - type: 'null' - - *484 + - *482 comments: type: integer created_at: @@ -100391,7 +99893,7 @@ paths: - string - 'null' format: date-time - text_matches: *681 + text_matches: *679 pull_request: type: object properties: @@ -100429,7 +99931,7 @@ paths: type: string score: type: number - author_association: *135 + author_association: *134 draft: type: boolean repository: *61 @@ -100440,12 +99942,12 @@ paths: timeline_url: type: string format: uri - type: *278 + type: *276 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *136 + reactions: *135 required: - assignee - closed_at @@ -100617,7 +100119,7 @@ paths: enum: - created - updated - - *682 + - *680 - *17 - *19 responses: @@ -100662,7 +100164,7 @@ paths: - 'null' score: type: number - text_matches: *681 + text_matches: *679 required: - id - node_id @@ -100748,7 +100250,7 @@ paths: - forks - help-wanted-issues - updated - - *682 + - *680 - *17 - *19 responses: @@ -100967,7 +100469,7 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 permissions: type: object properties: @@ -100985,7 +100487,7 @@ paths: - admin - pull - push - text_matches: *681 + text_matches: *679 temp_clone_token: type: string allow_merge_commit: @@ -101294,7 +100796,7 @@ paths: - string - 'null' format: uri - text_matches: *681 + text_matches: *679 related: type: - array @@ -101489,7 +100991,7 @@ paths: - followers - repositories - joined - - *682 + - *680 - *17 - *19 responses: @@ -101599,7 +101101,7 @@ paths: type: - boolean - 'null' - text_matches: *681 + text_matches: *679 blog: type: - string @@ -101681,7 +101183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &683 + - &681 name: team_id description: The unique identifier of the team. in: path @@ -101693,9 +101195,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '404': *6 x-github: githubCloudOnly: false @@ -101722,7 +101224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *683 + - *681 requestBody: required: true content: @@ -101786,16 +101288,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '201': description: Response content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '404': *6 '422': *15 '403': *27 @@ -101823,7 +101325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *683 + - *681 responses: '204': description: Response @@ -101854,7 +101356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *683 + - *681 - *84 - *17 - *19 @@ -101865,9 +101367,9 @@ paths: application/json: schema: type: array - items: *345 + items: *343 examples: - default: *684 + default: *682 headers: Link: *37 x-github: @@ -101896,7 +101398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *683 + - *681 requestBody: required: true content: @@ -101930,9 +101432,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *346 + default: *344 x-github: triggersNotification: true githubCloudOnly: false @@ -101959,16 +101461,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *683 - - *347 + - *681 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *346 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101993,8 +101495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *683 - - *347 + - *681 + - *345 requestBody: required: false content: @@ -102017,9 +101519,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *685 + default: *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102044,8 +101546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *683 - - *347 + - *681 + - *345 responses: '204': description: Response @@ -102074,8 +101576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *683 - - *347 + - *681 + - *345 - *84 - *17 - *19 @@ -102086,9 +101588,9 @@ paths: application/json: schema: type: array - items: *348 + items: *346 examples: - default: *686 + default: *684 headers: Link: *37 x-github: @@ -102117,8 +101619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *683 - - *347 + - *681 + - *345 requestBody: required: true content: @@ -102140,9 +101642,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: triggersNotification: true githubCloudOnly: false @@ -102169,17 +101671,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102204,9 +101706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 requestBody: required: true content: @@ -102228,9 +101730,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *687 + default: *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102255,9 +101757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 responses: '204': description: Response @@ -102286,9 +101788,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: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 - 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. @@ -102314,9 +101816,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 x-github: @@ -102345,9 +101847,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: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 requestBody: required: true content: @@ -102379,9 +101881,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102407,8 +101909,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: - - *683 - - *347 + - *681 + - *345 - 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. @@ -102434,9 +101936,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 x-github: @@ -102465,8 +101967,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: - - *683 - - *347 + - *681 + - *345 requestBody: required: true content: @@ -102498,9 +102000,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102524,7 +102026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *683 + - *681 - *17 - *19 responses: @@ -102534,9 +102036,9 @@ paths: application/json: schema: type: array - items: *274 + items: *272 examples: - default: *275 + default: *273 headers: Link: *37 x-github: @@ -102562,7 +102064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *683 + - *681 - name: role description: Filters members returned by their role in the team. in: query @@ -102585,7 +102087,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '404': *6 @@ -102613,8 +102115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *683 - - *212 + - *681 + - *211 responses: '204': description: if user is a member @@ -102650,8 +102152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *683 - - *212 + - *681 + - *211 responses: '204': description: Response @@ -102690,8 +102192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *683 - - *212 + - *681 + - *211 responses: '204': description: Response @@ -102727,16 +102229,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: - - *683 - - *212 + - *681 + - *211 responses: '200': description: Response content: application/json: - schema: *359 + schema: *357 examples: - response-if-user-is-a-team-maintainer: *688 + response-if-user-is-a-team-maintainer: *686 '404': *6 x-github: githubCloudOnly: false @@ -102769,8 +102271,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: - - *683 - - *212 + - *681 + - *211 requestBody: required: false content: @@ -102795,9 +102297,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *357 examples: - response-if-users-membership-with-team-is-now-pending: *689 + response-if-users-membership-with-team-is-now-pending: *687 '403': description: Forbidden if team synchronization is set up '422': @@ -102831,8 +102333,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: - - *683 - - *212 + - *681 + - *211 responses: '204': description: Response @@ -102860,7 +102362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *683 + - *681 - *17 - *19 responses: @@ -102870,9 +102372,9 @@ paths: application/json: schema: type: array - items: *360 + items: *358 examples: - default: *690 + default: *688 headers: Link: *37 '404': *6 @@ -102898,16 +102400,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: - - *683 - - *361 + - *681 + - *359 responses: '200': description: Response content: application/json: - schema: *360 + schema: *358 examples: - default: *691 + default: *689 '404': description: Not Found if project is not managed by this team x-github: @@ -102931,8 +102433,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: - - *683 - - *361 + - *681 + - *359 requestBody: required: false content: @@ -102999,8 +102501,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: - - *683 - - *361 + - *681 + - *359 responses: '204': description: Response @@ -103027,7 +102529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *683 + - *681 - *17 - *19 responses: @@ -103037,9 +102539,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 '404': *6 @@ -103069,15 +102571,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: - - *683 - - *362 - - *363 + - *681 + - *360 + - *361 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *692 + schema: *690 examples: alternative-response-with-extra-repository-information: value: @@ -103228,9 +102730,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: - - *683 - - *362 - - *363 + - *681 + - *360 + - *361 requestBody: required: false content: @@ -103280,9 +102782,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: - - *683 - - *362 - - *363 + - *681 + - *360 + - *361 responses: '204': description: Response @@ -103311,15 +102813,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: - - *683 + - *681 responses: '200': description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '403': *27 '404': *6 x-github: @@ -103346,7 +102848,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: - - *683 + - *681 requestBody: required: true content: @@ -103407,7 +102909,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: default: value: @@ -103438,7 +102940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *683 + - *681 - *17 - *19 responses: @@ -103448,9 +102950,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - response-if-child-teams-exist: *693 + response-if-child-teams-exist: *691 headers: Link: *37 '404': *6 @@ -103483,7 +102985,7 @@ paths: application/json: schema: oneOf: - - &695 + - &693 title: Private User description: Private User type: object @@ -103733,7 +103235,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *694 + - *692 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103893,7 +103395,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *693 examples: default: value: @@ -103972,7 +103474,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '304': *35 '404': *6 '403': *27 @@ -103995,7 +103497,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: - - *212 + - *211 responses: '204': description: If the user is blocked @@ -104023,7 +103525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *212 + - *211 responses: '204': description: Response @@ -104047,7 +103549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *212 + - *211 responses: '204': description: Response @@ -104096,9 +103598,9 @@ paths: type: integer codespaces: type: array - items: *284 + items: *282 examples: - default: *285 + default: *283 '304': *35 '500': *95 '401': *23 @@ -104237,17 +103739,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '401': *23 '403': *27 '404': *6 @@ -104291,7 +103793,7 @@ paths: type: integer secrets: type: array - items: &696 + items: &694 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -104333,7 +103835,7 @@ paths: - visibility - selected_repositories_url examples: - default: *473 + default: *471 headers: Link: *37 x-github: @@ -104405,13 +103907,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: - - *200 + - *199 responses: '200': description: Response content: application/json: - schema: *696 + schema: *694 examples: default: value: @@ -104441,7 +103943,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: - - *200 + - *199 requestBody: required: true content: @@ -104486,7 +103988,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -104514,7 +104016,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: - - *200 + - *199 responses: '204': description: Response @@ -104539,7 +104041,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: - - *200 + - *199 responses: '200': description: Response @@ -104555,9 +104057,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: *697 + default: *695 '401': *23 '403': *27 '404': *6 @@ -104582,7 +104084,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: - - *200 + - *199 requestBody: required: true content: @@ -104636,7 +104138,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: - - *200 + - *199 - name: repository_id in: path required: true @@ -104669,7 +104171,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: - - *200 + - *199 - name: repository_id in: path required: true @@ -104701,15 +104203,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: - - *286 + - *284 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '304': *35 '500': *95 '401': *23 @@ -104735,7 +104237,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: - - *286 + - *284 requestBody: required: false content: @@ -104765,9 +104267,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '401': *23 '403': *27 '404': *6 @@ -104789,7 +104291,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: - - *286 + - *284 responses: '202': *93 '304': *35 @@ -104818,13 +104320,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: - - *286 + - *284 responses: '202': description: Response content: application/json: - schema: &698 + schema: &696 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104877,7 +104379,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &699 + default: &697 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104909,7 +104411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *286 + - *284 - name: export_id in: path required: true @@ -104922,9 +104424,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *696 examples: - default: *699 + default: *697 '404': *6 x-github: githubCloudOnly: false @@ -104945,7 +104447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *286 + - *284 responses: '200': description: Response @@ -104961,9 +104463,9 @@ paths: type: integer machines: type: array - items: *472 + items: *470 examples: - default: *700 + default: *698 '304': *35 '500': *95 '401': *23 @@ -104992,7 +104494,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: - - *286 + - *284 requestBody: required: true content: @@ -105048,11 +104550,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *375 + repository: *373 machine: anyOf: - type: 'null' - - *472 + - *470 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -105849,15 +105351,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: - - *286 + - *284 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '304': *35 '500': *95 '400': *14 @@ -105889,15 +105391,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: - - *286 + - *284 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '500': *95 '401': *23 '403': *27 @@ -105927,9 +105429,9 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: &713 + default: &711 value: - id: 197 name: hello_docker @@ -106030,7 +105532,7 @@ paths: application/json: schema: type: array - items: &701 + items: &699 title: Email description: Email type: object @@ -106100,9 +105602,9 @@ paths: application/json: schema: type: array - items: *701 + items: *699 examples: - default: &715 + default: &713 value: - email: octocat@github.com verified: true @@ -106179,7 +105681,7 @@ paths: application/json: schema: type: array - items: *701 + items: *699 examples: default: value: @@ -106291,7 +105793,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '304': *35 @@ -106324,7 +105826,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '304': *35 @@ -106346,7 +105848,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: - - *212 + - *211 responses: '204': description: if the person is followed by the authenticated user @@ -106376,7 +105878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *212 + - *211 responses: '204': description: Response @@ -106401,7 +105903,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *212 + - *211 responses: '204': description: Response @@ -106437,7 +105939,7 @@ paths: application/json: schema: type: array - items: &702 + items: &700 title: GPG Key description: A unique encryption key type: object @@ -106582,7 +106084,7 @@ paths: - subkeys - revoked examples: - default: &726 + default: &724 value: - id: 3 name: Octocat's GPG Key @@ -106667,9 +106169,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *700 examples: - default: &703 + default: &701 value: id: 3 name: Octocat's GPG Key @@ -106726,7 +106228,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: - - &704 + - &702 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106738,9 +106240,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *700 examples: - default: *703 + default: *701 '404': *6 '304': *35 '403': *27 @@ -106763,7 +106265,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: - - *704 + - *702 responses: '204': description: Response @@ -106954,7 +106456,7 @@ paths: type: array items: *61 examples: - default: *705 + default: *703 headers: Link: *37 '404': *6 @@ -106979,7 +106481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *185 + - *184 responses: '204': description: Response @@ -107005,7 +106507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *185 + - *184 responses: '204': description: Response @@ -107039,12 +106541,12 @@ paths: application/json: schema: anyOf: - - *272 + - *270 - type: object properties: {} additionalProperties: false examples: - default: *273 + default: *271 '204': description: Response when there are no restrictions x-github: @@ -107068,7 +106570,7 @@ paths: required: true content: application/json: - schema: *540 + schema: *538 examples: default: value: @@ -107079,7 +106581,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *270 examples: default: value: @@ -107160,7 +106662,7 @@ paths: - closed - all default: open - - *281 + - *279 - name: sort description: What to sort results by. in: query @@ -107173,7 +106675,7 @@ paths: - comments default: created - *84 - - *138 + - *137 - *17 - *19 responses: @@ -107183,9 +106685,9 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: *282 + default: *280 headers: Link: *37 '404': *6 @@ -107218,7 +106720,7 @@ paths: application/json: schema: type: array - items: &706 + items: &704 title: Key description: Key type: object @@ -107316,9 +106818,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: &707 + default: &705 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107351,15 +106853,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: - - *567 + - *565 responses: '200': description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 '404': *6 '304': *35 '403': *27 @@ -107382,7 +106884,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: - - *567 + - *565 responses: '204': description: Response @@ -107415,7 +106917,7 @@ paths: application/json: schema: type: array - items: &708 + items: &706 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107483,7 +106985,7 @@ paths: - id - type - login - plan: *151 + plan: *150 required: - billing_cycle - next_billing_date @@ -107494,7 +106996,7 @@ paths: - account - plan examples: - default: &709 + default: &707 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107556,9 +107058,9 @@ paths: application/json: schema: type: array - items: *708 + items: *706 examples: - default: *709 + default: *707 headers: Link: *37 '304': *35 @@ -107598,7 +107100,7 @@ paths: application/json: schema: type: array - items: *287 + items: *285 examples: default: value: @@ -107700,13 +107202,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *287 + schema: *285 examples: default: value: @@ -107764,7 +107266,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: - - *164 + - *163 requestBody: required: true content: @@ -107789,7 +107291,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *285 examples: default: value: @@ -107857,7 +107359,7 @@ paths: application/json: schema: type: array - items: *289 + items: *287 examples: default: value: @@ -108119,7 +107621,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: default: value: @@ -108299,7 +107801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *290 + - *288 - name: exclude in: query required: false @@ -108312,7 +107814,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: default: value: @@ -108506,7 +108008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *290 + - *288 responses: '302': description: Response @@ -108532,7 +108034,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *290 + - *288 responses: '204': description: Response @@ -108561,8 +108063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *290 - - *710 + - *288 + - *708 responses: '204': description: Response @@ -108586,7 +108088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *290 + - *288 - *17 - *19 responses: @@ -108596,9 +108098,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 '404': *6 @@ -108635,7 +108137,7 @@ paths: type: array items: *56 examples: - default: *711 + default: *709 headers: Link: *37 '304': *35 @@ -108677,7 +108179,7 @@ paths: - docker - nuget - container - - *712 + - *710 - *19 - *17 responses: @@ -108687,10 +108189,10 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: *713 - '400': *714 + default: *711 + '400': *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108710,16 +108212,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: - - *297 - - *298 + - *295 + - *296 responses: '200': description: Response content: application/json: - schema: *295 + schema: *293 examples: - default: &727 + default: &725 value: id: 40201 name: octo-name @@ -108832,8 +108334,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: - - *297 - - *298 + - *295 + - *296 responses: '204': description: Response @@ -108863,8 +108365,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: - - *297 - - *298 + - *295 + - *296 - name: token description: package token schema: @@ -108896,8 +108398,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: - - *297 - - *298 + - *295 + - *296 - *19 - *17 - name: state @@ -108917,7 +108419,7 @@ paths: application/json: schema: type: array - items: *299 + items: *297 examples: default: value: @@ -108966,15 +108468,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: - - *297 + - *295 + - *296 - *298 - - *300 responses: '200': description: Response content: application/json: - schema: *299 + schema: *297 examples: default: value: @@ -109010,9 +108512,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: - - *297 + - *295 + - *296 - *298 - - *300 responses: '204': description: Response @@ -109042,9 +108544,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: - - *297 + - *295 + - *296 - *298 - - *300 responses: '204': description: Response @@ -109102,7 +108604,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *309 examples: default: value: @@ -109174,9 +108676,9 @@ paths: application/json: schema: type: array - items: *701 + items: *699 examples: - default: *715 + default: *713 headers: Link: *37 '304': *35 @@ -109289,7 +108791,7 @@ paths: type: array items: *61 examples: - default: &722 + default: &720 summary: Default response value: - id: 1296269 @@ -109605,9 +109107,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 + default: *375 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109645,9 +109147,9 @@ paths: application/json: schema: type: array - items: *542 + items: *540 examples: - default: *716 + default: *714 headers: Link: *37 '304': *35 @@ -109670,7 +109172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *276 + - *274 responses: '204': description: Response @@ -109693,7 +109195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *276 + - *274 responses: '204': description: Response @@ -109726,7 +109228,7 @@ paths: application/json: schema: type: array - items: &717 + items: &715 title: Social account description: Social media account type: object @@ -109743,7 +109245,7 @@ paths: - provider - url examples: - default: &718 + default: &716 value: - provider: twitter url: https://twitter.com/github @@ -109806,9 +109308,9 @@ paths: application/json: schema: type: array - items: *717 + items: *715 examples: - default: *718 + default: *716 '422': *15 '304': *35 '404': *6 @@ -109896,7 +109398,7 @@ paths: application/json: schema: type: array - items: &719 + items: &717 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109916,7 +109418,7 @@ paths: - title - created_at examples: - default: &728 + default: &726 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109983,9 +109485,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *717 examples: - default: &720 + default: &718 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110016,7 +109518,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: - - &721 + - &719 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110028,9 +109530,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *717 examples: - default: *720 + default: *718 '404': *6 '304': *35 '403': *27 @@ -110053,7 +109555,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: - - *721 + - *719 responses: '204': description: Response @@ -110082,7 +109584,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: - - &729 + - &727 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 @@ -110107,11 +109609,11 @@ paths: type: array items: *61 examples: - default-response: *722 + default-response: *720 application/vnd.github.v3.star+json: schema: type: array - items: &730 + items: &728 title: Starred Repository description: Starred Repository type: object @@ -110267,8 +109769,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response if this repository is starred by you @@ -110296,8 +109798,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -110321,8 +109823,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -110355,9 +109857,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 '304': *35 @@ -110394,7 +109896,7 @@ paths: application/json: schema: type: array - items: *343 + items: *341 examples: default: value: @@ -110472,7 +109974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *153 + - *152 responses: '200': description: Response @@ -110480,10 +109982,10 @@ paths: application/json: schema: oneOf: - - *695 - - *694 + - *693 + - *692 examples: - default-response: &724 + default-response: &722 summary: Default response value: login: octocat @@ -110518,7 +110020,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &725 + response-with-git-hub-plan-information: &723 summary: Response with GitHub plan information value: login: octocat @@ -110578,7 +110080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *723 + - *721 - *17 responses: '200': @@ -110589,7 +110091,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: example: ; rel="next" @@ -110619,7 +110121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *212 + - *211 responses: '200': description: Response @@ -110627,11 +110129,11 @@ paths: application/json: schema: oneOf: - - *695 - - *694 + - *693 + - *692 examples: - default-response: *724 - response-with-git-hub-plan-information: *725 + default-response: *722 + response-with-git-hub-plan-information: *723 '404': *6 x-github: githubCloudOnly: false @@ -110657,7 +110159,7 @@ paths: - *17 - *82 - *83 - - *212 + - *211 - name: subject_digest description: Subject Digest in: path @@ -110707,12 +110209,12 @@ paths: bundle_url: type: string examples: - default: *415 + default: *413 '201': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -110738,7 +110240,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: - - *212 + - *211 responses: '200': description: Response @@ -110746,9 +110248,9 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: *713 + default: *711 '403': *27 '401': *23 x-github: @@ -110771,7 +110273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -110781,7 +110283,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -110852,8 +110354,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: - - *212 - - *164 + - *211 + - *163 - *17 - *19 responses: @@ -110863,7 +110365,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -110942,7 +110444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -110952,7 +110454,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -111019,7 +110521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -111031,7 +110533,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -111050,7 +110552,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *212 + - *211 - *17 - *19 responses: @@ -111062,7 +110564,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -111081,7 +110583,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: - - *212 + - *211 - name: target_user in: path required: true @@ -111108,8 +110610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *212 - - *138 + - *211 + - *137 - *17 - *19 responses: @@ -111119,9 +110621,9 @@ paths: application/json: schema: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: Link: *37 '422': *15 @@ -111142,7 +110644,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: - - *212 + - *211 - *17 - *19 responses: @@ -111152,9 +110654,9 @@ paths: application/json: schema: type: array - items: *702 + items: *700 examples: - default: *726 + default: *724 headers: Link: *37 x-github: @@ -111178,7 +110680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *212 + - *211 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -111250,7 +110752,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: - - *212 + - *211 responses: '200': description: Response @@ -111258,7 +110760,7 @@ paths: application/json: schema: *20 examples: - default: *539 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111276,7 +110778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -111324,7 +110826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -111336,7 +110838,7 @@ paths: type: array items: *56 examples: - default: *711 + default: *709 headers: Link: *37 x-github: @@ -111375,8 +110877,8 @@ paths: - docker - nuget - container - - *712 - - *212 + - *710 + - *211 - *19 - *17 responses: @@ -111386,12 +110888,12 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: *713 + default: *711 '403': *27 '401': *23 - '400': *714 + '400': *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111411,17 +110913,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *297 - - *298 - - *212 + - *295 + - *296 + - *211 responses: '200': description: Response content: application/json: - schema: *295 + schema: *293 examples: - default: *727 + default: *725 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111442,9 +110944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *297 - - *298 - - *212 + - *295 + - *296 + - *211 responses: '204': description: Response @@ -111476,9 +110978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *297 - - *298 - - *212 + - *295 + - *296 + - *211 - name: token description: package token schema: @@ -111510,9 +111012,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: - - *297 - - *298 - - *212 + - *295 + - *296 + - *211 responses: '200': description: Response @@ -111520,7 +111022,7 @@ paths: application/json: schema: type: array - items: *299 + items: *297 examples: default: value: @@ -111578,16 +111080,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: - - *297 + - *295 + - *296 - *298 - - *300 - - *212 + - *211 responses: '200': description: Response content: application/json: - schema: *299 + schema: *297 examples: default: value: @@ -111622,10 +111124,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *297 + - *295 + - *296 + - *211 - *298 - - *212 - - *300 responses: '204': description: Response @@ -111657,10 +111159,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *297 + - *295 + - *296 + - *211 - *298 - - *212 - - *300 responses: '204': description: Response @@ -111686,7 +111188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *212 + - *211 - name: state description: Indicates the state of the projects to return. in: query @@ -111707,7 +111209,7 @@ paths: application/json: schema: type: array - items: *311 + items: *309 examples: default: value: @@ -111769,7 +111271,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: - - *212 + - *211 - *17 - *19 responses: @@ -111779,7 +111281,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -111858,7 +111360,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: - - *212 + - *211 - *17 - *19 responses: @@ -111868,7 +111370,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -111945,7 +111447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *212 + - *211 - name: type description: Limit results to repositories of the specified type. in: query @@ -111988,9 +111490,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -112014,15 +111516,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: - - *212 + - *211 responses: '200': description: Response content: application/json: - schema: *331 + schema: *329 examples: - default: *332 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112044,15 +111546,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: - - *212 + - *211 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: *336 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112074,15 +111576,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: - - *212 + - *211 responses: '200': description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: *338 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112100,7 +111602,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: - - *212 + - *211 - *17 - *19 responses: @@ -112110,9 +111612,9 @@ paths: application/json: schema: type: array - items: *717 + items: *715 examples: - default: *718 + default: *716 headers: Link: *37 x-github: @@ -112132,7 +111634,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: - - *212 + - *211 - *17 - *19 responses: @@ -112142,9 +111644,9 @@ paths: application/json: schema: type: array - items: *719 + items: *717 examples: - default: *728 + default: *726 headers: Link: *37 x-github: @@ -112168,8 +111670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *212 - - *729 + - *211 + - *727 - *84 - *17 - *19 @@ -112181,11 +111683,11 @@ paths: schema: anyOf: - type: array - items: *730 + items: *728 - type: array items: *61 examples: - default-response: *722 + default-response: *720 headers: Link: *37 x-github: @@ -112204,7 +111706,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -112214,9 +111716,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -112345,7 +111847,7 @@ webhooks: type: string enum: - disabled - enterprise: &731 + enterprise: &729 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112414,7 +111916,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &732 + installation: &730 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112435,7 +111937,7 @@ webhooks: required: - id - node_id - organization: &733 + organization: &731 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112508,7 +112010,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &734 + repository: &732 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -112537,7 +112039,7 @@ webhooks: license: anyOf: - type: 'null' - - *149 + - *148 organization: anyOf: - type: 'null' @@ -113421,10 +112923,10 @@ webhooks: type: string enum: - enabled - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -113500,11 +113002,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: &735 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + rule: &733 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) @@ -113727,11 +113229,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: *735 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + rule: *733 sender: *4 required: - action @@ -113919,11 +113421,11 @@ webhooks: - everyone required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: *735 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + rule: *733 sender: *4 required: - action @@ -113994,7 +113496,7 @@ webhooks: required: true content: application/json: - schema: &738 + schema: &736 title: Exemption request cancellation event type: object properties: @@ -114002,11 +113504,11 @@ webhooks: type: string enum: - cancelled - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: &736 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: &734 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -114236,7 +113738,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &737 + items: &735 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -114346,7 +113848,7 @@ webhooks: required: true content: application/json: - schema: &739 + schema: &737 title: Exemption request completed event type: object properties: @@ -114354,11 +113856,11 @@ webhooks: type: string enum: - completed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: *736 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: *734 sender: *4 required: - action @@ -114428,7 +113930,7 @@ webhooks: required: true content: application/json: - schema: &740 + schema: &738 title: Exemption request created event type: object properties: @@ -114436,11 +113938,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: *736 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: *734 sender: *4 required: - action @@ -114510,7 +114012,7 @@ webhooks: required: true content: application/json: - schema: &741 + schema: &739 title: Exemption response dismissed event type: object properties: @@ -114518,12 +114020,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: *736 - exemption_response: *737 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: *734 + exemption_response: *735 sender: *4 required: - action @@ -114595,7 +114097,7 @@ webhooks: required: true content: application/json: - schema: &742 + schema: &740 title: Exemption response submitted event type: object properties: @@ -114603,12 +114105,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: *736 - exemption_response: *737 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: *734 + exemption_response: *735 sender: *4 required: - action @@ -114681,7 +114183,7 @@ webhooks: required: true content: application/json: - schema: *738 + schema: *736 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114748,7 +114250,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *737 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114815,7 +114317,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *738 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114882,7 +114384,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *739 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114950,7 +114452,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115028,7 +114530,7 @@ webhooks: type: string enum: - completed - check_run: &744 + check_run: &742 title: CheckRun description: A check performed on the code of a given code change type: object @@ -115096,8 +114598,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *434 - repository: *190 + items: *432 + repository: *189 status: type: string enum: @@ -115141,7 +114643,7 @@ webhooks: - examples: - neutral - deployment: *743 + deployment: *741 details_url: type: string examples: @@ -115201,7 +114703,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *434 + items: *432 started_at: type: string format: date-time @@ -115239,9 +114741,9 @@ webhooks: - output - app - pull_requests - installation: *732 - organization: *733 - repository: *734 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - check_run @@ -115634,10 +115136,10 @@ webhooks: type: string enum: - created - check_run: *744 - installation: *732 - organization: *733 - repository: *734 + check_run: *742 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - check_run @@ -116033,10 +115535,10 @@ webhooks: type: string enum: - requested_action - check_run: *744 - installation: *732 - organization: *733 - repository: *734 + check_run: *742 + installation: *730 + organization: *731 + repository: *732 requested_action: description: The action requested by the user. type: object @@ -116441,10 +115943,10 @@ webhooks: type: string enum: - rerequested - check_run: *744 - installation: *732 - organization: *733 - repository: *734 + check_run: *742 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - check_run @@ -117436,10 +116938,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -118124,10 +117626,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -118806,10 +118308,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -118975,7 +118477,7 @@ webhooks: required: - login - id - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119127,20 +118629,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &745 + commit_oid: &743 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: *731 - installation: *732 - organization: *733 - ref: &746 + enterprise: *729 + installation: *730 + organization: *731 + ref: &744 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: *734 + repository: *732 sender: *4 required: - action @@ -119304,7 +118806,7 @@ webhooks: required: - login - id - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119545,12 +119047,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *745 - enterprise: *731 - installation: *732 - organization: *733 - ref: *746 - repository: *734 + commit_oid: *743 + enterprise: *729 + installation: *730 + organization: *731 + ref: *744 + repository: *732 sender: *4 required: - action @@ -119648,7 +119150,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119830,12 +119332,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *745 - enterprise: *731 - installation: *732 - organization: *733 - ref: *746 - repository: *734 + commit_oid: *743 + enterprise: *729 + installation: *730 + organization: *731 + ref: *744 + repository: *732 sender: *4 required: - action @@ -120001,7 +119503,7 @@ webhooks: required: - login - id - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -120178,12 +119680,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *745 - enterprise: *731 - installation: *732 - organization: *733 - ref: *746 - repository: *734 + commit_oid: *743 + enterprise: *729 + installation: *730 + organization: *731 + ref: *744 + repository: *732 sender: *4 required: - action @@ -120283,7 +119785,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120463,9 +119965,9 @@ webhooks: type: - string - 'null' - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -120473,7 +119975,7 @@ webhooks: type: - string - 'null' - repository: *734 + repository: *732 sender: *4 required: - action @@ -120569,7 +120071,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120716,12 +120218,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *745 - enterprise: *731 - installation: *732 - organization: *733 - ref: *746 - repository: *734 + commit_oid: *743 + enterprise: *729 + installation: *730 + organization: *731 + ref: *744 + repository: *732 sender: *4 required: - action @@ -120983,10 +120485,10 @@ webhooks: - updated_at - author_association - body - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -121067,18 +120569,18 @@ webhooks: type: - string - 'null' - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *733 - pusher_type: &747 + organization: *731 + pusher_type: &745 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &748 + ref: &746 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -121088,7 +120590,7 @@ webhooks: enum: - tag - branch - repository: *734 + repository: *732 sender: *4 required: - ref @@ -121171,9 +120673,9 @@ webhooks: enum: - created definition: *110 - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -121258,9 +120760,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -121338,9 +120840,9 @@ webhooks: enum: - promote_to_enterprise definition: *110 - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -121418,9 +120920,9 @@ webhooks: enum: - updated definition: *110 - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -121497,19 +120999,19 @@ webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - repository: *734 - organization: *733 + enterprise: *729 + installation: *730 + repository: *732 + organization: *731 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *313 + items: *311 old_property_values: type: array description: The old custom property values for the repository. - items: *313 + items: *311 required: - action - repository @@ -121585,18 +121087,18 @@ webhooks: title: delete event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - pusher_type: *747 - ref: *748 + enterprise: *729 + installation: *730 + organization: *731 + pusher_type: *745 + ref: *746 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *734 + repository: *732 sender: *4 required: - ref @@ -121680,11 +121182,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -121768,11 +121270,11 @@ webhooks: type: string enum: - auto_reopened - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -121856,11 +121358,11 @@ webhooks: type: string enum: - created - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -121942,11 +121444,11 @@ webhooks: type: string enum: - dismissed - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -122028,11 +121530,11 @@ webhooks: type: string enum: - fixed - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -122115,11 +121617,11 @@ webhooks: type: string enum: - reintroduced - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -122201,11 +121703,11 @@ webhooks: type: string enum: - reopened - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -122282,9 +121784,9 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - key: &749 + enterprise: *729 + installation: *730 + key: &747 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -122322,8 +121824,8 @@ webhooks: - verified - created_at - read_only - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -122400,11 +121902,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - key: *749 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + key: *747 + organization: *731 + repository: *732 sender: *4 required: - action @@ -122976,12 +122478,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: &753 + workflow: &751 title: Workflow type: - object @@ -123719,13 +123221,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *504 + deployment: *502 pull_requests: type: array - items: *586 - repository: *734 - organization: *733 - installation: *732 + items: *584 + repository: *732 + organization: *731 + installation: *730 sender: *4 responses: '200': @@ -123796,7 +123298,7 @@ webhooks: type: string enum: - approved - approver: &750 + approver: &748 type: object properties: avatar_url: @@ -123839,11 +123341,11 @@ webhooks: type: string comment: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - reviewers: &751 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + reviewers: &749 type: array items: type: object @@ -123924,7 +123426,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &752 + workflow_job_run: &750 type: object properties: conclusion: @@ -124670,18 +124172,18 @@ webhooks: type: string enum: - rejected - approver: *750 + approver: *748 comment: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - reviewers: *751 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + reviewers: *749 sender: *4 since: type: string - workflow_job_run: *752 + workflow_job_run: *750 workflow_job_runs: type: array items: @@ -125398,13 +124900,13 @@ webhooks: type: string enum: - requested - enterprise: *731 + enterprise: *729 environment: type: string - installation: *732 - organization: *733 - repository: *734 - requestor: &758 + installation: *730 + organization: *731 + repository: *732 + requestor: &756 title: User type: - object @@ -127347,12 +126849,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: *753 + workflow: *751 workflow_run: title: Deployment Workflow Run type: @@ -128043,7 +127545,7 @@ webhooks: type: string enum: - answered - answer: &756 + answer: &754 type: object properties: author_association: @@ -128203,7 +127705,7 @@ webhooks: - created_at - updated_at - body - discussion: &754 + discussion: &752 title: Discussion description: A Discussion in a repository. type: object @@ -128499,7 +128001,7 @@ webhooks: - id labels: type: array - items: *549 + items: *547 required: - repository_url - category @@ -128521,10 +128023,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -128651,11 +128153,11 @@ webhooks: - from required: - category - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -128738,11 +128240,11 @@ webhooks: type: string enum: - closed - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -128824,7 +128326,7 @@ webhooks: type: string enum: - created - comment: &755 + comment: &753 type: object properties: author_association: @@ -128984,11 +128486,11 @@ webhooks: - updated_at - body - reactions - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129071,12 +128573,12 @@ webhooks: type: string enum: - deleted - comment: *755 - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + comment: *753 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129171,12 +128673,12 @@ webhooks: - from required: - body - comment: *755 - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + comment: *753 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129260,11 +128762,11 @@ webhooks: type: string enum: - created - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129346,11 +128848,11 @@ webhooks: type: string enum: - deleted - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129450,11 +128952,11 @@ webhooks: type: string required: - from - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129536,10 +129038,10 @@ webhooks: type: string enum: - labeled - discussion: *754 - enterprise: *731 - installation: *732 - label: &757 + discussion: *752 + enterprise: *729 + installation: *730 + label: &755 title: Label type: object properties: @@ -129572,8 +129074,8 @@ webhooks: - color - default - description - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129656,11 +129158,11 @@ webhooks: type: string enum: - locked - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129742,11 +129244,11 @@ webhooks: type: string enum: - pinned - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129828,11 +129330,11 @@ webhooks: type: string enum: - reopened - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129917,16 +129419,16 @@ webhooks: changes: type: object properties: - new_discussion: *754 - new_repository: *734 + new_discussion: *752 + new_repository: *732 required: - new_discussion - new_repository - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130009,10 +129511,10 @@ webhooks: type: string enum: - unanswered - discussion: *754 - old_answer: *756 - organization: *733 - repository: *734 + discussion: *752 + old_answer: *754 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130094,12 +129596,12 @@ webhooks: type: string enum: - unlabeled - discussion: *754 - enterprise: *731 - installation: *732 - label: *757 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130182,11 +129684,11 @@ webhooks: type: string enum: - unlocked - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130268,11 +129770,11 @@ webhooks: type: string enum: - unpinned - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130344,7 +129846,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *738 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130410,7 +129912,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130476,7 +129978,7 @@ webhooks: required: true content: application/json: - schema: *738 + schema: *736 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130542,7 +130044,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *737 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130608,7 +130110,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *738 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130674,7 +130176,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *739 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130740,7 +130242,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130807,7 +130309,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *731 + enterprise: *729 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -131485,9 +130987,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *732 - organization: *733 - repository: *734 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - forkee @@ -131633,9 +131135,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pages: description: The pages that were updated. type: array @@ -131673,7 +131175,7 @@ webhooks: - action - sha - html_url - repository: *734 + repository: *732 sender: *4 required: - pages @@ -131749,10 +131251,10 @@ webhooks: type: string enum: - created - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: &759 + organization: *731 + repositories: &757 description: An array of repository objects that the installation can access. type: array @@ -131778,8 +131280,8 @@ webhooks: - name - full_name - private - repository: *734 - requester: *758 + repository: *732 + requester: *756 sender: *4 required: - action @@ -131854,11 +131356,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: *759 - repository: *734 + organization: *731 + repositories: *757 + repository: *732 requester: type: - 'null' @@ -131935,11 +131437,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: *759 - repository: *734 + organization: *731 + repositories: *757 + repository: *732 requester: type: - 'null' @@ -132016,10 +131518,10 @@ webhooks: type: string enum: - added - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories_added: &760 + organization: *731 + repositories_added: &758 description: An array of repository objects, which were added to the installation. type: array @@ -132065,15 +131567,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *734 - repository_selection: &761 + repository: *732 + repository_selection: &759 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *758 + requester: *756 sender: *4 required: - action @@ -132152,10 +131654,10 @@ webhooks: type: string enum: - removed - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories_added: *760 + organization: *731 + repositories_added: *758 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -132182,9 +131684,9 @@ webhooks: - name - full_name - private - repository: *734 - repository_selection: *761 - requester: *758 + repository: *732 + repository_selection: *759 + requester: *756 sender: *4 required: - action @@ -132263,11 +131765,11 @@ webhooks: type: string enum: - suspend - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: *759 - repository: *734 + organization: *731 + repositories: *757 + repository: *732 requester: type: - 'null' @@ -132450,10 +131952,10 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 target_type: type: string @@ -132532,11 +132034,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: *759 - repository: *734 + organization: *731 + repositories: *757 + repository: *732 requester: type: - 'null' @@ -132784,8 +132286,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133632,7 +133134,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -133976,8 +133478,8 @@ webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -134057,7 +133559,7 @@ webhooks: type: string enum: - deleted - comment: &762 + comment: &760 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -134224,8 +133726,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135068,7 +134570,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -135414,8 +134916,8 @@ webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -135495,7 +134997,7 @@ webhooks: type: string enum: - edited - changes: &787 + changes: &785 description: The changes to the comment. type: object properties: @@ -135507,9 +135009,9 @@ webhooks: type: string required: - from - comment: *762 - enterprise: *731 - installation: *732 + comment: *760 + enterprise: *729 + installation: *730 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -136355,7 +135857,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -136699,8 +136201,8 @@ webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -136782,10 +136284,10 @@ webhooks: type: string enum: - assigned - assignee: *758 - enterprise: *731 - installation: *732 - issue: &765 + assignee: *756 + enterprise: *729 + installation: *730 + issue: &763 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137627,7 +137129,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -137730,8 +137232,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -137811,8 +137313,8 @@ webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138659,7 +138161,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -138905,8 +138407,8 @@ webhooks: required: - state - closed_at - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -138985,8 +138487,8 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139822,7 +139324,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -139924,8 +139426,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -140004,8 +139506,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140866,7 +140368,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -140947,7 +140449,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &763 + milestone: &761 title: Milestone description: A collection of related issues and pull requests. type: object @@ -141090,8 +140592,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -141190,8 +140692,8 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142030,7 +141532,7 @@ webhooks: timeline_url: type: string format: uri - type: *278 + type: *276 title: description: Title of the issue type: string @@ -142136,9 +141638,9 @@ webhooks: - active_lock_reason - body - reactions - label: *757 - organization: *733 - repository: *734 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -142218,8 +141720,8 @@ webhooks: type: string enum: - labeled - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143057,7 +142559,7 @@ webhooks: timeline_url: type: string format: uri - type: *278 + type: *276 title: description: Title of the issue type: string @@ -143163,9 +142665,9 @@ webhooks: - active_lock_reason - body - reactions - label: *757 - organization: *733 - repository: *734 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -143245,8 +142747,8 @@ webhooks: type: string enum: - locked - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144109,7 +143611,7 @@ webhooks: timeline_url: type: string format: uri - type: *278 + type: *276 title: description: Title of the issue type: string @@ -144192,8 +143694,8 @@ webhooks: format: uri user_view_type: type: string - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -144272,8 +143774,8 @@ webhooks: type: string enum: - milestoned - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145133,7 +144635,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -145213,9 +144715,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *763 - organization: *733 - repository: *734 + milestone: *761 + organization: *731 + repository: *732 sender: *4 required: - action @@ -146715,8 +146217,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147558,7 +147060,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -147660,8 +147162,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -147741,9 +147243,9 @@ webhooks: type: string enum: - pinned - enterprise: *731 - installation: *732 - issue: &764 + enterprise: *729 + installation: *730 + issue: &762 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148579,7 +148081,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -148681,8 +148183,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -148761,8 +148263,8 @@ webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149706,9 +149208,9 @@ webhooks: format: uri user_view_type: type: string - type: *278 - organization: *733 - repository: *734 + type: *276 + organization: *731 + repository: *732 sender: *4 required: - action @@ -150627,7 +150129,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -151209,11 +150711,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *731 - installation: *732 - issue: *764 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + issue: *762 + organization: *731 + repository: *732 sender: *4 required: - action @@ -151233,6 +150735,91 @@ 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: *729 + installation: *730 + issue: *763 + type: *276 + organization: *731 + repository: *732 + 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: |- @@ -151294,7 +150881,7 @@ webhooks: type: string enum: - unassigned - assignee: &790 + assignee: &788 title: User type: - object @@ -151366,11 +150953,11 @@ webhooks: required: - login - id - enterprise: *731 - installation: *732 - issue: *765 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + issue: *763 + organization: *731 + repository: *732 sender: *4 required: - action @@ -151449,12 +151036,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *731 - installation: *732 - issue: *765 - label: *757 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + issue: *763 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -151534,8 +151121,8 @@ webhooks: type: string enum: - unlocked - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152399,7 +151986,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -152479,8 +152066,8 @@ webhooks: format: uri user_view_type: type: string - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -152560,15 +152147,100 @@ webhooks: type: string enum: - unpinned - enterprise: *731 - installation: *732 - issue: *764 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + issue: *762 + organization: *731 + repository: *732 + 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: *729 + installation: *730 + issue: *763 + type: *276 + organization: *731 + repository: *732 sender: *4 required: - action - issue + - type - repository - sender responses: @@ -152643,11 +152315,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - label: *757 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -152725,11 +152397,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - label: *757 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -152839,11 +152511,11 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - label: *757 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -152925,9 +152597,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: &766 + enterprise: *729 + installation: *730 + marketplace_purchase: &764 title: Marketplace Purchase type: object required: @@ -153015,8 +152687,8 @@ webhooks: type: integer unit_count: type: integer - organization: *733 - previous_marketplace_purchase: &767 + organization: *731 + previous_marketplace_purchase: &765 title: Marketplace Purchase type: object properties: @@ -153100,7 +152772,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *732 sender: *4 required: - action @@ -153180,10 +152852,10 @@ webhooks: - changed effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *766 - organization: *733 + enterprise: *729 + installation: *730 + marketplace_purchase: *764 + organization: *731 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153271,7 +152943,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *732 sender: *4 required: - action @@ -153353,10 +153025,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *766 - organization: *733 + enterprise: *729 + installation: *730 + marketplace_purchase: *764 + organization: *731 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153442,7 +153114,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *732 sender: *4 required: - action @@ -153523,8 +153195,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 marketplace_purchase: title: Marketplace Purchase type: object @@ -153610,9 +153282,9 @@ webhooks: type: integer unit_count: type: integer - organization: *733 - previous_marketplace_purchase: *767 - repository: *734 + organization: *731 + previous_marketplace_purchase: *765 + repository: *732 sender: *4 required: - action @@ -153692,12 +153364,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *766 - organization: *733 - previous_marketplace_purchase: *767 - repository: *734 + enterprise: *729 + installation: *730 + marketplace_purchase: *764 + organization: *731 + previous_marketplace_purchase: *765 + repository: *732 sender: *4 required: - action @@ -153799,11 +153471,11 @@ webhooks: type: string required: - to - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 sender: *4 required: - action @@ -153905,11 +153577,11 @@ webhooks: type: - string - 'null' - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 sender: *4 required: - action @@ -153988,11 +153660,11 @@ webhooks: type: string enum: - removed - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 sender: *4 required: - action @@ -154070,11 +153742,11 @@ webhooks: type: string enum: - added - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154152,7 +153824,7 @@ webhooks: required: - login - id - team: &768 + team: &766 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -154345,11 +154017,11 @@ webhooks: type: string enum: - removed - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154428,7 +154100,7 @@ webhooks: required: - login - id - team: *768 + team: *766 required: - action - scope @@ -154510,8 +154182,8 @@ webhooks: type: string enum: - checks_requested - installation: *732 - merge_group: &769 + installation: *730 + merge_group: &767 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -154530,15 +154202,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *438 + head_commit: *436 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -154624,10 +154296,10 @@ webhooks: - merged - invalidated - dequeued - installation: *732 - merge_group: *769 - organization: *733 - repository: *734 + installation: *730 + merge_group: *767 + organization: *731 + repository: *732 sender: *4 required: - action @@ -154700,7 +154372,7 @@ webhooks: type: string enum: - deleted - enterprise: *731 + enterprise: *729 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -154808,12 +154480,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *732 - organization: *733 + installation: *730 + organization: *731 repository: anyOf: - type: 'null' - - *734 + - *732 sender: *4 required: - action @@ -154893,11 +154565,11 @@ webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - milestone: *763 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + milestone: *761 + organization: *731 + repository: *732 sender: *4 required: - action @@ -154976,9 +154648,9 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - milestone: &770 + enterprise: *729 + installation: *730 + milestone: &768 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155120,8 +154792,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155200,11 +154872,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - milestone: *763 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + milestone: *761 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155314,11 +154986,11 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - milestone: *763 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + milestone: *761 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155398,11 +155070,11 @@ webhooks: type: string enum: - opened - enterprise: *731 - installation: *732 - milestone: *770 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + milestone: *768 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155481,11 +155153,11 @@ webhooks: type: string enum: - blocked - blocked_user: *758 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + blocked_user: *756 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155564,11 +155236,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *758 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + blocked_user: *756 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155647,9 +155319,9 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - membership: &771 + enterprise: *729 + installation: *730 + membership: &769 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -155743,8 +155415,8 @@ webhooks: - role - organization_url - user - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155822,11 +155494,11 @@ webhooks: type: string enum: - member_added - enterprise: *731 - installation: *732 - membership: *771 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + membership: *769 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155905,8 +155577,8 @@ webhooks: type: string enum: - member_invited - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -156028,10 +155700,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 - user: *758 + user: *756 required: - action - invitation @@ -156109,11 +155781,11 @@ webhooks: type: string enum: - member_removed - enterprise: *731 - installation: *732 - membership: *771 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + membership: *769 + organization: *731 + repository: *732 sender: *4 required: - action @@ -156200,11 +155872,11 @@ webhooks: properties: from: type: string - enterprise: *731 - installation: *732 - membership: *771 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + membership: *769 + organization: *731 + repository: *732 sender: *4 required: - action @@ -156280,9 +155952,9 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 package: description: Information about the package. type: object @@ -156805,7 +156477,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &772 + items: &770 title: Ruby Gems metadata type: object properties: @@ -156902,7 +156574,7 @@ webhooks: - owner - package_version - registry - repository: *734 + repository: *732 sender: *4 required: - action @@ -156978,9 +156650,9 @@ webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 package: description: Information about the package. type: object @@ -157342,7 +157014,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *772 + items: *770 source_url: type: string format: uri @@ -157413,7 +157085,7 @@ webhooks: - owner - package_version - registry - repository: *734 + repository: *732 sender: *4 required: - action @@ -157594,12 +157266,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *731 + enterprise: *729 id: type: integer - installation: *732 - organization: *733 - repository: *734 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - id @@ -157676,7 +157348,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &773 + personal_access_token_request: &771 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -157826,10 +157498,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *731 - organization: *733 + enterprise: *729 + organization: *731 sender: *4 - installation: *732 + installation: *730 required: - action - personal_access_token_request @@ -157906,11 +157578,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *773 - enterprise: *731 - organization: *733 + personal_access_token_request: *771 + enterprise: *729 + organization: *731 sender: *4 - installation: *732 + installation: *730 required: - action - personal_access_token_request @@ -157986,11 +157658,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *773 - enterprise: *731 - organization: *733 + personal_access_token_request: *771 + enterprise: *729 + organization: *731 sender: *4 - installation: *732 + installation: *730 required: - action - personal_access_token_request @@ -158065,11 +157737,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *773 - organization: *733 - enterprise: *731 + personal_access_token_request: *771 + organization: *731 + enterprise: *729 sender: *4 - installation: *732 + installation: *730 required: - action - personal_access_token_request @@ -158174,7 +157846,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *774 + last_response: *772 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -158206,8 +157878,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 zen: description: Random string of GitHub zen. @@ -158452,10 +158124,10 @@ webhooks: - from required: - note - enterprise: *731 - installation: *732 - organization: *733 - project_card: &775 + enterprise: *729 + installation: *730 + organization: *731 + project_card: &773 title: Project Card type: object properties: @@ -158578,7 +158250,7 @@ webhooks: - creator - created_at - updated_at - repository: *734 + repository: *732 sender: *4 required: - action @@ -158659,11 +158331,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project_card: *775 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project_card: *773 + repository: *732 sender: *4 required: - action @@ -158743,9 +158415,9 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 project_card: title: Project Card type: object @@ -158875,7 +158547,7 @@ webhooks: repository: anyOf: - type: 'null' - - *734 + - *732 sender: *4 required: - action @@ -158969,11 +158641,11 @@ webhooks: - from required: - note - enterprise: *731 - installation: *732 - organization: *733 - project_card: *775 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project_card: *773 + repository: *732 sender: *4 required: - action @@ -159067,9 +158739,9 @@ webhooks: - from required: - column_id - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 project_card: allOf: - title: Project Card @@ -159266,7 +158938,7 @@ webhooks: type: string required: - after_id - repository: *734 + repository: *732 sender: *4 required: - action @@ -159346,10 +159018,10 @@ webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - organization: *733 - project: &777 + enterprise: *729 + installation: *730 + organization: *731 + project: &775 title: Project type: object properties: @@ -159476,7 +159148,7 @@ webhooks: - creator - created_at - updated_at - repository: *734 + repository: *732 sender: *4 required: - action @@ -159556,10 +159228,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project_column: &776 + enterprise: *729 + installation: *730 + organization: *731 + project_column: &774 title: Project Column type: object properties: @@ -159599,7 +159271,7 @@ webhooks: - name - created_at - updated_at - repository: *734 + repository: *732 sender: *4 required: - action @@ -159678,14 +159350,14 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - project_column: *776 + enterprise: *729 + installation: *730 + organization: *731 + project_column: *774 repository: anyOf: - type: 'null' - - *734 + - *732 sender: *4 required: - action @@ -159774,11 +159446,11 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - project_column: *776 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project_column: *774 + repository: *732 sender: *4 required: - action @@ -159858,11 +159530,11 @@ webhooks: type: string enum: - moved - enterprise: *731 - installation: *732 - organization: *733 - project_column: *776 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project_column: *774 + repository: *732 sender: *4 required: - action @@ -159942,11 +159614,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project: *777 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project: *775 + repository: *732 sender: *4 required: - action @@ -160026,14 +159698,14 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - project: *777 + enterprise: *729 + installation: *730 + organization: *731 + project: *775 repository: anyOf: - type: 'null' - - *734 + - *732 sender: *4 required: - action @@ -160134,11 +159806,11 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - project: *777 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project: *775 + repository: *732 sender: *4 required: - action @@ -160217,11 +159889,11 @@ webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 - organization: *733 - project: *777 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project: *775 + repository: *732 sender: *4 required: - action @@ -160302,9 +159974,9 @@ webhooks: type: string enum: - closed - installation: *732 - organization: *733 - projects_v2: &778 + installation: *730 + organization: *731 + projects_v2: &776 title: Projects v2 Project description: A projects v2 project type: object @@ -160452,9 +160124,9 @@ webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2: *778 + installation: *730 + organization: *731 + projects_v2: *776 sender: *4 required: - action @@ -160535,9 +160207,9 @@ webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2: *778 + installation: *730 + organization: *731 + projects_v2: *776 sender: *4 required: - action @@ -160658,9 +160330,9 @@ webhooks: type: string to: type: string - installation: *732 - organization: *733 - projects_v2: *778 + installation: *730 + organization: *731 + projects_v2: *776 sender: *4 required: - action @@ -160743,7 +160415,7 @@ webhooks: type: string enum: - archived - changes: &782 + changes: &780 type: object properties: archived_at: @@ -160759,9 +160431,9 @@ webhooks: - string - 'null' format: date-time - installation: *732 - organization: *733 - projects_v2_item: &779 + installation: *730 + organization: *731 + projects_v2_item: &777 title: Projects v2 Item description: An item belonging to a project type: object @@ -160900,9 +160572,9 @@ webhooks: - 'null' to: type: string - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -160984,9 +160656,9 @@ webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161067,9 +160739,9 @@ webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161174,7 +160846,7 @@ webhooks: oneOf: - type: string - type: integer - - &780 + - &778 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -161194,7 +160866,7 @@ webhooks: required: - id - name - - &781 + - &779 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -161223,8 +160895,8 @@ webhooks: oneOf: - type: string - type: integer - - *780 - - *781 + - *778 + - *779 type: - 'null' - string @@ -161247,9 +160919,9 @@ webhooks: - 'null' required: - body - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161346,9 +161018,9 @@ webhooks: type: - string - 'null' - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161431,10 +161103,10 @@ webhooks: type: string enum: - restored - changes: *782 - installation: *732 - organization: *733 - projects_v2_item: *779 + changes: *780 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161516,9 +161188,9 @@ webhooks: type: string enum: - reopened - installation: *732 - organization: *733 - projects_v2: *778 + installation: *730 + organization: *731 + projects_v2: *776 sender: *4 required: - action @@ -161599,9 +161271,9 @@ webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2_status_update: &783 + installation: *730 + organization: *731 + projects_v2_status_update: &781 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -161736,9 +161408,9 @@ webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2_status_update: *783 + installation: *730 + organization: *731 + projects_v2_status_update: *781 sender: *4 required: - action @@ -161884,9 +161556,9 @@ webhooks: - string - 'null' format: date - installation: *732 - organization: *733 - projects_v2_status_update: *783 + installation: *730 + organization: *731 + projects_v2_status_update: *781 sender: *4 required: - action @@ -161957,10 +161629,10 @@ webhooks: title: public event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - repository @@ -162037,13 +161709,13 @@ webhooks: type: string enum: - assigned - assignee: *758 - enterprise: *731 - installation: *732 - number: &784 + assignee: *756 + enterprise: *729 + installation: *730 + number: &782 description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -164392,7 +164064,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -164474,11 +164146,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -166820,7 +166492,7 @@ webhooks: - draft reason: type: string - repository: *734 + repository: *732 sender: *4 required: - action @@ -166902,11 +166574,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -169248,7 +168920,7 @@ webhooks: - draft reason: type: string - repository: *734 + repository: *732 sender: *4 required: - action @@ -169330,13 +169002,13 @@ webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: &785 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: &783 allOf: - - *586 + - *584 - type: object properties: allow_auto_merge: @@ -169398,7 +169070,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *734 + repository: *732 sender: *4 required: - action @@ -169479,12 +169151,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -169564,11 +169236,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *731 - milestone: *484 - number: *784 - organization: *733 - pull_request: &786 + enterprise: *729 + milestone: *482 + number: *782 + organization: *731 + pull_request: &784 title: Pull Request type: object properties: @@ -171895,7 +171567,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -171974,11 +171646,11 @@ webhooks: type: string enum: - dequeued - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -174324,7 +173996,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *734 + repository: *732 sender: *4 required: - action @@ -174448,12 +174120,12 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -174533,11 +174205,11 @@ webhooks: type: string enum: - enqueued - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -176868,7 +176540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -176948,11 +176620,11 @@ webhooks: type: string enum: - labeled - enterprise: *731 - installation: *732 - label: *757 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + label: *755 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -179300,7 +178972,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -179381,10 +179053,10 @@ webhooks: type: string enum: - locked - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -181730,7 +181402,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -181810,12 +181482,12 @@ webhooks: type: string enum: - milestoned - enterprise: *731 - milestone: *484 - number: *784 - organization: *733 - pull_request: *786 - repository: *734 + enterprise: *729 + milestone: *482 + number: *782 + organization: *731 + pull_request: *784 + repository: *732 sender: *4 required: - action @@ -181894,12 +181566,12 @@ webhooks: type: string enum: - opened - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -181980,12 +181652,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -182065,12 +181737,12 @@ webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -182445,9 +182117,9 @@ webhooks: - start_side - side - reactions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: type: object properties: @@ -184677,7 +184349,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *732 sender: *4 required: - action @@ -184757,7 +184429,7 @@ webhooks: type: string enum: - deleted - comment: &788 + comment: &786 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. @@ -185050,9 +184722,9 @@ webhooks: - start_side - side - reactions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: type: object properties: @@ -187270,7 +186942,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *732 sender: *4 required: - action @@ -187350,11 +187022,11 @@ webhooks: type: string enum: - edited - changes: *787 - comment: *788 - enterprise: *731 - installation: *732 - organization: *733 + changes: *785 + comment: *786 + enterprise: *729 + installation: *730 + organization: *731 pull_request: type: object properties: @@ -189575,7 +189247,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *732 sender: *4 required: - action @@ -189656,9 +189328,9 @@ webhooks: type: string enum: - dismissed - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -191891,7 +191563,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *732 review: description: The review that was affected. type: object @@ -192137,9 +191809,9 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -194253,8 +193925,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 - review: &789 + repository: *732 + review: &787 description: The review that was affected. type: object properties: @@ -194487,12 +194159,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -196839,7 +196511,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 requested_reviewer: title: User type: @@ -196925,12 +196597,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -199284,7 +198956,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199479,12 +199151,12 @@ webhooks: type: string enum: - review_requested - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -201833,7 +201505,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 requested_reviewer: title: User type: @@ -201920,12 +201592,12 @@ webhooks: type: string enum: - review_requested - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -204265,7 +203937,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204449,9 +204121,9 @@ webhooks: type: string enum: - submitted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -206687,8 +206359,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 - review: *789 + repository: *732 + review: *787 sender: *4 required: - action @@ -206768,9 +206440,9 @@ webhooks: type: string enum: - resolved - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -208901,7 +208573,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *732 sender: *4 thread: type: object @@ -209293,9 +208965,9 @@ webhooks: type: string enum: - unresolved - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -211409,7 +211081,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *732 sender: *4 thread: type: object @@ -211803,10 +211475,10 @@ webhooks: type: string before: type: string - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -214141,7 +213813,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -214223,11 +213895,11 @@ webhooks: type: string enum: - unassigned - assignee: *790 - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + assignee: *788 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -216577,7 +216249,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -216656,11 +216328,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *731 - installation: *732 - label: *757 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + label: *755 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -218999,7 +218671,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -219080,10 +218752,10 @@ webhooks: type: string enum: - unlocked - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -221412,7 +221084,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -221615,7 +221287,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *731 + enterprise: *729 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -221710,8 +221382,8 @@ webhooks: - url - author - committer - installation: *732 - organization: *733 + installation: *730 + organization: *731 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -222299,9 +221971,9 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 registry_package: type: object properties: @@ -222778,7 +222450,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *772 + items: *770 summary: type: string tag_name: @@ -222834,7 +222506,7 @@ webhooks: - owner - package_version - registry - repository: *734 + repository: *732 sender: *4 required: - action @@ -222912,9 +222584,9 @@ webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 registry_package: type: object properties: @@ -223226,7 +222898,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *772 + items: *770 summary: type: string tag_name: @@ -223276,7 +222948,7 @@ webhooks: - owner - package_version - registry - repository: *734 + repository: *732 sender: *4 required: - action @@ -223353,10 +223025,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - release: &791 + enterprise: *729 + installation: *730 + organization: *731 + release: &789 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -223672,7 +223344,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *734 + repository: *732 sender: *4 required: - action @@ -223749,11 +223421,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + release: *789 + repository: *732 sender: *4 required: - action @@ -223870,11 +223542,11 @@ webhooks: type: boolean required: - to - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + release: *789 + repository: *732 sender: *4 required: - action @@ -223952,9 +223624,9 @@ webhooks: type: string enum: - prereleased - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -224275,7 +223947,7 @@ webhooks: - string - 'null' format: uri - repository: *734 + repository: *732 sender: *4 required: - action @@ -224351,10 +224023,10 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - release: &792 + enterprise: *729 + installation: *730 + organization: *731 + release: &790 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224672,7 +224344,7 @@ webhooks: - string - 'null' format: uri - repository: *734 + repository: *732 sender: *4 required: - action @@ -224748,11 +224420,11 @@ webhooks: type: string enum: - released - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + release: *789 + repository: *732 sender: *4 required: - action @@ -224828,11 +224500,11 @@ webhooks: type: string enum: - unpublished - enterprise: *731 - installation: *732 - organization: *733 - release: *792 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + release: *790 + repository: *732 sender: *4 required: - action @@ -224908,11 +224580,11 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_advisory: *643 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + repository_advisory: *641 sender: *4 required: - action @@ -224988,11 +224660,11 @@ webhooks: type: string enum: - reported - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_advisory: *643 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + repository_advisory: *641 sender: *4 required: - action @@ -225068,10 +224740,10 @@ webhooks: type: string enum: - archived - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225148,10 +224820,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225229,10 +224901,10 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225317,10 +224989,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225435,10 +225107,10 @@ webhooks: - 'null' items: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225510,10 +225182,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 status: type: string @@ -225594,10 +225266,10 @@ webhooks: type: string enum: - privatized - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225674,10 +225346,10 @@ webhooks: type: string enum: - publicized - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225771,10 +225443,10 @@ webhooks: - name required: - repository - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225854,10 +225526,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 repository_ruleset: *124 sender: *4 required: @@ -225936,10 +225608,10 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 repository_ruleset: *124 sender: *4 required: @@ -226018,10 +225690,10 @@ webhooks: type: string enum: - edited - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 repository_ruleset: *124 changes: type: object @@ -226329,10 +226001,10 @@ webhooks: - from required: - owner - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -226410,10 +226082,10 @@ webhooks: type: string enum: - unarchived - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -226491,7 +226163,7 @@ webhooks: type: string enum: - create - alert: &793 + alert: &791 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -226615,10 +226287,10 @@ webhooks: type: string enum: - open - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -226828,10 +226500,10 @@ webhooks: type: string enum: - dismissed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -226909,11 +226581,11 @@ webhooks: type: string enum: - reopen - alert: *793 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *791 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227115,10 +226787,10 @@ webhooks: enum: - fixed - open - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227196,7 +226868,7 @@ webhooks: type: string enum: - created - alert: &794 + alert: &792 type: object properties: number: *96 @@ -227306,10 +226978,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227390,11 +227062,11 @@ webhooks: type: string enum: - created - alert: *794 - installation: *732 - location: *795 - organization: *733 - repository: *734 + alert: *792 + installation: *730 + location: *793 + organization: *731 + repository: *732 sender: *4 required: - location @@ -227632,11 +227304,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *792 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227714,11 +227386,11 @@ webhooks: type: string enum: - reopened - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *792 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227796,11 +227468,11 @@ webhooks: type: string enum: - resolved - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *792 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227878,11 +227550,11 @@ webhooks: type: string enum: - validated - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *792 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -228012,10 +227684,10 @@ webhooks: - organization - enterprise - - repository: *734 - enterprise: *731 - installation: *732 - organization: *733 + repository: *732 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -228093,11 +227765,11 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - security_advisory: &796 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + security_advisory: &794 description: The details of the security advisory, including summary, description, and severity. type: object @@ -228283,11 +227955,11 @@ webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - security_advisory: *796 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + security_advisory: *794 sender: *4 required: - action @@ -228360,10 +228032,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -228549,11 +228221,11 @@ webhooks: from: type: object properties: - security_and_analysis: *314 - enterprise: *731 - installation: *732 - organization: *733 - repository: *375 + security_and_analysis: *312 + enterprise: *729 + installation: *730 + organization: *731 + repository: *373 sender: *4 required: - changes @@ -228631,12 +228303,12 @@ webhooks: type: string enum: - cancelled - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: &797 + sponsorship: &795 type: object properties: created_at: @@ -228941,12 +228613,12 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - sponsorship @@ -229034,12 +228706,12 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - changes @@ -229116,17 +228788,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &798 + effective_date: &796 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: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - sponsorship @@ -229200,7 +228872,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &799 + changes: &797 type: object properties: tier: @@ -229244,13 +228916,13 @@ webhooks: - from required: - tier - effective_date: *798 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + effective_date: *796 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - changes @@ -229327,13 +228999,13 @@ webhooks: type: string enum: - tier_changed - changes: *799 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + changes: *797 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - changes @@ -229407,10 +229079,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229494,10 +229166,10 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229931,15 +229603,15 @@ webhooks: type: - string - 'null' - enterprise: *731 + enterprise: *729 id: description: The unique identifier of the status. type: integer - installation: *732 + installation: *730 name: type: string - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 sha: description: The Commit SHA. @@ -230049,15 +229721,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *148 + parent_issue: *147 parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *148 - installation: *732 - organization: *733 - repository: *734 + sub_issue: *147 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -230141,15 +229813,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *148 + parent_issue: *147 parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *148 - installation: *732 - organization: *733 - repository: *734 + sub_issue: *147 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -230233,15 +229905,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *148 + sub_issue: *147 sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *148 - installation: *732 - organization: *733 - repository: *734 + parent_issue: *147 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -230325,15 +229997,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *148 + sub_issue: *147 sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *148 - installation: *732 - organization: *733 - repository: *734 + parent_issue: *147 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -230410,12 +230082,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - team: &800 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -230608,9 +230280,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -231080,7 +230752,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - team @@ -231156,9 +230828,9 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -231628,7 +231300,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - team @@ -231705,9 +231377,9 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -232177,7 +231849,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - team @@ -232321,9 +231993,9 @@ webhooks: - from required: - permissions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -232793,7 +232465,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - changes @@ -232871,9 +232543,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -233343,7 +233015,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - team @@ -233419,10 +233091,10 @@ webhooks: type: string enum: - started - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -233495,17 +233167,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *731 + enterprise: *729 inputs: type: - object - 'null' additionalProperties: true - installation: *732 - organization: *733 + installation: *730 + organization: *731 ref: type: string - repository: *734 + repository: *732 sender: *4 workflow: type: string @@ -233587,10 +233259,10 @@ webhooks: type: string enum: - completed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 workflow_job: allOf: @@ -233846,7 +233518,7 @@ webhooks: type: string required: - conclusion - deployment: *504 + deployment: *502 required: - action - repository @@ -233925,10 +233597,10 @@ webhooks: type: string enum: - in_progress - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 workflow_job: allOf: @@ -234210,7 +233882,7 @@ webhooks: required: - status - steps - deployment: *504 + deployment: *502 required: - action - repository @@ -234289,10 +233961,10 @@ webhooks: type: string enum: - queued - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 workflow_job: type: object @@ -234438,7 +234110,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *504 + deployment: *502 required: - action - repository @@ -234517,10 +234189,10 @@ webhooks: type: string enum: - waiting - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 workflow_job: type: object @@ -234667,7 +234339,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *504 + deployment: *502 required: - action - repository @@ -234747,12 +234419,12 @@ webhooks: type: string enum: - completed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: *753 + workflow: *751 workflow_run: title: Workflow Run type: object @@ -235771,12 +235443,12 @@ webhooks: type: string enum: - in_progress - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: *753 + workflow: *751 workflow_run: title: Workflow Run type: object @@ -236780,12 +236452,12 @@ webhooks: type: string enum: - requested - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: *753 + workflow: *751 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 9b8e8db9f2..aa954455eb 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -37017,366 +37017,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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", @@ -53039,17 +52679,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": [ { @@ -53062,414 +52702,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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": { @@ -117888,17 +117159,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": [ { @@ -117911,39 +117182,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" } } ], @@ -117955,178 +117215,150 @@ "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." + "description": "User login that owns the underlying credential.", + "examples": [ + "monalisa" + ] }, - "total_suggestions_count": { + "credential_id": { "type": "integer", - "description": "The total number of Copilot code completion suggestions shown to users." + "description": "Unique identifier for the authorization of the credential. Use this to revoke authorization of the underlying token or key.", + "examples": [ + 1 + ] }, - "total_acceptances_count": { - "type": "integer", - "description": "The total number of Copilot code completion suggestions accepted by users." + "credential_type": { + "type": "string", + "description": "Human-readable description of the credential type.", + "examples": [ + "SSH Key" + ] }, - "total_lines_suggested": { - "type": "integer", - "description": "The total number of lines of code completions suggested by Copilot." + "token_last_eight": { + "type": "string", + "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token.", + "examples": [ + "12345678" + ] }, - "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", + "description": "Date when the credential was authorized for use.", + "examples": [ + "2011-01-26T19:06:43Z" + ] }, - "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", + "description": "List of oauth scopes the token has been granted.", + "items": { + "type": "string" + }, + "examples": [ + "user", + "repo" + ] }, - "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", + "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key.", + "examples": [ + "jklmnop12345678" + ] }, - "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", + "null" + ], + "format": "date-time", + "description": "Date when the credential was last accessed. May be null if it was never accessed", + "examples": [ + "2011-01-26T19:06:43Z" + ] }, - "total_active_chat_users": { - "type": "integer", - "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." + "authorized_credential_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the underlying token that was authorized by the user. This will remain unchanged across authorizations of the token.", + "examples": [ + 12345678 + ] }, - "breakdown": { + "authorized_credential_title": { "type": [ - "array", + "string", "null" ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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." - } - } - } + "description": "The title given to the ssh key. This will only be present when the credential is an ssh key.", + "examples": [ + "my ssh key" + ] + }, + "authorized_credential_note": { + "type": [ + "string", + "null" + ], + "description": "The note given to the token. This will only be present when the credential is a token.", + "examples": [ + "my token" + ] + }, + "authorized_credential_expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "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" ] } ] @@ -118134,374 +117366,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", - "description": "User login that owns the underlying credential.", - "examples": [ - "monalisa" - ] - }, - "credential_id": { - "type": "integer", - "description": "Unique identifier for the authorization of the credential. Use this to revoke authorization of the underlying token or key.", - "examples": [ - 1 - ] - }, - "credential_type": { - "type": "string", - "description": "Human-readable description of the credential type.", - "examples": [ - "SSH Key" - ] - }, - "token_last_eight": { - "type": "string", - "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token.", - "examples": [ - "12345678" - ] - }, - "credential_authorized_at": { - "type": "string", - "format": "date-time", - "description": "Date when the credential was authorized for use.", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "scopes": { - "type": "array", - "description": "List of oauth scopes the token has been granted.", - "items": { - "type": "string" - }, - "examples": [ - "user", - "repo" - ] - }, - "fingerprint": { - "type": "string", - "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key.", - "examples": [ - "jklmnop12345678" - ] - }, - "credential_accessed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "Date when the credential was last accessed. May be null if it was never accessed", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "authorized_credential_id": { - "type": [ - "integer", - "null" - ], - "description": "The ID of the underlying token that was authorized by the user. This will remain unchanged across authorizations of the token.", - "examples": [ - 12345678 - ] - }, - "authorized_credential_title": { - "type": [ - "string", - "null" - ], - "description": "The title given to the ssh key. This will only be present when the credential is an ssh key.", - "examples": [ - "my ssh key" - ] - }, - "authorized_credential_note": { - "type": [ - "string", - "null" - ], - "description": "The note given to the token. This will only be present when the credential is a token.", - "examples": [ - "my token" - ] - }, - "authorized_credential_expires_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "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": { @@ -193240,375 +192151,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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", @@ -319815,7 +318357,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" ], @@ -976913,11 +975455,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" }, @@ -976984,114 +975526,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", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } - }, - "required": [ - "login", - "id" + "typed" ] }, "enterprise": { @@ -978542,6 +976983,73 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, "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.", @@ -980302,6 +978810,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] @@ -980326,11 +978835,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" }, @@ -980397,13 +978906,114 @@ "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", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" ] }, "enterprise": { @@ -980831,16 +979441,6708 @@ "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", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "App", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "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", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "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", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "App", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "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", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "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", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "label": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "type": "object", + "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", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": [ + "object", + "null" + ], + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + } } }, "labels_url": { @@ -980848,7 +986150,10 @@ "format": "uri-template" }, "locked": { - "type": "boolean" + "type": "boolean", + "enum": [ + false + ] }, "milestone": { "title": "Milestone", @@ -980857,6 +986162,24 @@ "object", "null" ], + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], "properties": { "closed_at": { "type": [ @@ -980878,6 +986201,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -980955,8 +986282,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -980966,11 +986292,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "description": { "type": [ @@ -981026,25 +986348,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" @@ -981059,6 +986363,17 @@ "object", "null" ], + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], "properties": { "created_at": { "type": [ @@ -981123,9 +986438,7 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" + "workflow_run" ] } }, @@ -981160,6 +986473,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -981247,11 +986564,7 @@ "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id" - ] + } }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -981380,8 +986693,7 @@ "type": "string", "enum": [ "read", - "write", - "admin" + "write" ] }, "organization_secrets": { @@ -981516,18 +986828,7 @@ ], "format": "date-time" } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] + } }, "pull_request": { "type": "object", @@ -981560,6 +986861,18 @@ "reactions": { "title": "Reactions", "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], "properties": { "+1": { "type": "integer" @@ -981592,19 +986905,7 @@ "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + } }, "repository_url": { "type": "string", @@ -981734,6 +987035,10 @@ "object", "null" ], + "required": [ + "login", + "id" + ], "properties": { "avatar_url": { "type": "string", @@ -981812,8 +987117,7 @@ "enum": [ "Bot", "User", - "Organization", - "Mannequin" + "Organization" ] }, "url": { @@ -981823,79 +987127,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", - "null" - ] - }, - "id": { - "type": "integer" - }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" + } } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] + } }, "organization": { "title": "Organization Simple", @@ -983681,11 +988915,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" }, @@ -983752,13 +988986,13 @@ "content": { "application/json": { "schema": { - "title": "issues unlocked event", + "title": "issues unpinned event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unlocked" + "unpinned" ] }, "enterprise": { @@ -983880,30 +989114,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": [ @@ -983924,10 +989134,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -984015,7 +989221,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -984025,10 +989235,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -984116,7 +989322,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -984178,19 +989388,7 @@ "type": "array", "items": { "title": "Label", - "type": [ - "object", - "null" - ], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], + "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -984220,7 +989418,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -984228,10 +989435,7 @@ "format": "uri-template" }, "locked": { - "type": "boolean", - "enum": [ - false - ] + "type": "boolean" }, "milestone": { "title": "Milestone", @@ -984240,24 +989444,6 @@ "object", "null" ], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], "properties": { "closed_at": { "type": [ @@ -984279,10 +989465,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -984370,7 +989552,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": [ @@ -984426,7 +989612,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" @@ -984441,17 +989645,6 @@ "object", "null" ], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": [ @@ -984551,10 +989744,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -984642,7 +989831,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -984906,7 +990099,18 @@ ], "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -984939,18 +990143,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -984983,7 +990175,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -985113,10 +990317,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -985205,9 +990405,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", @@ -986993,11 +992220,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" }, @@ -987064,13 +992291,13 @@ "content": { "application/json": { "schema": { - "title": "issues unpinned event", + "title": "issues untyped event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unpinned" + "untyped" ] }, "enterprise": { @@ -987289,7 +992516,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -987390,7 +992618,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -987620,7 +992849,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -987787,7 +993017,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -988042,7 +993274,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -988473,7 +993706,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -988514,6 +993748,73 @@ "reactions" ] }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, "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.", @@ -990274,6 +995575,7 @@ "required": [ "action", "issue", + "type", "repository", "sender" ] diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 00cac7c9f7..6702f8aa4e 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &330 + type: &328 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &174 + schema: &173 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1071,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: - - &645 + - &643 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1667,7 +1667,7 @@ paths: schema: type: integer default: 30 - - &255 + - &253 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 @@ -1683,7 +1683,7 @@ paths: application/json: schema: type: array - items: &256 + items: &254 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1779,7 +1779,7 @@ paths: - installation_id - repository_id examples: - default: &257 + default: &255 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1811,7 +1811,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &655 + schema: &653 title: Scim Error description: Scim Error type: object @@ -1842,7 +1842,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &173 + schema: &172 title: Validation Error description: Validation Error type: object @@ -1914,7 +1914,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &256 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2049,7 +2049,7 @@ paths: - request - response examples: - default: &259 + default: &257 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2253,7 +2253,7 @@ paths: parameters: - *17 - *19 - - &138 + - &137 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) @@ -3015,7 +3015,7 @@ paths: license: anyOf: - type: 'null' - - &149 + - &148 title: License Simple description: License Simple type: object @@ -7610,7 +7610,7 @@ paths: description: Response content: application/json: - schema: &175 + schema: &174 type: object properties: total_active_caches_count: @@ -7625,7 +7625,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &176 + default: &175 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7831,7 +7831,7 @@ paths: - public_ip_enabled - platform examples: - default: &177 + default: &176 value: total_count: 2 runners: @@ -8121,7 +8121,7 @@ paths: description: Response content: application/json: - schema: &178 + schema: &177 type: object properties: public_ips: @@ -8148,7 +8148,7 @@ paths: required: - public_ips examples: - default: &179 + default: &178 value: public_ips: current_usage: 17 @@ -8188,7 +8188,7 @@ paths: type: array items: *42 examples: - default: &180 + default: &179 value: id: 4-core cpu_cores: 4 @@ -8446,7 +8446,7 @@ paths: - all - local_only - selected - selected_actions_url: &183 + selected_actions_url: &182 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` @@ -8827,7 +8827,7 @@ paths: description: Success response content: application/json: - schema: &186 + schema: &185 type: object properties: default_workflow_permissions: &50 @@ -8875,7 +8875,7 @@ paths: required: true content: application/json: - schema: &187 + schema: &186 type: object properties: default_workflow_permissions: *50 @@ -9720,7 +9720,7 @@ paths: application/json: schema: type: array - items: &191 + items: &190 title: Runner Application description: Runner Application type: object @@ -9745,7 +9745,7 @@ paths: - download_url - filename examples: - default: &192 + default: &191 value: - os: osx architecture: x64 @@ -9829,7 +9829,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &193 + '201': &192 description: Response content: application/json: @@ -9948,7 +9948,7 @@ paths: - token - expires_at examples: - default: &194 + default: &193 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9988,7 +9988,7 @@ paths: application/json: schema: *62 examples: - default: &195 + default: &194 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10020,7 +10020,7 @@ paths: application/json: schema: *59 examples: - default: &196 + default: &195 value: id: 23 name: MBP @@ -10235,7 +10235,7 @@ paths: - *38 - *58 responses: - '200': &197 + '200': &196 description: Response content: application/json: @@ -10291,7 +10291,7 @@ paths: parameters: - *38 - *58 - - &198 + - &197 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10388,7 +10388,7 @@ paths: required: true content: application/json: - schema: &205 + schema: &204 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10460,7 +10460,7 @@ paths: required: false schema: type: string - - &206 + - &205 name: include description: |- The event types to include: @@ -10478,7 +10478,7 @@ paths: - web - git - all - - &207 + - &206 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. @@ -10486,7 +10486,7 @@ paths: required: false schema: type: string - - &208 + - &207 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. @@ -10494,7 +10494,7 @@ paths: required: false schema: type: string - - &209 + - &208 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10516,7 +10516,7 @@ paths: application/json: schema: type: array - items: &210 + items: &209 type: object properties: "@timestamp": @@ -10638,7 +10638,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &211 + default: &210 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11241,7 +11241,7 @@ paths: in: query schema: type: string - - &213 + - &212 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11249,7 +11249,7 @@ paths: required: false schema: type: string - - &214 + - &213 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11257,7 +11257,7 @@ paths: required: false schema: type: string - - &215 + - &214 name: time_period description: |- The time period to filter by. @@ -11273,7 +11273,7 @@ paths: - week - month default: day - - &216 + - &215 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11299,7 +11299,7 @@ paths: application/json: schema: type: array - items: &217 + items: &216 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11425,7 +11425,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &220 + items: &219 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11471,7 +11471,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &218 + default: &217 value: - id: 21 number: 42 @@ -11562,7 +11562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &221 + - &220 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`, @@ -11572,7 +11572,7 @@ paths: schema: &85 type: string description: The name of the tool used to generate the code scanning analysis. - - &222 + - &221 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 @@ -11596,7 +11596,7 @@ paths: be returned. in: query required: false - schema: &223 + schema: &222 type: string description: State of a code scanning alert. enum: @@ -11621,7 +11621,7 @@ paths: application/json: schema: type: array - items: &224 + items: &223 type: object properties: number: &96 @@ -11650,7 +11650,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &444 + instances_url: &442 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11686,7 +11686,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &445 + dismissed_reason: &443 type: - string - 'null' @@ -11697,14 +11697,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &446 + dismissed_comment: &444 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &447 + rule: &445 type: object properties: id: @@ -11765,7 +11765,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &448 + tool: &446 type: object properties: name: *85 @@ -11776,15 +11776,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *86 - most_recent_instance: &449 + most_recent_instance: &447 type: object properties: - ref: &442 + ref: &440 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &459 + analysis_key: &457 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11795,7 +11795,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &460 + category: &458 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12183,7 +12183,7 @@ paths: - most_recent_instance - repository examples: - default: &225 + default: &224 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12996,7 +12996,7 @@ paths: description: Response content: application/json: - schema: &227 + schema: &226 type: array description: A list of default code security configurations items: @@ -13012,7 +13012,7 @@ paths: default configuration: *88 examples: - default: &228 + default: &227 value: - default_for_new_repos: public configuration: @@ -13443,7 +13443,7 @@ paths: default: value: default_for_new_repos: all - configuration: &226 + configuration: &225 value: id: 1325 target_type: organization @@ -13526,7 +13526,7 @@ paths: application/json: schema: type: array - items: &229 + items: &228 type: object description: Repositories associated with a code security configuration and attachment status @@ -13550,7 +13550,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &230 + repository: &229 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14033,7 +14033,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &232 + items: &231 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14048,7 +14048,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &277 + - &275 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14107,7 +14107,7 @@ paths: parent: anyOf: - type: 'null' - - &293 + - &291 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -14311,7 +14311,7 @@ paths: - created_at additionalProperties: false examples: - default: &233 + default: &232 value: total_seats: 2 seats: @@ -14870,226 +14870,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: - - *38 - - 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: &133 - 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 - - 'null' - description: Breakdown of Copilot code completions usage by - language and editor - 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': *95 - '401': *23 - '403': *27 - '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 @@ -15109,7 +14889,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &240 + - &238 name: state in: query description: |- @@ -15118,7 +14898,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &241 + - &239 name: severity in: query description: |- @@ -15127,7 +14907,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &242 + - &240 name: ecosystem in: query description: |- @@ -15136,14 +14916,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &243 + - &241 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 - - &244 + - &242 name: epss_percentage in: query description: |- @@ -15155,7 +14935,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 - - &245 + - &243 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -15165,7 +14945,7 @@ paths: enum: - development - runtime - - &246 + - &244 name: sort in: query description: |- @@ -15183,7 +14963,7 @@ paths: - *84 - *82 - *83 - - &247 + - &245 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -15196,7 +14976,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &248 + - &246 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -15216,7 +14996,7 @@ paths: application/json: schema: type: array - items: &249 + items: &247 type: object description: A Dependabot alert. properties: @@ -15283,7 +15063,7 @@ paths: - direct - transitive - - security_advisory: &496 + security_advisory: &494 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15519,7 +15299,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: &497 + auto_dismissed_at: &495 type: - string - 'null' @@ -15546,7 +15326,7 @@ paths: - repository additionalProperties: false examples: - default: &250 + default: &248 value: - number: 2 state: dismissed @@ -16017,7 +15797,7 @@ paths: - name - created_on examples: - default: &339 + default: &337 value: total_count: 2 network_configurations: @@ -16240,7 +16020,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: - *38 - - &340 + - &338 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16252,7 +16032,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &339 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -16291,7 +16071,7 @@ paths: - subnet_id - region examples: - default: &342 + default: &340 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -16514,7 +16294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *38 - - &164 + - &163 name: org description: The organization name. The name is not case sensitive. in: path @@ -16603,7 +16383,7 @@ paths: required: true content: application/json: - schema: &312 + schema: &310 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16979,7 +16759,7 @@ paths: type: object description: A repository rule. oneOf: - - &603 + - &601 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16991,7 +16771,7 @@ paths: type: string enum: - creation - - &604 + - &602 title: update description: Only allow users with bypass permission to update matching refs. @@ -17012,7 +16792,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &606 + - &604 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -17024,7 +16804,7 @@ paths: type: string enum: - deletion - - &607 + - &605 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -17036,7 +16816,7 @@ paths: type: string enum: - required_linear_history - - &608 + - &606 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -17112,7 +16892,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &609 + - &607 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17136,7 +16916,7 @@ paths: type: string required: - required_deployment_environments - - &610 + - &608 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -17148,7 +16928,7 @@ paths: type: string enum: - required_signatures - - &611 + - &609 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. @@ -17210,7 +16990,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &612 + - &610 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17257,7 +17037,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &613 + - &611 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17269,7 +17049,7 @@ paths: type: string enum: - non_fast_forward - - &614 + - &612 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17305,7 +17085,7 @@ paths: required: - operator - pattern - - &615 + - &613 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17341,7 +17121,7 @@ paths: required: - operator - pattern - - &616 + - &614 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17377,7 +17157,7 @@ paths: required: - operator - pattern - - &617 + - &615 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17413,7 +17193,7 @@ paths: required: - operator - pattern - - &618 + - &616 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17449,7 +17229,7 @@ paths: required: - operator - pattern - - &619 + - &617 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17473,7 +17253,7 @@ paths: type: string required: - restricted_file_paths - - &620 + - &618 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17497,7 +17277,7 @@ paths: maximum: 256 required: - max_file_path_length - - &621 + - &619 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17520,7 +17300,7 @@ paths: type: string required: - restricted_file_extensions - - &622 + - &620 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17544,7 +17324,7 @@ paths: maximum: 100 required: - max_file_size - - &623 + - &621 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17593,7 +17373,7 @@ paths: - repository_id required: - workflows - - &624 + - &622 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17750,7 +17530,7 @@ paths: conditions: anyOf: - *117 - - &317 + - &315 title: Organization ruleset conditions type: object description: |- @@ -18034,7 +17814,7 @@ paths: type: string format: date-time examples: - default: &319 + default: &317 value: - version_id: 3 actor: @@ -18087,7 +17867,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &318 allOf: - *127 - type: object @@ -18142,7 +17922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &321 + - &319 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -18153,7 +17933,7 @@ paths: enum: - open - resolved - - &322 + - &320 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -18163,7 +17943,7 @@ paths: required: false schema: type: string - - &323 + - &321 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -18172,7 +17952,7 @@ paths: required: false schema: type: string - - &324 + - &322 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. @@ -18188,7 +17968,7 @@ paths: - *17 - *82 - *83 - - &325 + - &323 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -18197,7 +17977,7 @@ paths: required: false schema: type: string - - &326 + - &324 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -18206,7 +17986,7 @@ paths: schema: type: boolean default: false - - &327 + - &325 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -18222,7 +18002,7 @@ paths: application/json: schema: type: array - items: &328 + items: &326 type: object properties: number: *96 @@ -18238,14 +18018,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &637 + state: &635 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: &638 + resolution: &636 type: - string - 'null' @@ -18350,7 +18130,7 @@ paths: description: A boolean value representing whether or not alert is base64 encoded examples: - default: &329 + default: &327 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18613,7 +18393,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &329 type: object properties: total_minutes_used: @@ -18683,7 +18463,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &332 + default: &330 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18721,7 +18501,7 @@ paths: description: Success content: application/json: - schema: &333 + schema: &331 type: object properties: total_advanced_security_committers: @@ -18784,7 +18564,7 @@ paths: required: - repositories examples: - default: &334 + default: &332 value: total_advanced_security_committers: 2 total_count: 2 @@ -19023,7 +18803,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &333 type: object properties: total_gigabytes_bandwidth_used: @@ -19041,7 +18821,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &336 + default: &334 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -19073,7 +18853,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &335 type: object properties: days_left_in_billing_cycle: @@ -19091,7 +18871,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &338 + default: &336 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -19116,7 +18896,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *38 - - &165 + - &164 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, @@ -19125,7 +18905,7 @@ paths: required: false schema: type: integer - - &166 + - &165 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 @@ -19134,7 +18914,7 @@ paths: required: false schema: type: integer - - &167 + - &166 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 @@ -19143,7 +18923,7 @@ paths: required: false schema: type: integer - - &168 + - &167 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 @@ -19164,7 +18944,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &169 + schema: &168 type: object properties: usageItems: @@ -19217,7 +18997,7 @@ paths: - netAmount - organizationName examples: - default: &170 + default: &169 value: usageItems: - date: '2023-08-01' @@ -19317,148 +19097,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: - - *38 - - &292 - 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: *133 - examples: - default: &234 - 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': *95 - '401': *23 - '403': *27 - '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 @@ -19542,7 +19180,7 @@ paths: application/json: schema: type: array - items: &159 + items: &158 title: Event description: Event type: object @@ -19553,7 +19191,7 @@ paths: type: - string - 'null' - actor: &134 + actor: &133 title: Actor description: Actor type: object @@ -19594,13 +19232,13 @@ paths: - id - name - url - org: *134 + org: *133 payload: type: object properties: action: type: string - issue: &148 + issue: &147 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -19720,7 +19358,7 @@ paths: milestone: anyOf: - type: 'null' - - &484 + - &482 title: Milestone description: A collection of related issues and pull requests. @@ -19892,7 +19530,7 @@ paths: timeline_url: type: string format: uri - type: &278 + type: &276 title: Issue Type description: The type of issue. type: @@ -19950,7 +19588,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &135 + author_association: &134 title: author_association type: string description: How the author is associated with the repository. @@ -19965,7 +19603,7 @@ paths: - OWNER examples: - OWNER - reactions: &136 + reactions: &135 title: Reaction Rollup type: object properties: @@ -20037,7 +19675,7 @@ paths: - author_association - created_at - updated_at - comment: &543 + comment: &541 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20087,12 +19725,12 @@ paths: issue_url: type: string format: uri - author_association: *135 + author_association: *134 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *136 + reactions: *135 required: - id - node_id @@ -20279,7 +19917,7 @@ paths: _links: type: object properties: - timeline: &137 + timeline: &136 title: Link With Type description: Hypermedia Link with Type type: object @@ -20291,17 +19929,17 @@ paths: required: - href - type - user: *137 - security_advisories: *137 - current_user: *137 - current_user_public: *137 - current_user_actor: *137 - current_user_organization: *137 + user: *136 + security_advisories: *136 + current_user: *136 + current_user_public: *136 + current_user_actor: *136 + current_user_organization: *136 current_user_organizations: type: array - items: *137 - repository_discussions: *137 - repository_discussions_category: *137 + items: *136 + repository_discussions: *136 + repository_discussions_category: *136 required: - timeline - user @@ -20363,7 +20001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *138 + - *137 - *17 - *19 responses: @@ -20373,7 +20011,7 @@ paths: application/json: schema: type: array - items: &139 + items: &138 title: Base Gist description: Base Gist type: object @@ -20470,7 +20108,7 @@ paths: - created_at - updated_at examples: - default: &140 + default: &139 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20594,7 +20232,7 @@ paths: description: Response content: application/json: - schema: &141 + schema: &140 title: Gist Simple description: Gist Simple type: object @@ -20612,7 +20250,7 @@ paths: url: type: string format: uri - user: &694 + user: &692 title: Public User description: Public User type: object @@ -20986,7 +20624,7 @@ paths: truncated: type: boolean examples: - default: &142 + default: &141 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -21090,7 +20728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *138 + - *137 - *17 - *19 responses: @@ -21100,9 +20738,9 @@ paths: application/json: schema: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: Link: *37 '422': *15 @@ -21124,7 +20762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *138 + - *137 - *17 - *19 responses: @@ -21134,9 +20772,9 @@ paths: application/json: schema: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: Link: *37 '401': *23 @@ -21164,7 +20802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &143 + - &142 name: gist_id description: The unique identifier of the gist. in: path @@ -21176,10 +20814,10 @@ paths: description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: *142 - '403': &146 + default: *141 + '403': &145 description: Forbidden Gist content: application/json: @@ -21228,7 +20866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *143 + - *142 requestBody: required: true content: @@ -21292,9 +20930,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *140 examples: - updateGist: *142 + updateGist: *141 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -21452,7 +21090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *143 + - *142 responses: '204': description: Response @@ -21481,7 +21119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *143 + - *142 - *17 - *19 responses: @@ -21491,7 +21129,7 @@ paths: application/json: schema: type: array - items: &144 + items: &143 title: Gist Comment description: A comment made to a gist. type: object @@ -21529,7 +21167,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *135 + author_association: *134 required: - url - id @@ -21594,7 +21232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *143 + - *142 requestBody: required: true content: @@ -21620,9 +21258,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *143 examples: - default: &145 + default: &144 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21680,8 +21318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *143 - - &147 + - *142 + - &146 name: comment_id description: The unique identifier of the comment. in: path @@ -21694,12 +21332,12 @@ paths: description: Response content: application/json: - schema: *144 + schema: *143 examples: - default: *145 + default: *144 '304': *35 '404': *6 - '403': *146 + '403': *145 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21721,8 +21359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *143 - - *147 + - *142 + - *146 requestBody: required: true content: @@ -21748,9 +21386,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *143 examples: - default: *145 + default: *144 '404': *6 x-github: githubCloudOnly: false @@ -21767,8 +21405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *143 - - *147 + - *142 + - *146 responses: '204': description: Response @@ -21791,7 +21429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *143 + - *142 - *17 - *19 responses: @@ -21892,7 +21530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *143 + - *142 - *17 - *19 responses: @@ -21902,7 +21540,7 @@ paths: application/json: schema: type: array - items: *141 + items: *140 examples: default: value: @@ -21967,13 +21605,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *143 + - *142 responses: '201': description: Response content: application/json: - schema: *139 + schema: *138 examples: default: value: @@ -22044,7 +21682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *143 + - *142 responses: '204': description: Response if gist is starred @@ -22074,7 +21712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *143 + - *142 responses: '204': description: Response @@ -22096,7 +21734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *143 + - *142 responses: '204': description: Response @@ -22125,7 +21763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *143 + - *142 - name: sha in: path required: true @@ -22136,9 +21774,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: *142 + default: *141 '422': *15 '404': *6 '403': *27 @@ -22507,7 +22145,7 @@ paths: - closed - all default: open - - &281 + - &279 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22526,7 +22164,7 @@ paths: - comments default: created - *84 - - *138 + - *137 - name: collab in: query required: false @@ -22556,9 +22194,9 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: &282 + default: &280 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22838,7 +22476,7 @@ paths: application/json: schema: type: array - items: *149 + items: *148 examples: default: value: @@ -23135,7 +22773,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &150 + X-CommonMarker-Version: &149 example: 0.17.4 schema: type: string @@ -23190,7 +22828,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *150 + X-CommonMarker-Version: *149 content: text/html: schema: @@ -23219,7 +22857,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: - - &153 + - &152 name: account_id description: account_id parameter in: path @@ -23231,7 +22869,7 @@ paths: description: Response content: application/json: - schema: &152 + schema: &151 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -23265,7 +22903,7 @@ paths: - 'null' id: type: integer - plan: &151 + plan: &150 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -23368,7 +23006,7 @@ paths: - 'null' updated_at: type: string - plan: *151 + plan: *150 required: - url - id @@ -23376,7 +23014,7 @@ paths: - login - marketplace_purchase examples: - default: &154 + default: &153 value: url: https://api.github.com/orgs/github type: Organization @@ -23461,9 +23099,9 @@ paths: application/json: schema: type: array - items: *151 + items: *150 examples: - default: &155 + default: &154 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -23503,14 +23141,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &156 + - &155 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &157 + - &156 name: sort description: The property to sort the results by. in: query @@ -23540,9 +23178,9 @@ paths: application/json: schema: type: array - items: *152 + items: *151 examples: - default: &158 + default: &157 value: - url: https://api.github.com/orgs/github type: Organization @@ -23616,15 +23254,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: - - *153 + - *152 responses: '200': description: Response content: application/json: - schema: *152 + schema: *151 examples: - default: *154 + default: *153 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -23656,9 +23294,9 @@ paths: application/json: schema: type: array - items: *151 + items: *150 examples: - default: *155 + default: *154 headers: Link: *37 '401': *23 @@ -23681,8 +23319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: + - *155 - *156 - - *157 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23702,9 +23340,9 @@ paths: application/json: schema: type: array - items: *152 + items: *151 examples: - default: *158 + default: *157 headers: Link: *37 '401': *23 @@ -23969,14 +23607,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: - - &362 + - &360 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &363 + - &361 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23993,7 +23631,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -24047,7 +23685,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &376 + '301': &374 description: Moved permanently content: application/json: @@ -24069,7 +23707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &572 + - &570 name: all description: If `true`, show notifications marked as read. in: query @@ -24077,7 +23715,7 @@ paths: schema: type: boolean default: false - - &573 + - &571 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -24086,8 +23724,8 @@ paths: schema: type: boolean default: false - - *138 - - &574 + - *137 + - &572 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: @@ -24112,14 +23750,14 @@ paths: application/json: schema: type: array - items: &160 + items: &159 title: Thread description: Thread type: object properties: id: type: string - repository: &190 + repository: &189 title: Minimal Repository description: Minimal Repository type: object @@ -24458,7 +24096,7 @@ paths: type: boolean examples: - false - security_and_analysis: &314 + security_and_analysis: &312 type: - object - 'null' @@ -24613,7 +24251,7 @@ paths: - url - subscription_url examples: - default: &575 + default: &573 value: - id: '1' repository: @@ -24779,7 +24417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &161 + - &160 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 @@ -24793,7 +24431,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *159 examples: default: value: @@ -24896,7 +24534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *161 + - *160 responses: '205': description: Reset Content @@ -24919,7 +24557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *161 + - *160 responses: '204': description: No content @@ -24942,13 +24580,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: - - *161 + - *160 responses: '200': description: Response content: application/json: - schema: &162 + schema: &161 title: Thread Subscription description: Thread Subscription type: object @@ -24992,7 +24630,7 @@ paths: - url - subscribed examples: - default: &163 + default: &162 value: subscribed: true ignored: false @@ -25023,7 +24661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *161 + - *160 requestBody: required: false content: @@ -25044,9 +24682,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *161 examples: - default: *163 + default: *162 '304': *35 '403': *27 '401': *23 @@ -25069,7 +24707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *161 + - *160 responses: '204': description: Response @@ -25166,7 +24804,7 @@ paths: type: array items: *56 examples: - default: &711 + default: &709 value: - login: github id: 1 @@ -25231,7 +24869,7 @@ paths: - 3 custom_roles: type: array - items: &235 + items: &233 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -25280,7 +24918,7 @@ paths: - created_at - updated_at examples: - default: &236 + default: &234 value: id: 8030 name: Security Engineer @@ -25326,19 +24964,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: + - *163 - *164 - *165 - *166 - *167 - - *168 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *169 + schema: *168 examples: - default: *170 + default: *169 '400': *14 '403': *27 '500': *95 @@ -25368,13 +25006,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: &171 + schema: &170 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25744,7 +25382,7 @@ paths: - updated_at - archived_at examples: - default-response: &172 + default-response: &171 value: login: github id: 1 @@ -25837,7 +25475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *164 + - *163 requestBody: required: false content: @@ -26061,17 +25699,17 @@ paths: description: Response content: application/json: - schema: *171 + schema: *170 examples: - default: *172 + default: *171 '422': description: Validation failed content: application/json: schema: oneOf: + - *172 - *173 - - *174 '409': *92 x-github: githubCloudOnly: false @@ -26095,7 +25733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *164 + - *163 responses: '202': *93 '404': *6 @@ -26120,15 +25758,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *175 + schema: *174 examples: - default: *176 + default: *175 headers: Link: *37 x-github: @@ -26151,7 +25789,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: - - *164 + - *163 - *17 - *19 responses: @@ -26169,7 +25807,7 @@ paths: type: integer repository_cache_usages: type: array - items: &381 + items: &379 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -26227,7 +25865,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: - - *164 + - *163 - *17 - *19 responses: @@ -26247,7 +25885,7 @@ paths: type: array items: *39 examples: - default: *177 + default: *176 headers: Link: *37 x-github: @@ -26267,7 +25905,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: - - *164 + - *163 requestBody: required: true content: @@ -26354,7 +25992,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: - - *164 + - *163 responses: '200': description: Response @@ -26390,7 +26028,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: - - *164 + - *163 responses: '200': description: Response @@ -26425,15 +26063,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *178 + schema: *177 examples: - default: *179 + default: *178 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26451,7 +26089,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: - - *164 + - *163 responses: '200': description: Response @@ -26469,7 +26107,7 @@ paths: type: array items: *42 examples: - default: *180 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26487,7 +26125,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: - - *164 + - *163 responses: '200': description: Response @@ -26531,7 +26169,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: - - *164 + - *163 - *44 responses: '200': @@ -26560,7 +26198,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: - - *164 + - *163 - *44 requestBody: required: true @@ -26617,7 +26255,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: - - *164 + - *163 - *44 responses: '202': @@ -26646,13 +26284,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: - - *164 + - *163 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &181 + schema: &180 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -26666,7 +26304,7 @@ paths: required: - include_claim_keys examples: - default: &182 + default: &181 value: include_claim_keys: - repo @@ -26688,20 +26326,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: - - *164 + - *163 requestBody: required: true content: application/json: - schema: *181 + schema: *180 examples: - default: *182 + default: *181 responses: '201': description: Empty response content: application/json: - schema: &201 + schema: &200 title: Empty Object description: An object without any properties. type: object @@ -26731,7 +26369,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: - - *164 + - *163 responses: '200': description: Response @@ -26740,7 +26378,7 @@ paths: schema: type: object properties: - enabled_repositories: &184 + enabled_repositories: &183 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26754,7 +26392,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *46 - selected_actions_url: *183 + selected_actions_url: *182 required: - enabled_repositories examples: @@ -26783,7 +26421,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: - - *164 + - *163 responses: '204': description: Response @@ -26794,7 +26432,7 @@ paths: schema: type: object properties: - enabled_repositories: *184 + enabled_repositories: *183 allowed_actions: *46 required: - enabled_repositories @@ -26822,7 +26460,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: - - *164 + - *163 - *17 - *19 responses: @@ -26842,7 +26480,7 @@ paths: type: array items: *61 examples: - default: &705 + default: &703 value: total_count: 1 repositories: @@ -26982,7 +26620,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: - - *164 + - *163 responses: '204': description: Response @@ -27026,8 +26664,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: - - *164 - - &185 + - *163 + - &184 name: repository_id description: The unique identifier of the repository. in: path @@ -27055,8 +26693,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: - - *164 - - *185 + - *163 + - *184 responses: '204': description: Response @@ -27079,7 +26717,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: - - *164 + - *163 responses: '200': description: Response @@ -27110,7 +26748,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: - - *164 + - *163 responses: '204': description: Response @@ -27142,13 +26780,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *186 + schema: *185 examples: default: *52 x-github: @@ -27171,7 +26809,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: - - *164 + - *163 responses: '204': description: Success response @@ -27182,7 +26820,7 @@ paths: required: false content: application/json: - schema: *187 + schema: *186 examples: default: *52 x-github: @@ -27204,7 +26842,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: - - *164 + - *163 - *17 - *19 - name: visible_to_repository @@ -27229,7 +26867,7 @@ paths: type: number runner_groups: type: array - items: &188 + items: &187 type: object properties: id: @@ -27346,7 +26984,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: - - *164 + - *163 requestBody: required: true content: @@ -27419,9 +27057,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *187 examples: - default: &189 + default: &188 value: id: 2 name: octo-runner-group @@ -27456,14 +27094,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: - - *164 + - *163 - *55 responses: '200': description: Response content: application/json: - schema: *188 + schema: *187 examples: default: value: @@ -27499,7 +27137,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: - - *164 + - *163 - *55 requestBody: required: true @@ -27556,9 +27194,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *187 examples: - default: *189 + default: *188 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27577,7 +27215,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: - - *164 + - *163 - *55 responses: '204': @@ -27601,7 +27239,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: - - *164 + - *163 - *55 - *17 - *19 @@ -27622,7 +27260,7 @@ paths: type: array items: *39 examples: - default: *177 + default: *176 headers: Link: *37 x-github: @@ -27644,7 +27282,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: - - *164 + - *163 - *55 - *19 - *17 @@ -27663,9 +27301,9 @@ paths: type: number repositories: type: array - items: *190 + items: *189 examples: - default: &697 + default: &695 value: total_count: 1 repositories: @@ -27917,7 +27555,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: - - *164 + - *163 - *55 requestBody: required: true @@ -27962,9 +27600,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: - - *164 + - *163 - *55 - - *185 + - *184 responses: '204': description: Response @@ -27986,9 +27624,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: - - *164 + - *163 - *55 - - *185 + - *184 responses: '204': description: Response @@ -28011,7 +27649,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: - - *164 + - *163 - *55 - *17 - *19 @@ -28053,7 +27691,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: - - *164 + - *163 - *55 requestBody: required: true @@ -28098,7 +27736,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: - - *164 + - *163 - *55 - *58 responses: @@ -28122,7 +27760,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: - - *164 + - *163 - *55 - *58 responses: @@ -28154,7 +27792,7 @@ paths: in: query schema: type: string - - *164 + - *163 - *17 - *19 responses: @@ -28198,7 +27836,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: - - *164 + - *163 responses: '200': description: Response @@ -28206,9 +27844,9 @@ paths: application/json: schema: type: array - items: *191 + items: *190 examples: - default: *192 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28230,7 +27868,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: - - *164 + - *163 requestBody: required: true content: @@ -28273,7 +27911,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *193 + '201': *192 '404': *6 '422': *7 '409': *92 @@ -28304,7 +27942,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: - - *164 + - *163 responses: '201': description: Response @@ -28312,7 +27950,7 @@ paths: application/json: schema: *62 examples: - default: *194 + default: *193 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28340,7 +27978,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: - - *164 + - *163 responses: '201': description: Response @@ -28348,7 +27986,7 @@ paths: application/json: schema: *62 examples: - default: *195 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28370,7 +28008,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: - - *164 + - *163 - *58 responses: '200': @@ -28379,7 +28017,7 @@ paths: application/json: schema: *59 examples: - default: *196 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28400,7 +28038,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: - - *164 + - *163 - *58 responses: '204': @@ -28426,7 +28064,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: - - *164 + - *163 - *58 responses: '200': *64 @@ -28451,7 +28089,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: - - *164 + - *163 - *58 requestBody: required: true @@ -28500,7 +28138,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: - - *164 + - *163 - *58 requestBody: required: true @@ -28550,10 +28188,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: - - *164 + - *163 - *58 responses: - '200': *197 + '200': *196 '404': *6 x-github: githubCloudOnly: false @@ -28580,9 +28218,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: - - *164 + - *163 - *58 - - *198 + - *197 responses: '200': *64 '404': *6 @@ -28609,7 +28247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *164 + - *163 - *17 - *19 responses: @@ -28627,7 +28265,7 @@ paths: type: integer secrets: type: array - items: &199 + items: &198 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28702,13 +28340,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: &401 + schema: &399 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28743,7 +28381,7 @@ paths: - key_id - key examples: - default: &402 + default: &400 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28768,8 +28406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *164 - - &200 + - *163 + - &199 name: secret_name description: The name of the secret. in: path @@ -28781,7 +28419,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *198 examples: default: value: @@ -28811,8 +28449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -28869,7 +28507,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -28895,8 +28533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '204': description: Response @@ -28922,8 +28560,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: - - *164 - - *200 + - *163 + - *199 - *19 - *17 responses: @@ -28941,9 +28579,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: &204 + default: &203 value: total_count: 1 repositories: @@ -29035,8 +28673,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -29088,8 +28726,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -29122,8 +28760,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -29155,8 +28793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *164 - - &386 + - *163 + - &384 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)." @@ -29180,7 +28818,7 @@ paths: type: integer variables: type: array - items: &202 + items: &201 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -29270,7 +28908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *164 + - *163 requestBody: required: true content: @@ -29318,7 +28956,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -29343,8 +28981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *164 - - &203 + - *163 + - &202 name: name description: The name of the variable. in: path @@ -29356,7 +28994,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *201 examples: default: value: @@ -29386,8 +29024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *164 - - *203 + - *163 + - *202 requestBody: required: true content: @@ -29449,8 +29087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *164 - - *203 + - *163 + - *202 responses: '204': description: Response @@ -29476,8 +29114,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: - - *164 - - *203 + - *163 + - *202 - *19 - *17 responses: @@ -29495,9 +29133,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: *204 + default: *203 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29523,8 +29161,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: - - *164 - - *203 + - *163 + - *202 requestBody: required: true content: @@ -29573,8 +29211,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: - - *164 - - *203 + - *163 + - *202 - name: repository_id in: path required: true @@ -29608,8 +29246,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: - - *164 - - *203 + - *163 + - *202 - name: repository_id in: path required: true @@ -29640,7 +29278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *164 + - *163 responses: '200': description: Response @@ -29667,11 +29305,11 @@ paths: required: true content: application/json: - schema: *205 + schema: *204 examples: default: *68 parameters: - - *164 + - *163 responses: '200': description: Response @@ -29695,7 +29333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *164 + - *163 responses: '204': description: Response @@ -29723,7 +29361,7 @@ paths: - *17 - *82 - *83 - - *164 + - *163 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29774,7 +29412,7 @@ paths: bundle_url: type: string examples: - default: &415 + default: &413 value: attestations: - bundle: @@ -29892,7 +29530,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: - - *164 + - *163 - 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). @@ -29900,10 +29538,10 @@ paths: required: false schema: type: string + - *205 - *206 - *207 - *208 - - *209 - *17 responses: '200': @@ -29912,9 +29550,9 @@ paths: application/json: schema: type: array - items: *210 + items: *209 examples: - default: *211 + default: *210 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29931,7 +29569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *164 + - *163 - *17 - *19 responses: @@ -29943,7 +29581,7 @@ paths: type: array items: *4 examples: - default: &283 + default: &281 value: - login: octocat id: 1 @@ -29981,8 +29619,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: - - *164 - - &212 + - *163 + - &211 name: username description: The handle for the GitHub user account. in: path @@ -30013,8 +29651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -30034,8 +29672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -30061,17 +29699,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *164 - - &219 + - *163 + - &218 name: repository_name description: The name of the repository to filter on. in: query schema: type: string + - *212 - *213 - *214 - *215 - - *216 - *17 - *19 responses: @@ -30081,9 +29719,9 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: - default: *218 + default: *217 '404': *6 '500': *95 "/orgs/{org}/bypass-requests/secret-scanning": @@ -30106,12 +29744,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *164 - - *219 + - *163 + - *218 + - *212 - *213 - *214 - *215 - - *216 - *17 - *19 responses: @@ -30121,7 +29759,7 @@ paths: application/json: schema: type: array - items: &432 + items: &430 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -30239,7 +29877,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *220 + items: *219 url: type: string format: uri @@ -30252,7 +29890,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &433 + default: &431 value: - id: 21 number: 42 @@ -30336,9 +29974,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: - - *164 + - *163 + - *220 - *221 - - *222 - *82 - *83 - *19 @@ -30349,7 +29987,7 @@ paths: be returned. in: query required: false - schema: *223 + schema: *222 - name: sort description: The property by which to sort the results. in: query @@ -30365,7 +30003,7 @@ paths: be returned. in: query required: false - schema: &443 + schema: &441 type: string description: Severity of a code scanning alert. enum: @@ -30383,9 +30021,9 @@ paths: application/json: schema: type: array - items: *224 + items: *223 examples: - default: *225 + default: *224 headers: Link: *37 '404': *6 @@ -30411,7 +30049,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: - - *164 + - *163 - name: target_type in: query description: The target type of the code security configuration @@ -30522,7 +30160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *164 + - *163 requestBody: required: true content: @@ -30722,7 +30360,7 @@ paths: application/json: schema: *88 examples: - default: *226 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30744,15 +30382,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: - default: *228 + default: *227 '304': *35 '403': *27 '404': *6 @@ -30778,7 +30416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *164 + - *163 requestBody: required: true content: @@ -30827,7 +30465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *164 + - *163 - *90 responses: '200': @@ -30836,7 +30474,7 @@ paths: application/json: schema: *88 examples: - default: *226 + default: *225 '304': *35 '403': *27 '404': *6 @@ -30860,7 +30498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *164 + - *163 - *90 requestBody: required: true @@ -31095,7 +30733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *164 + - *163 - *90 responses: '204': *114 @@ -31126,7 +30764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *164 + - *163 - *90 requestBody: required: true @@ -31190,7 +30828,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: - - *164 + - *163 - *90 requestBody: required: true @@ -31236,7 +30874,7 @@ paths: default: value: default_for_new_repos: all - configuration: *226 + configuration: *225 '403': *27 '404': *6 x-github: @@ -31260,7 +30898,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: - - *164 + - *163 - *90 - name: per_page description: The number of results per page (max 100). For more information, @@ -31289,13 +30927,13 @@ paths: application/json: schema: type: array - items: *229 + items: *228 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *230 + repository: *229 '403': *27 '404': *6 x-github: @@ -31319,7 +30957,7 @@ paths: parameters: - *17 - *19 - - *164 + - *163 responses: '200': description: Response @@ -31335,7 +30973,7 @@ paths: type: integer codespaces: type: array - items: &284 + items: &282 type: object title: Codespace description: A codespace. @@ -31366,11 +31004,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *190 + repository: *189 machine: anyOf: - type: 'null' - - &472 + - &470 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -31657,7 +31295,7 @@ paths: - pulls_url - recent_folders examples: - default: &285 + default: &283 value: total_count: 3 codespaces: @@ -32089,7 +31727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *164 + - *163 deprecated: true requestBody: required: true @@ -32156,7 +31794,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: - - *164 + - *163 deprecated: true requestBody: required: true @@ -32211,7 +31849,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *164 + - *163 requestBody: required: true content: @@ -32263,7 +31901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *164 + - *163 - *17 - *19 responses: @@ -32281,7 +31919,7 @@ paths: type: integer secrets: type: array - items: &231 + items: &230 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32322,7 +31960,7 @@ paths: - updated_at - visibility examples: - default: &473 + default: &471 value: total_count: 2 secrets: @@ -32354,13 +31992,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: &474 + schema: &472 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32395,7 +32033,7 @@ paths: - key_id - key examples: - default: &475 + default: &473 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32418,16 +32056,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: - default: &477 + default: &475 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32454,8 +32092,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -32510,7 +32148,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -32536,8 +32174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '204': description: Response @@ -32562,8 +32200,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: - - *164 - - *200 + - *163 + - *199 - *19 - *17 responses: @@ -32581,9 +32219,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: *204 + default: *203 '404': *6 x-github: githubCloudOnly: false @@ -32605,8 +32243,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -32656,8 +32294,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -32690,8 +32328,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -32730,7 +32368,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: - - *164 + - *163 responses: '200': description: OK @@ -32871,7 +32509,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: - - *164 + - *163 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -32894,9 +32532,9 @@ paths: currently being billed. seats: type: array - items: *232 + items: *231 examples: - default: *233 + default: *232 headers: Link: *37 '500': *95 @@ -32932,7 +32570,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: - - *164 + - *163 requestBody: content: application/json: @@ -33010,7 +32648,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: - - *164 + - *163 requestBody: content: application/json: @@ -33090,7 +32728,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: - - *164 + - *163 requestBody: content: application/json: @@ -33167,7 +32805,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: - - *164 + - *163 requestBody: content: application/json: @@ -33248,7 +32886,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: - - *164 + - *163 - 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`). @@ -33292,75 +32930,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: - - *164 - - 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: *133 - examples: - default: *234 - '500': *95 - '401': *23 - '403': *27 - '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 @@ -33377,7 +32946,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: - - *164 + - *163 - *17 - name: page description: Page token @@ -33536,7 +33105,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: - - *164 + - *163 - name: credential_id in: path required: true @@ -33567,7 +33136,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: - - *164 + - *163 responses: '200': description: Response - list of custom role names @@ -33583,7 +33152,7 @@ paths: - 3 custom_roles: type: array - items: *235 + items: *233 examples: default: value: @@ -33670,12 +33239,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *164 + - *163 requestBody: required: true content: application/json: - schema: &238 + schema: &236 type: object properties: name: @@ -33717,9 +33286,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '422': *15 '404': *6 x-github: @@ -33743,8 +33312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *164 - - &237 + - *163 + - &235 name: role_id description: The unique identifier of the role. in: path @@ -33756,9 +33325,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '404': *6 x-github: githubCloudOnly: true @@ -33780,13 +33349,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *164 - - *237 + - *163 + - *235 requestBody: required: true content: application/json: - schema: &239 + schema: &237 type: object properties: name: @@ -33825,9 +33394,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '422': *15 '404': *6 x-github: @@ -33851,8 +33420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *164 - - *237 + - *163 + - *235 responses: '204': description: Response @@ -33880,12 +33449,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: - - *164 + - *163 requestBody: required: true content: application/json: - schema: *238 + schema: *236 examples: default: value: @@ -33899,9 +33468,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '422': *15 '404': *6 x-github: @@ -33931,16 +33500,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: - - *164 - - *237 + - *163 + - *235 responses: '200': description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '404': *6 x-github: githubCloudOnly: true @@ -33968,13 +33537,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: - - *164 - - *237 + - *163 + - *235 requestBody: required: true content: application/json: - schema: *239 + schema: *237 examples: default: value: @@ -33989,9 +33558,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *233 examples: - default: *236 + default: *234 '422': *15 '404': *6 x-github: @@ -34021,8 +33590,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: - - *164 - - *237 + - *163 + - *235 responses: '204': description: Response @@ -34050,19 +33619,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *164 + - *163 + - *238 + - *239 - *240 - *241 - *242 - *243 - *244 - - *245 - - *246 - *84 - *82 - *83 - - *247 - - *248 + - *245 + - *246 - *17 responses: '200': @@ -34071,9 +33640,9 @@ paths: application/json: schema: type: array - items: *249 + items: *247 examples: - default: *250 + default: *248 '304': *35 '400': *14 '403': *27 @@ -34099,7 +33668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *164 + - *163 - *17 - *19 responses: @@ -34117,7 +33686,7 @@ paths: type: integer secrets: type: array - items: &251 + items: &249 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -34190,13 +33759,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: &500 + schema: &498 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -34215,7 +33784,7 @@ paths: - key_id - key examples: - default: &501 + default: &499 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34238,14 +33807,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '200': description: Response content: application/json: - schema: *251 + schema: *249 examples: default: value: @@ -34273,8 +33842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -34329,7 +33898,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -34353,8 +33922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *164 - - *200 + - *163 + - *199 responses: '204': description: Response @@ -34378,8 +33947,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: - - *164 - - *200 + - *163 + - *199 - *19 - *17 responses: @@ -34397,9 +33966,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: *204 + default: *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34420,8 +33989,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -34471,8 +34040,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -34503,8 +34072,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: - - *164 - - *200 + - *163 + - *199 - name: repository_id in: path required: true @@ -34534,7 +34103,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: - - *164 + - *163 responses: '200': description: Response @@ -34542,7 +34111,7 @@ paths: application/json: schema: type: array - items: &295 + items: &293 title: Package description: A software package type: object @@ -34595,7 +34164,7 @@ paths: repository: anyOf: - type: 'null' - - *190 + - *189 created_at: type: string format: date-time @@ -34613,7 +34182,7 @@ paths: - created_at - updated_at examples: - default: &296 + default: &294 value: - id: 197 name: hello_docker @@ -34691,7 +34260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *164 + - *163 - *17 - *19 responses: @@ -34701,7 +34270,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: 200-response: value: @@ -34771,7 +34340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *164 + - *163 - name: group_id description: The unique identifier of the group. in: path @@ -34797,7 +34366,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &355 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34887,7 +34456,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &358 + default: &356 value: group_id: '123' group_name: Octocat admins @@ -34925,7 +34494,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: - - *164 + - *163 - *17 - name: page description: Page token @@ -34942,7 +34511,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &353 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34982,7 +34551,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &356 + default: &354 value: groups: - group_id: '123' @@ -35016,7 +34585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *164 + - *163 - *17 - *19 responses: @@ -35026,7 +34595,7 @@ paths: application/json: schema: type: array - items: &274 + items: &272 title: Organization Invitation description: Organization Invitation type: object @@ -35080,7 +34649,7 @@ paths: - invitation_teams_url - node_id examples: - default: &275 + default: &273 value: - id: 1 login: monalisa @@ -35139,7 +34708,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: - - *164 + - *163 responses: '200': description: Response @@ -35147,7 +34716,7 @@ paths: application/json: schema: type: array - items: &315 + items: &313 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -35161,7 +34730,7 @@ paths: - name - description examples: - default: &316 + default: &314 value: - name: add_assignee description: Assign or remove a user @@ -35192,7 +34761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *164 + - *163 - *17 - *19 responses: @@ -35202,7 +34771,7 @@ paths: application/json: schema: type: array - items: &252 + items: &250 title: Org Hook description: Org Hook type: object @@ -35323,7 +34892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *164 + - *163 requestBody: required: true content: @@ -35385,9 +34954,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: &253 + default: &251 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -35431,8 +35000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *164 - - &254 + - *163 + - &252 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. @@ -35445,9 +35014,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: - default: *253 + default: *251 '404': *6 x-github: githubCloudOnly: false @@ -35468,8 +35037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *164 - - *254 + - *163 + - *252 requestBody: required: false content: @@ -35515,7 +35084,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *250 examples: default: value: @@ -35554,8 +35123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *164 - - *254 + - *163 + - *252 responses: '204': description: Response @@ -35580,8 +35149,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: - - *164 - - *254 + - *163 + - *252 responses: '200': description: Response @@ -35609,8 +35178,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: - - *164 - - *254 + - *163 + - *252 requestBody: required: false content: @@ -35658,10 +35227,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *164 - - *254 + - *163 + - *252 - *17 - - *255 + - *253 responses: '200': description: Response @@ -35669,9 +35238,9 @@ paths: application/json: schema: type: array - items: *256 + items: *254 examples: - default: *257 + default: *255 '400': *14 '422': *15 x-github: @@ -35694,17 +35263,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: - - *164 - - *254 + - *163 + - *252 - *16 responses: '200': description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '400': *14 '422': *15 x-github: @@ -35727,8 +35296,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: - - *164 - - *254 + - *163 + - *252 - *16 responses: '202': *93 @@ -35754,8 +35323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *164 - - *254 + - *163 + - *252 responses: '204': description: Response @@ -35777,8 +35346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *164 - - &264 + - *163 + - &262 name: actor_type in: path description: The type of the actor @@ -35791,14 +35360,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &265 + - &263 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &260 + - &258 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`.' @@ -35806,7 +35375,7 @@ paths: required: true schema: type: string - - &261 + - &259 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) @@ -35900,13 +35469,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *164 - - *260 - - *261 + - *163 + - *258 + - *259 - *19 - *17 - *84 - - &270 + - &268 name: sort description: The property to sort the results by. in: query @@ -35985,15 +35554,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *164 - - *260 - - *261 + - *163 + - *258 + - *259 responses: '200': description: Response content: application/json: - schema: &262 + schema: &260 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -36009,7 +35578,7 @@ paths: type: integer format: int64 examples: - default: &263 + default: &261 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -36029,24 +35598,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *164 - - &266 + - *163 + - &264 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *260 - - *261 + - *258 + - *259 responses: '200': description: Response content: application/json: - schema: *262 + schema: *260 examples: - default: *263 + default: *261 x-github: enabledForGitHubApps: true category: orgs @@ -36064,19 +35633,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *164 - - *260 - - *261 - - *264 - - *265 + - *163 + - *258 + - *259 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *262 + schema: *260 examples: - default: *263 + default: *261 x-github: enabledForGitHubApps: true category: orgs @@ -36093,10 +35662,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *164 - - *260 - - *261 - - &267 + - *163 + - *258 + - *259 + - &265 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -36109,7 +35678,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &266 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -36125,7 +35694,7 @@ paths: type: integer format: int64 examples: - default: &269 + default: &267 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -36161,19 +35730,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *164 - - *266 - - *260 - - *261 - - *267 + - *163 + - *264 + - *258 + - *259 + - *265 responses: '200': description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: enabledForGitHubApps: true category: orgs @@ -36190,20 +35759,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *164 - - *264 + - *163 + - *262 + - *263 + - *258 + - *259 - *265 - - *260 - - *261 - - *267 responses: '200': description: Response content: application/json: - schema: *268 + schema: *266 examples: - default: *269 + default: *267 x-github: enabledForGitHubApps: true category: orgs @@ -36220,14 +35789,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *164 - - *266 - - *260 - - *261 + - *163 + - *264 + - *258 + - *259 - *19 - *17 - *84 - - *270 + - *268 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -36303,7 +35872,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: - - *164 + - *163 responses: '200': description: Response @@ -36311,7 +35880,7 @@ paths: application/json: schema: *20 examples: - default: &539 + default: &537 value: id: 1 account: @@ -36380,7 +35949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *164 + - *163 - *17 - *19 responses: @@ -36469,7 +36038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *164 + - *163 responses: '200': description: Response @@ -36477,12 +36046,12 @@ paths: application/json: schema: anyOf: - - &272 + - &270 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &271 + limit: &269 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -36510,7 +36079,7 @@ paths: properties: {} additionalProperties: false examples: - default: &273 + default: &271 value: limit: collaborators_only origin: organization @@ -36534,18 +36103,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *164 + - *163 requestBody: required: true content: application/json: - schema: &540 + schema: &538 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *271 + limit: *269 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -36570,9 +36139,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *270 examples: - default: *273 + default: *271 '422': *15 x-github: githubCloudOnly: false @@ -36590,7 +36159,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *164 + - *163 responses: '204': description: Response @@ -36616,7 +36185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *164 + - *163 - *17 - *19 - name: role @@ -36650,9 +36219,9 @@ paths: application/json: schema: type: array - items: *274 + items: *272 examples: - default: *275 + default: *273 headers: Link: *37 '404': *6 @@ -36676,7 +36245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *164 + - *163 requestBody: required: false content: @@ -36730,7 +36299,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *272 examples: default: value: @@ -36786,8 +36355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *164 - - &276 + - *163 + - &274 name: invitation_id description: The unique identifier of the invitation. in: path @@ -36820,8 +36389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *164 - - *276 + - *163 + - *274 - *17 - *19 responses: @@ -36831,9 +36400,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: &294 + default: &292 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -36868,7 +36437,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: - - *164 + - *163 responses: '200': description: Response @@ -36876,7 +36445,7 @@ paths: application/json: schema: type: array - items: *278 + items: *276 examples: default: value: @@ -36914,7 +36483,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: - - *164 + - *163 requestBody: required: true content: @@ -36968,9 +36537,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *276 examples: - default: &279 + default: &277 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -37002,8 +36571,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: - - *164 - - &280 + - *163 + - &278 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -37063,9 +36632,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *276 examples: - default: *279 + default: *277 '404': *6 '422': *7 x-github: @@ -37089,8 +36658,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: - - *164 - - *280 + - *163 + - *278 responses: '204': description: Response @@ -37123,7 +36692,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: - - *164 + - *163 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -37153,7 +36722,7 @@ paths: - closed - all default: open - - *281 + - *279 - name: type description: Can be the name of an issue type. in: query @@ -37172,7 +36741,7 @@ paths: - comments default: created - *84 - - *138 + - *137 - *17 - *19 responses: @@ -37182,9 +36751,9 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: *282 + default: *280 headers: Link: *37 '404': *6 @@ -37206,7 +36775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *164 + - *163 - 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) @@ -37242,7 +36811,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '422': *15 @@ -37262,8 +36831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response if requester is an organization member and user is @@ -37294,8 +36863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -37321,8 +36890,8 @@ paths: parameters: - *17 - *19 - - *164 - - *212 + - *163 + - *211 responses: '200': description: Response @@ -37338,9 +36907,9 @@ paths: type: integer codespaces: type: array - items: *284 + items: *282 examples: - default: *285 + default: *283 '304': *35 '500': *95 '401': *23 @@ -37365,9 +36934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *164 - - *212 - - &286 + - *163 + - *211 + - &284 name: codespace_name in: path required: true @@ -37400,17 +36969,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: - - *164 - - *212 - - *286 + - *163 + - *211 + - *284 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: &471 + default: &469 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -37583,14 +37152,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: - - *164 - - *212 + - *163 + - *211 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *232 + schema: *231 examples: default: value: @@ -37658,14 +37227,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *164 - - *212 + - *163 + - *211 responses: '200': description: Response content: application/json: - schema: &287 + schema: &285 title: Org Membership description: Org Membership type: object @@ -37718,7 +37287,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &288 + response-if-user-has-an-active-admin-membership-with-organization: &286 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -37786,8 +37355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *164 - - *212 + - *163 + - *211 requestBody: required: false content: @@ -37815,9 +37384,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *285 examples: - response-if-user-already-had-membership-with-organization: *288 + response-if-user-already-had-membership-with-organization: *286 '422': *15 '403': *27 x-github: @@ -37838,8 +37407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -37864,7 +37433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *164 + - *163 - *17 - *19 - name: exclude @@ -37886,7 +37455,7 @@ paths: application/json: schema: type: array - items: &289 + items: &287 title: Migration description: A migration. type: object @@ -38143,7 +37712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *164 + - *163 requestBody: required: true content: @@ -38224,7 +37793,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: default: value: @@ -38402,8 +37971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *164 - - &290 + - *163 + - &288 name: migration_id description: The unique identifier of the migration. in: path @@ -38431,7 +38000,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *289 + schema: *287 examples: default: value: @@ -38600,8 +38169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *164 - - *290 + - *163 + - *288 responses: '302': description: Response @@ -38622,8 +38191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *164 - - *290 + - *163 + - *288 responses: '204': description: Response @@ -38646,9 +38215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *164 - - *290 - - &710 + - *163 + - *288 + - &708 name: repo_name description: repo_name parameter in: path @@ -38675,8 +38244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *164 - - *290 + - *163 + - *288 - *17 - *19 responses: @@ -38686,9 +38255,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: &301 + default: &299 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38827,7 +38396,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: - - *164 + - *163 responses: '200': description: Response @@ -38881,7 +38450,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: - - *164 + - *163 responses: '200': description: Response - list of organization roles @@ -38897,7 +38466,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &291 + items: &289 title: Organization Role description: Organization roles type: object @@ -39059,7 +38628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *164 + - *163 requestBody: required: true content: @@ -39106,7 +38675,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: default: value: @@ -39157,8 +38726,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: - - *164 - - *292 + - *163 + - &290 + name: team_slug + description: The slug of the team name. + in: path + required: true + schema: + type: string responses: '204': description: Response @@ -39183,9 +38758,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: - - *164 - - *292 - - *237 + - *163 + - *290 + - *235 responses: '204': description: Response @@ -39214,9 +38789,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: - - *164 - - *292 - - *237 + - *163 + - *290 + - *235 responses: '204': description: Response @@ -39241,8 +38816,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -39267,9 +38842,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: - - *164 - - *212 - - *237 + - *163 + - *211 + - *235 responses: '204': description: Response @@ -39299,9 +38874,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: - - *164 - - *212 - - *237 + - *163 + - *211 + - *235 responses: '204': description: Response @@ -39329,14 +38904,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *164 - - *237 + - *163 + - *235 responses: '200': description: Response content: application/json: - schema: *291 + schema: *289 examples: default: value: @@ -39393,8 +38968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *164 - - *237 + - *163 + - *235 requestBody: required: true content: @@ -39433,7 +39008,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: default: value: @@ -39486,8 +39061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *164 - - *237 + - *163 + - *235 responses: '204': description: Response @@ -39512,8 +39087,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: - - *164 - - *237 + - *163 + - *235 - *17 - *19 responses: @@ -39592,7 +39167,7 @@ paths: parent: anyOf: - type: 'null' - - *293 + - *291 required: - id - node_id @@ -39606,7 +39181,7 @@ paths: - slug - parent examples: - default: *294 + default: *292 headers: Link: *37 '404': @@ -39635,8 +39210,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: - - *164 - - *237 + - *163 + - *235 - *17 - *19 responses: @@ -39665,7 +39240,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *293 + items: *291 name: type: - string @@ -39782,7 +39357,7 @@ paths: - type - url examples: - default: *283 + default: *281 headers: Link: *37 '404': @@ -39806,7 +39381,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: - - *164 + - *163 - 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) @@ -39830,7 +39405,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -39855,8 +39430,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: - - *164 - - *212 + - *163 + - *211 requestBody: required: false content: @@ -39913,8 +39488,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -39971,8 +39546,8 @@ paths: - docker - nuget - container - - *164 - - &712 + - *163 + - &710 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40008,12 +39583,12 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: *296 + default: *294 '403': *27 '401': *23 - '400': &714 + '400': &712 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -40035,7 +39610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &297 + - &295 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 @@ -40053,20 +39628,20 @@ paths: - docker - nuget - container - - &298 + - &296 name: package_name description: The name of the package. in: path required: true schema: type: string - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *295 + schema: *293 examples: default: value: @@ -40118,9 +39693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *297 - - *298 - - *164 + - *295 + - *296 + - *163 responses: '204': description: Response @@ -40152,9 +39727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *297 - - *298 - - *164 + - *295 + - *296 + - *163 - name: token description: package token schema: @@ -40186,9 +39761,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: - - *297 - - *298 - - *164 + - *295 + - *296 + - *163 - *19 - *17 - name: state @@ -40208,7 +39783,7 @@ paths: application/json: schema: type: array - items: &299 + items: &297 title: Package Version description: A version of a software package type: object @@ -40343,10 +39918,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: - - *297 - - *298 - - *164 - - &300 + - *295 + - *296 + - *163 + - &298 name: package_version_id description: Unique identifier of the package version. in: path @@ -40358,7 +39933,7 @@ paths: description: Response content: application/json: - schema: *299 + schema: *297 examples: default: value: @@ -40394,10 +39969,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *297 + - *295 + - *296 + - *163 - *298 - - *164 - - *300 responses: '204': description: Response @@ -40429,10 +40004,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *297 + - *295 + - *296 + - *163 - *298 - - *164 - - *300 responses: '204': description: Response @@ -40459,10 +40034,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: - - *164 + - *163 - *17 - *19 - - &302 + - &300 name: sort description: The property by which to sort the results. in: query @@ -40473,7 +40048,7 @@ paths: - created_at default: created_at - *84 - - &303 + - &301 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -40485,7 +40060,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &304 + - &302 name: repository description: The name of the repository to use to filter the results. in: query @@ -40494,7 +40069,7 @@ paths: type: string examples: - Hello-World - - &305 + - &303 name: permission description: The permission to use to filter the results. in: query @@ -40503,7 +40078,7 @@ paths: type: string examples: - issues_read - - &306 + - &304 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) @@ -40513,7 +40088,7 @@ paths: schema: type: string format: date-time - - &307 + - &305 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) @@ -40523,7 +40098,7 @@ paths: schema: type: string format: date-time - - &308 + - &306 name: token_id description: The ID of the token in: query @@ -40691,7 +40266,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: - - *164 + - *163 requestBody: required: true content: @@ -40758,7 +40333,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: - - *164 + - *163 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -40820,7 +40395,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: - - *164 + - *163 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -40840,9 +40415,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -40865,17 +40440,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: - - *164 + - *163 - *17 - *19 - - *302 + - *300 - *84 + - *301 + - *302 - *303 - *304 - *305 - *306 - - *307 - - *308 responses: '500': *95 '422': *15 @@ -41026,7 +40601,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: - - *164 + - *163 requestBody: required: true content: @@ -41086,7 +40661,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: - - *164 + - *163 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -41138,7 +40713,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: - - *164 + - *163 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -41157,9 +40732,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -41185,7 +40760,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: - - *164 + - *163 - *17 - *19 responses: @@ -41203,7 +40778,7 @@ paths: type: integer configurations: type: array - items: &309 + items: &307 title: Organization private registry description: Private registry configuration for an organization type: object @@ -41282,7 +40857,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: - - *164 + - *163 requestBody: required: true content: @@ -41415,7 +40990,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &310 + org-private-registry-with-selected-visibility: &308 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -41458,7 +41033,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: - - *164 + - *163 responses: '200': description: Response @@ -41510,16 +41085,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: - - *164 - - *200 + - *163 + - *199 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *309 + schema: *307 examples: - default: *310 + default: *308 '404': *6 x-github: githubCloudOnly: false @@ -41542,8 +41117,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: - - *164 - - *200 + - *163 + - *199 requestBody: required: true content: @@ -41623,8 +41198,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: - - *164 - - *200 + - *163 + - *199 responses: '204': description: Response @@ -41649,7 +41224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *164 + - *163 - name: state description: Indicates the state of the projects to return. in: query @@ -41670,7 +41245,7 @@ paths: application/json: schema: type: array - items: &311 + items: &309 title: Project description: Projects are a way to organize columns and cards of work. @@ -41826,7 +41401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *164 + - *163 requestBody: required: true content: @@ -41852,7 +41427,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *309 examples: default: value: @@ -41890,7 +41465,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &373 + '410': &371 description: Gone content: application/json: @@ -41917,7 +41492,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: - - *164 + - *163 responses: '200': description: Response @@ -41954,7 +41529,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: - - *164 + - *163 requestBody: required: true content: @@ -42018,7 +41593,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: - - *164 + - *163 - *112 responses: '200': @@ -42050,13 +41625,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: - - *164 + - *163 - *112 requestBody: required: true content: application/json: - schema: *312 + schema: *310 examples: default: value: @@ -42097,7 +41672,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: - - *164 + - *163 - *112 responses: '204': *114 @@ -42121,7 +41696,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: - - *164 + - *163 - *17 - *19 - name: repository_query @@ -42162,7 +41737,7 @@ paths: - octocat/Hello-World properties: type: array - items: &313 + items: &311 title: Custom Property Value description: Custom property name and associated value type: object @@ -42232,7 +41807,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: - - *164 + - *163 requestBody: required: true content: @@ -42252,7 +41827,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *313 + items: *311 required: - repository_names - properties @@ -42293,7 +41868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *164 + - *163 - *17 - *19 responses: @@ -42305,7 +41880,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -42324,8 +41899,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response if user is a public member @@ -42349,8 +41924,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -42371,8 +41946,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: - - *164 - - *212 + - *163 + - *211 responses: '204': description: Response @@ -42396,7 +41971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *164 + - *163 - 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 @@ -42443,9 +42018,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -42466,7 +42041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *164 + - *163 requestBody: required: true content: @@ -42649,7 +42224,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &373 title: Full Repository description: Full Repository type: object @@ -43095,7 +42670,7 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 organization: anyOf: - type: 'null' @@ -43114,7 +42689,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &490 + code_of_conduct: &488 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -43144,7 +42719,7 @@ paths: - key - name - html_url - security_and_analysis: *314 + security_and_analysis: *312 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43228,7 +42803,7 @@ paths: - network_count - subscribers_count examples: - default: &377 + default: &375 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43746,7 +43321,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: - - *164 + - *163 responses: '200': description: Response @@ -43754,9 +43329,9 @@ paths: application/json: schema: type: array - items: *315 + items: *313 examples: - default: *316 + default: *314 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43778,10 +43353,10 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 - *17 - *19 - - &625 + - &623 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43847,7 +43422,7 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 requestBody: description: Request body required: true @@ -43873,7 +43448,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *122 - conditions: *317 + conditions: *315 rules: type: array description: An array of rules within the ruleset. @@ -43917,7 +43492,7 @@ paths: application/json: schema: *124 examples: - default: &318 + default: &316 value: id: 21 name: super cool ruleset @@ -43971,8 +43546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *164 - - &626 + - *163 + - &624 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 @@ -43982,16 +43557,16 @@ paths: schema: type: string x-multi-segment: true - - *219 - - *215 - - &627 + - *218 + - *214 + - &625 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 - - &628 + - &626 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -44011,7 +43586,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &627 title: Rule Suites description: Response type: array @@ -44067,7 +43642,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &630 + default: &628 value: - id: 21 actor_id: 12 @@ -44110,8 +43685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *164 - - &631 + - *163 + - &629 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44127,7 +43702,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &630 title: Rule Suite description: Response type: object @@ -44234,7 +43809,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &633 + default: &631 value: id: 21 actor_id: 12 @@ -44295,7 +43870,7 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44309,7 +43884,7 @@ paths: application/json: schema: *124 examples: - default: *318 + default: *316 '404': *6 '500': *95 put: @@ -44327,7 +43902,7 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44358,7 +43933,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *122 - conditions: *317 + conditions: *315 rules: description: An array of rules within the ruleset. type: array @@ -44399,7 +43974,7 @@ paths: application/json: schema: *124 examples: - default: *318 + default: *316 '404': *6 '500': *95 delete: @@ -44417,7 +43992,7 @@ paths: category: orgs subcategory: rules parameters: - - *164 + - *163 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44440,7 +44015,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *164 + - *163 - *17 - *19 - name: ruleset_id @@ -44458,7 +44033,7 @@ paths: type: array items: *127 examples: - default: *319 + default: *317 '404': *6 '500': *95 x-github: @@ -44477,7 +44052,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *164 + - *163 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44495,7 +44070,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: default: value: @@ -44557,15 +44132,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: - - *164 + - *163 + - *319 + - *320 - *321 - *322 - - *323 - - *324 - *84 - *19 - *17 - - &635 + - &633 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 @@ -44575,7 +44150,7 @@ paths: required: false schema: type: string - - &636 + - &634 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 @@ -44585,9 +44160,9 @@ paths: required: false schema: type: string + - *323 + - *324 - *325 - - *326 - - *327 responses: '200': description: Response @@ -44595,9 +44170,9 @@ paths: application/json: schema: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *37 '404': *6 @@ -44623,7 +44198,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: - - *164 + - *163 - *84 - name: sort description: The property to sort the results by. @@ -44667,7 +44242,7 @@ paths: application/json: schema: type: array - items: &643 + items: &641 description: A repository security advisory. type: object properties: @@ -44911,7 +44486,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *328 credits_detailed: type: - array @@ -44922,7 +44497,7 @@ paths: type: object properties: user: *4 - type: *330 + type: *328 state: type: string description: The state of the user's acceptance of the @@ -44948,7 +44523,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *277 + items: *275 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -44986,7 +44561,7 @@ paths: - private_fork additionalProperties: false examples: - default: &644 + default: &642 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45365,7 +44940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *164 + - *163 responses: '200': description: Response @@ -45373,9 +44948,9 @@ paths: application/json: schema: type: array - items: *293 + items: *291 examples: - default: *294 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45398,8 +44973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *164 - - *292 + - *163 + - *290 responses: '204': description: Response @@ -45424,8 +44999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *164 - - *292 + - *163 + - *290 responses: '204': description: Response @@ -45454,15 +45029,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *331 + schema: *329 examples: - default: *332 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45486,7 +45061,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: - - *164 + - *163 - *17 - *19 responses: @@ -45494,9 +45069,9 @@ paths: description: Success content: application/json: - schema: *333 + schema: *331 examples: - default: *334 + default: *332 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45518,15 +45093,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: *336 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45548,15 +45123,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: *338 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45576,7 +45151,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: - - *164 + - *163 - *17 - *19 responses: @@ -45596,7 +45171,7 @@ paths: type: array items: *107 examples: - default: *339 + default: *337 headers: Link: *37 x-github: @@ -45617,7 +45192,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: - - *164 + - *163 requestBody: required: true content: @@ -45681,7 +45256,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: - - *164 + - *163 - *109 responses: '200': @@ -45711,7 +45286,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: - - *164 + - *163 - *109 requestBody: required: true @@ -45772,7 +45347,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: - - *164 + - *163 - *109 responses: '204': @@ -45796,16 +45371,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: - - *164 - - *340 + - *163 + - *338 responses: '200': description: Response content: application/json: - schema: *341 + schema: *339 examples: - default: *342 + default: *340 headers: Link: *37 x-github: @@ -45824,7 +45399,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: - - *164 + - *163 - *17 - name: page description: Page token @@ -45843,7 +45418,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &362 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -45895,7 +45470,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &365 + default: &363 value: groups: - group_id: '123' @@ -45940,8 +45515,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: - - *164 - - *292 + - *163 + - *290 - 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`). @@ -45985,79 +45560,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: - - *164 - - *292 - - 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: *133 - examples: - default: *234 - '500': *95 - '401': *23 - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: copilot - subcategory: copilot-usage "/orgs/{org}/teams": get: summary: List teams @@ -46070,7 +45572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *164 + - *163 - *17 - *19 responses: @@ -46080,9 +45582,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 headers: Link: *37 '403': *27 @@ -46104,7 +45606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *164 + - *163 requestBody: required: true content: @@ -46176,7 +45678,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &341 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46250,7 +45752,7 @@ paths: parent: anyOf: - type: 'null' - - *293 + - *291 members_count: type: integer examples: @@ -46556,7 +46058,7 @@ paths: - repos_count - organization examples: - default: &344 + default: &342 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46626,16 +46128,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *164 - - *292 + - *163 + - *290 responses: '200': description: Response content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '404': *6 x-github: githubCloudOnly: false @@ -46656,8 +46158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *164 - - *292 + - *163 + - *290 requestBody: required: false content: @@ -46720,16 +46222,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '201': description: Response content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '404': *6 '422': *15 '403': *27 @@ -46754,8 +46256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *164 - - *292 + - *163 + - *290 responses: '204': description: Response @@ -46781,8 +46283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *164 - - *292 + - *163 + - *290 - *84 - *17 - *19 @@ -46799,7 +46301,7 @@ paths: application/json: schema: type: array - items: &345 + items: &343 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46890,7 +46392,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *136 + reactions: *135 required: - author - body @@ -46910,7 +46412,7 @@ paths: - updated_at - url examples: - default: &684 + default: &682 value: - author: login: octocat @@ -46984,8 +46486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *164 - - *292 + - *163 + - *290 requestBody: required: true content: @@ -47019,9 +46521,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: &346 + default: &344 value: author: login: octocat @@ -47093,9 +46595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *164 - - *292 - - &347 + - *163 + - *290 + - &345 name: discussion_number description: The number that identifies the discussion. in: path @@ -47107,9 +46609,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *346 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47131,9 +46633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 requestBody: required: false content: @@ -47156,9 +46658,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: &685 + default: &683 value: author: login: octocat @@ -47228,9 +46730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 responses: '204': description: Response @@ -47256,9 +46758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 - *84 - *17 - *19 @@ -47269,7 +46771,7 @@ paths: application/json: schema: type: array - items: &348 + items: &346 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -47334,7 +46836,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *136 + reactions: *135 required: - author - body @@ -47349,7 +46851,7 @@ paths: - updated_at - url examples: - default: &686 + default: &684 value: - author: login: octocat @@ -47417,9 +46919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 requestBody: required: true content: @@ -47441,9 +46943,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: &349 + default: &347 value: author: login: octocat @@ -47509,10 +47011,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *164 - - *292 - - *347 - - &350 + - *163 + - *290 + - *345 + - &348 name: comment_number description: The number that identifies the comment. in: path @@ -47524,9 +47026,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47548,10 +47050,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *164 - - *292 - - *347 - - *350 + - *163 + - *290 + - *345 + - *348 requestBody: required: true content: @@ -47573,9 +47075,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: &687 + default: &685 value: author: login: octocat @@ -47639,10 +47141,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *164 - - *292 - - *347 - - *350 + - *163 + - *290 + - *345 + - *348 responses: '204': description: Response @@ -47668,10 +47170,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: - - *164 - - *292 - - *347 - - *350 + - *163 + - *290 + - *345 + - *348 - 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. @@ -47697,7 +47199,7 @@ paths: application/json: schema: type: array - items: &351 + items: &349 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -47741,7 +47243,7 @@ paths: - content - created_at examples: - default: &353 + default: &351 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47791,10 +47293,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: - - *164 - - *292 - - *347 - - *350 + - *163 + - *290 + - *345 + - *348 requestBody: required: true content: @@ -47827,9 +47329,9 @@ paths: team discussion comment content: application/json: - schema: *351 + schema: *349 examples: - default: &352 + default: &350 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47858,9 +47360,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47883,11 +47385,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *164 - - *292 - - *347 - - *350 - - &354 + - *163 + - *290 + - *345 + - *348 + - &352 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47919,9 +47421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 - 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. @@ -47947,9 +47449,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 x-github: @@ -47975,9 +47477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *164 - - *292 - - *347 + - *163 + - *290 + - *345 requestBody: required: true content: @@ -48009,16 +47511,16 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48041,10 +47543,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *164 - - *292 - - *347 - - *354 + - *163 + - *290 + - *345 + - *352 responses: '204': description: Response @@ -48067,16 +47569,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: - - *164 - - *292 + - *163 + - *290 responses: '200': description: Response content: application/json: - schema: *355 + schema: *353 examples: - default: *356 + default: *354 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -48095,8 +47597,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: - - *164 - - *292 + - *163 + - *290 requestBody: required: true content: @@ -48120,9 +47622,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *355 examples: - default: *358 + default: *356 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48141,8 +47643,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: - - *164 - - *292 + - *163 + - *290 responses: '204': description: Response @@ -48166,8 +47668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *164 - - *292 + - *163 + - *290 - *17 - *19 responses: @@ -48177,9 +47679,9 @@ paths: application/json: schema: type: array - items: *274 + items: *272 examples: - default: *275 + default: *273 headers: Link: *37 x-github: @@ -48201,8 +47703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *164 - - *292 + - *163 + - *290 - name: role description: Filters members returned by their role in the team. in: query @@ -48225,7 +47727,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -48255,15 +47757,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *164 - - *292 - - *212 + - *163 + - *290 + - *211 responses: '200': description: Response content: application/json: - schema: &359 + schema: &357 title: Team Membership description: Team Membership type: object @@ -48291,7 +47793,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &688 + response-if-user-is-a-team-maintainer: &686 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48327,9 +47829,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: - - *164 - - *292 - - *212 + - *163 + - *290 + - *211 requestBody: required: false content: @@ -48354,9 +47856,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *357 examples: - response-if-users-membership-with-team-is-now-pending: &689 + response-if-users-membership-with-team-is-now-pending: &687 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48391,9 +47893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *164 - - *292 - - *212 + - *163 + - *290 + - *211 responses: '204': description: Response @@ -48418,8 +47920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *164 - - *292 + - *163 + - *290 - *17 - *19 responses: @@ -48429,7 +47931,7 @@ paths: application/json: schema: type: array - items: &360 + items: &358 title: Team Project description: A team's access to a project. type: object @@ -48498,7 +48000,7 @@ paths: - updated_at - permissions examples: - default: &690 + default: &688 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48561,9 +48063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *164 - - *292 - - &361 + - *163 + - *290 + - &359 name: project_id description: The unique identifier of the project. in: path @@ -48575,9 +48077,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *358 examples: - default: &691 + default: &689 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48639,9 +48141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *164 - - *292 - - *361 + - *163 + - *290 + - *359 requestBody: required: false content: @@ -48708,9 +48210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *164 - - *292 - - *361 + - *163 + - *290 + - *359 responses: '204': description: Response @@ -48737,8 +48239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *164 - - *292 + - *163 + - *290 - *17 - *19 responses: @@ -48748,9 +48250,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -48779,16 +48281,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *164 - - *292 - - *362 - - *363 + - *163 + - *290 + - *360 + - *361 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &692 + schema: &690 title: Team Repository description: A team's access to a repository. type: object @@ -48814,7 +48316,7 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 forks: type: integer permissions: @@ -49429,10 +48931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *164 - - *292 - - *362 - - *363 + - *163 + - *290 + - *360 + - *361 requestBody: required: false content: @@ -49477,10 +48979,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *164 - - *292 - - *362 - - *363 + - *163 + - *290 + - *360 + - *361 responses: '204': description: Response @@ -49506,16 +49008,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: - - *164 - - *292 + - *163 + - *290 responses: '200': description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -49537,8 +49039,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: - - *164 - - *292 + - *163 + - *290 requestBody: required: true content: @@ -49581,7 +49083,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: default: value: @@ -49613,8 +49115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *164 - - *292 + - *163 + - *290 - *17 - *19 responses: @@ -49624,9 +49126,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - response-if-child-teams-exist: &693 + response-if-child-teams-exist: &691 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49679,7 +49181,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: - - *164 + - *163 - name: security_product in: path description: The security feature to enable or disable. @@ -49753,7 +49255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &366 + - &364 name: card_id description: The unique identifier of the card. in: path @@ -49765,7 +49267,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &365 title: Project Card description: Project cards represent a scope of work. type: object @@ -49840,7 +49342,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &366 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -49896,7 +49398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *366 + - *364 requestBody: required: false content: @@ -49926,9 +49428,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *365 examples: - default: *368 + default: *366 '304': *35 '403': *27 '401': *23 @@ -49955,7 +49457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *366 + - *364 responses: '204': description: Response @@ -49999,7 +49501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *366 + - *364 requestBody: required: true content: @@ -50112,7 +49614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &369 + - &367 name: column_id description: The unique identifier of the column. in: path @@ -50124,7 +49626,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &368 title: Project Column description: Project columns contain cards of work. type: object @@ -50178,7 +49680,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &369 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -50213,7 +49715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *369 + - *367 requestBody: required: true content: @@ -50238,9 +49740,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *368 examples: - default: *371 + default: *369 '304': *35 '403': *27 '401': *23 @@ -50265,7 +49767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *369 + - *367 responses: '204': description: Response @@ -50294,7 +49796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *369 + - *367 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -50315,7 +49817,7 @@ paths: application/json: schema: type: array - items: *367 + items: *365 examples: default: value: @@ -50374,7 +49876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *369 + - *367 requestBody: required: true content: @@ -50418,9 +49920,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *365 examples: - default: *368 + default: *366 '304': *35 '403': *27 '401': *23 @@ -50430,8 +49932,8 @@ paths: application/json: schema: oneOf: + - *172 - *173 - - *174 '503': description: Response content: @@ -50476,7 +49978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *369 + - *367 requestBody: required: true content: @@ -50537,15 +50039,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *361 + - *359 responses: '200': description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: &372 + default: &370 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -50602,7 +50104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *361 + - *359 requestBody: required: false content: @@ -50651,9 +50153,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: *372 + default: *370 '404': description: Not Found if the authenticated user does not have access to the project @@ -50674,7 +50176,7 @@ paths: items: type: string '401': *23 - '410': *373 + '410': *371 '422': *7 x-github: githubCloudOnly: false @@ -50697,7 +50199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *361 + - *359 responses: '204': description: Delete Success @@ -50718,7 +50220,7 @@ paths: items: type: string '401': *23 - '410': *373 + '410': *371 '404': *6 x-github: githubCloudOnly: false @@ -50742,7 +50244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *361 + - *359 - 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 @@ -50769,7 +50271,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '404': *6 @@ -50799,8 +50301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *361 - - *212 + - *359 + - *211 requestBody: required: false content: @@ -50854,8 +50356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *361 - - *212 + - *359 + - *211 responses: '204': description: Response @@ -50886,8 +50388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *361 - - *212 + - *359 + - *211 responses: '200': description: Response @@ -50957,7 +50459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *361 + - *359 - *17 - *19 responses: @@ -50967,7 +50469,7 @@ paths: application/json: schema: type: array - items: *370 + items: *368 examples: default: value: @@ -51005,7 +50507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *361 + - *359 requestBody: required: true content: @@ -51029,7 +50531,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *368 examples: default: value: @@ -51093,7 +50595,7 @@ paths: resources: type: object properties: - core: &374 + core: &372 title: Rate Limit type: object properties: @@ -51110,20 +50612,20 @@ paths: - remaining - reset - used - graphql: *374 - search: *374 - code_search: *374 - source_import: *374 - integration_manifest: *374 - code_scanning_upload: *374 - actions_runner_registration: *374 - scim: *374 - dependency_snapshots: *374 - code_scanning_autofix: *374 + graphql: *372 + search: *372 + code_search: *372 + source_import: *372 + integration_manifest: *372 + code_scanning_upload: *372 + actions_runner_registration: *372 + scim: *372 + dependency_snapshots: *372 + code_scanning_autofix: *372 required: - core - search - rate: *374 + rate: *372 required: - rate - resources @@ -51227,14 +50729,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *375 + schema: *373 examples: default-response: summary: Default response @@ -51739,7 +51241,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *376 + '301': *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51757,8 +51259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -52005,10 +51507,10 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 - '307': &378 + default: *375 + '307': &376 description: Temporary Redirect content: application/json: @@ -52037,8 +51539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -52060,7 +51562,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': *378 + '307': *376 '404': *6 x-github: githubCloudOnly: false @@ -52083,11 +51585,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 - - &393 + - &391 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52110,7 +51612,7 @@ paths: type: integer artifacts: type: array - items: &379 + items: &377 title: Artifact description: An artifact type: object @@ -52205,7 +51707,7 @@ paths: - expires_at - updated_at examples: - default: &394 + default: &392 value: total_count: 2 artifacts: @@ -52266,9 +51768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *362 - - *363 - - &380 + - *360 + - *361 + - &378 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52280,7 +51782,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *377 examples: default: value: @@ -52318,9 +51820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *362 - - *363 - - *380 + - *360 + - *361 + - *378 responses: '204': description: Response @@ -52344,9 +51846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *362 - - *363 - - *380 + - *360 + - *361 + - *378 - name: archive_format in: path required: true @@ -52360,7 +51862,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': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52383,14 +51885,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *381 + schema: *379 examples: default: value: @@ -52416,11 +51918,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: - - *362 - - *363 + - *360 + - *361 - *17 - *19 - - &382 + - &380 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 @@ -52454,7 +51956,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &381 title: Repository actions caches description: Repository actions caches type: object @@ -52504,7 +52006,7 @@ paths: - total_count - actions_caches examples: - default: &384 + default: &382 value: total_count: 1 actions_caches: @@ -52536,23 +52038,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: - - *362 - - *363 + - *360 + - *361 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *382 + - *380 responses: '200': description: Response content: application/json: - schema: *383 + schema: *381 examples: - default: *384 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52572,8 +52074,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: - - *362 - - *363 + - *360 + - *361 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52604,9 +52106,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: - - *362 - - *363 - - &385 + - *360 + - *361 + - &383 name: job_id description: The unique identifier of the job. in: path @@ -52618,7 +52120,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &395 title: Job description: Information of a job execution in a workflow run type: object @@ -52965,9 +52467,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: - - *362 - - *363 - - *385 + - *360 + - *361 + - *383 responses: '302': description: Response @@ -52995,9 +52497,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: - - *362 - - *363 - - *385 + - *360 + - *361 + - *383 requestBody: required: false content: @@ -53019,7 +52521,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -53043,8 +52545,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Status response @@ -53094,8 +52596,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -53129,7 +52631,7 @@ paths: description: Empty response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -53158,8 +52660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -53177,7 +52679,7 @@ paths: type: integer secrets: type: array - items: &399 + items: &397 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53198,7 +52700,7 @@ paths: - created_at - updated_at examples: - default: &400 + default: &398 value: total_count: 2 secrets: @@ -53231,9 +52733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *362 - - *363 - - *386 + - *360 + - *361 + - *384 - *19 responses: '200': @@ -53250,7 +52752,7 @@ paths: type: integer variables: type: array - items: &403 + items: &401 title: Actions Variable type: object properties: @@ -53284,7 +52786,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &402 value: total_count: 2 variables: @@ -53317,8 +52819,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -53327,11 +52829,11 @@ paths: schema: type: object properties: - enabled: &387 + enabled: &385 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *46 - selected_actions_url: *183 + selected_actions_url: *182 required: - enabled examples: @@ -53360,8 +52862,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -53372,7 +52874,7 @@ paths: schema: type: object properties: - enabled: *387 + enabled: *385 allowed_actions: *46 required: - enabled @@ -53403,14 +52905,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: &388 + schema: &386 type: object properties: access_level: @@ -53428,7 +52930,7 @@ paths: required: - access_level examples: - default: &389 + default: &387 value: access_level: organization x-github: @@ -53453,15 +52955,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: application/json: - schema: *388 + schema: *386 examples: - default: *389 + default: *387 responses: '204': description: Response @@ -53485,8 +52987,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -53517,8 +53019,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -53550,14 +53052,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *186 + schema: *185 examples: default: *52 x-github: @@ -53580,8 +53082,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Success response @@ -53592,7 +53094,7 @@ paths: required: true content: application/json: - schema: *187 + schema: *186 examples: default: *52 x-github: @@ -53621,8 +53123,8 @@ paths: in: query schema: type: string - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -53666,8 +53168,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -53675,9 +53177,9 @@ paths: application/json: schema: type: array - items: *191 + items: *190 examples: - default: *192 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53699,8 +53201,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -53743,7 +53245,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *193 + '201': *192 '404': *6 '422': *7 '409': *92 @@ -53774,8 +53276,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: - - *362 - - *363 + - *360 + - *361 responses: '201': description: Response @@ -53783,7 +53285,7 @@ paths: application/json: schema: *62 examples: - default: *194 + default: *193 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53811,8 +53313,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: - - *362 - - *363 + - *360 + - *361 responses: '201': description: Response @@ -53820,7 +53322,7 @@ paths: application/json: schema: *62 examples: - default: *195 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53842,8 +53344,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: - - *362 - - *363 + - *360 + - *361 - *58 responses: '200': @@ -53852,7 +53354,7 @@ paths: application/json: schema: *59 examples: - default: *196 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53873,8 +53375,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: - - *362 - - *363 + - *360 + - *361 - *58 responses: '204': @@ -53900,8 +53402,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: - - *362 - - *363 + - *360 + - *361 - *58 responses: '200': *64 @@ -53926,8 +53428,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: - - *362 - - *363 + - *360 + - *361 - *58 requestBody: required: true @@ -53976,8 +53478,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: - - *362 - - *363 + - *360 + - *361 - *58 requestBody: required: true @@ -54027,11 +53529,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: - - *362 - - *363 + - *360 + - *361 - *58 responses: - '200': *197 + '200': *196 '404': *6 x-github: githubCloudOnly: false @@ -54058,10 +53560,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: - - *362 - - *363 + - *360 + - *361 - *58 - - *198 + - *197 responses: '200': *64 '404': *6 @@ -54089,9 +53591,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: - - *362 - - *363 - - &407 + - *360 + - *361 + - &405 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. @@ -54099,7 +53601,7 @@ paths: required: false schema: type: string - - &408 + - &406 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54107,7 +53609,7 @@ paths: required: false schema: type: string - - &409 + - &407 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54116,7 +53618,7 @@ paths: required: false schema: type: string - - &410 + - &408 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 @@ -54143,7 +53645,7 @@ paths: - pending - *17 - *19 - - &411 + - &409 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)." @@ -54152,7 +53654,7 @@ paths: schema: type: string format: date-time - - &390 + - &388 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54161,13 +53663,13 @@ paths: schema: type: boolean default: false - - &412 + - &410 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &413 + - &411 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54190,7 +53692,7 @@ paths: type: integer workflow_runs: type: array - items: &391 + items: &389 title: Workflow Run description: An invocation of a workflow type: object @@ -54307,7 +53809,7 @@ paths: type: - array - 'null' - items: &434 + items: &432 title: Pull Request Minimal type: object properties: @@ -54434,7 +53936,7 @@ paths: head_commit: anyOf: - type: 'null' - - &438 + - &436 title: Simple Commit description: A commit. type: object @@ -54508,8 +54010,8 @@ paths: - timestamp - author - committer - repository: *190 - head_repository: *190 + repository: *189 + head_repository: *189 head_repository_id: type: integer examples: @@ -54549,7 +54051,7 @@ paths: - workflow_url - pull_requests examples: - default: &414 + default: &412 value: total_count: 1 workflow_runs: @@ -54785,24 +54287,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *362 - - *363 - - &392 + - *360 + - *361 + - &390 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *390 + - *388 responses: '200': description: Response content: application/json: - schema: *391 + schema: *389 examples: - default: &395 + default: &393 value: id: 30433642 name: Build @@ -55043,9 +54545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '204': description: Response @@ -55068,9 +54570,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '200': description: Response @@ -55198,15 +54700,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '201': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -55233,12 +54735,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 - *17 - *19 - - *393 + - *391 responses: '200': description: Response @@ -55254,9 +54756,9 @@ paths: type: integer artifacts: type: array - items: *379 + items: *377 examples: - default: *394 + default: *392 headers: Link: *37 x-github: @@ -55280,25 +54782,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *362 - - *363 - - *392 - - &396 + - *360 + - *361 + - *390 + - &394 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *390 + - *388 responses: '200': description: Response content: application/json: - schema: *391 + schema: *389 examples: - default: *395 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55321,10 +54823,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: - - *362 - - *363 - - *392 - - *396 + - *360 + - *361 + - *390 + - *394 - *17 - *19 responses: @@ -55342,9 +54844,9 @@ paths: type: integer jobs: type: array - items: *397 + items: *395 examples: - default: &398 + default: &396 value: total_count: 1 jobs: @@ -55457,10 +54959,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *362 - - *363 - - *392 - - *396 + - *360 + - *361 + - *390 + - *394 responses: '302': description: Response @@ -55488,15 +54990,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '202': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -55523,9 +55025,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 requestBody: required: true content: @@ -55592,15 +55094,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '202': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -55627,9 +55129,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 - 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 @@ -55659,9 +55161,9 @@ paths: type: integer jobs: type: array - items: *397 + items: *395 examples: - default: *398 + default: *396 headers: Link: *37 x-github: @@ -55686,9 +55188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '302': description: Response @@ -55715,9 +55217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '204': description: Response @@ -55744,9 +55246,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '200': description: Response @@ -55815,7 +55317,7 @@ paths: items: type: object properties: - type: &509 + type: &507 type: string description: The type of reviewer. enum: @@ -55826,7 +55328,7 @@ paths: reviewer: anyOf: - *4 - - *277 + - *275 required: - environment - wait_timer @@ -55901,9 +55403,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 requestBody: required: true content: @@ -55953,7 +55455,7 @@ paths: application/json: schema: type: array - items: &504 + items: &502 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -56065,7 +55567,7 @@ paths: - created_at - updated_at examples: - default: &505 + default: &503 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56121,9 +55623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 requestBody: required: false content: @@ -56145,7 +55647,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -56168,9 +55670,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: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 requestBody: required: false content: @@ -56192,7 +55694,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -56225,9 +55727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *362 - - *363 - - *392 + - *360 + - *361 + - *390 responses: '200': description: Response @@ -56364,8 +55866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -56383,9 +55885,9 @@ paths: type: integer secrets: type: array - items: *399 + items: *397 examples: - default: *400 + default: *398 headers: Link: *37 x-github: @@ -56410,16 +55912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *401 + schema: *399 examples: - default: *402 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56441,17 +55943,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '200': description: Response content: application/json: - schema: *399 + schema: *397 examples: - default: &522 + default: &520 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56477,9 +55979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 requestBody: required: true content: @@ -56510,7 +56012,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -56536,9 +56038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '204': description: Response @@ -56563,9 +56065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *362 - - *363 - - *386 + - *360 + - *361 + - *384 - *19 responses: '200': @@ -56582,9 +56084,9 @@ paths: type: integer variables: type: array - items: *403 + items: *401 examples: - default: *404 + default: *402 headers: Link: *37 x-github: @@ -56607,8 +56109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -56635,7 +56137,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -56660,17 +56162,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *362 - - *363 - - *203 + - *360 + - *361 + - *202 responses: '200': description: Response content: application/json: - schema: *403 + schema: *401 examples: - default: &523 + default: &521 value: name: USERNAME value: octocat @@ -56696,9 +56198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *362 - - *363 - - *203 + - *360 + - *361 + - *202 requestBody: required: true content: @@ -56740,9 +56242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *362 - - *363 - - *203 + - *360 + - *361 + - *202 responses: '204': description: Response @@ -56767,8 +56269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -56786,7 +56288,7 @@ paths: type: integer workflows: type: array - items: &405 + items: &403 title: Workflow description: A GitHub Actions workflow type: object @@ -56904,9 +56406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *362 - - *363 - - &406 + - *360 + - *361 + - &404 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56921,7 +56423,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *403 examples: default: value: @@ -56954,9 +56456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *362 - - *363 - - *406 + - *360 + - *361 + - *404 responses: '204': description: Response @@ -56981,9 +56483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *362 - - *363 - - *406 + - *360 + - *361 + - *404 responses: '204': description: Response @@ -57034,9 +56536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *362 - - *363 - - *406 + - *360 + - *361 + - *404 responses: '204': description: Response @@ -57063,19 +56565,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: - - *362 - - *363 + - *360 + - *361 + - *404 + - *405 - *406 - *407 - *408 - - *409 - - *410 - *17 - *19 + - *409 + - *388 + - *410 - *411 - - *390 - - *412 - - *413 responses: '200': description: Response @@ -57091,9 +56593,9 @@ paths: type: integer workflow_runs: type: array - items: *391 + items: *389 examples: - default: *414 + default: *412 headers: Link: *37 x-github: @@ -57126,9 +56628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *362 - - *363 - - *406 + - *360 + - *361 + - *404 responses: '200': description: Response @@ -57189,8 +56691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *362 - - *363 + - *360 + - *361 - *84 - *17 - *82 @@ -57358,8 +56860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -57371,7 +56873,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '404': *6 @@ -57396,8 +56898,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: - - *362 - - *363 + - *360 + - *361 - name: assignee in: path required: true @@ -57433,8 +56935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -57546,8 +57048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *82 - *83 @@ -57601,7 +57103,7 @@ paths: bundle_url: type: string examples: - default: *415 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57621,8 +57123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -57630,7 +57132,7 @@ paths: application/json: schema: type: array - items: &416 + items: &414 title: Autolink reference description: An autolink reference. type: object @@ -57684,8 +57186,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -57724,9 +57226,9 @@ paths: description: response content: application/json: - schema: *416 + schema: *414 examples: - default: &417 + default: &415 value: id: 1 key_prefix: TICKET- @@ -57757,9 +57259,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: - - *362 - - *363 - - &418 + - *360 + - *361 + - &416 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57771,9 +57273,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 '404': *6 x-github: githubCloudOnly: false @@ -57793,9 +57295,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: - - *362 - - *363 - - *418 + - *360 + - *361 + - *416 responses: '204': description: Response @@ -57819,8 +57321,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response if Dependabot is enabled @@ -57870,8 +57372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -57892,8 +57394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -57913,8 +57415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *362 - - *363 + - *360 + - *361 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57952,7 +57454,7 @@ paths: - url protected: type: boolean - protection: &420 + protection: &418 title: Branch Protection description: Branch Protection type: object @@ -57995,7 +57497,7 @@ paths: required: - contexts - checks - enforce_admins: &423 + enforce_admins: &421 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58012,7 +57514,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &425 + required_pull_request_reviews: &423 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58034,7 +57536,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *277 + items: *275 apps: description: The list of apps with review dismissal access. @@ -58066,7 +57568,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *277 + items: *275 apps: description: The list of apps allowed to bypass pull request requirements. @@ -58096,7 +57598,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &422 + restrictions: &420 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58421,9 +57923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *362 - - *363 - - &421 + - *360 + - *361 + - &419 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). @@ -58437,14 +57939,14 @@ paths: description: Response content: application/json: - schema: &431 + schema: &429 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &480 + commit: &478 title: Commit description: Commit type: object @@ -58483,7 +57985,7 @@ paths: author: anyOf: - type: 'null' - - &419 + - &417 title: Git User description: Metaproperties for Git author/committer information. @@ -58504,7 +58006,7 @@ paths: committer: anyOf: - type: 'null' - - *419 + - *417 message: type: string examples: @@ -58528,7 +58030,7 @@ paths: required: - sha - url - verification: &529 + verification: &527 title: Verification type: object properties: @@ -58564,14 +58066,14 @@ paths: author: oneOf: - *4 - - *201 + - *200 type: - 'null' - object committer: oneOf: - *4 - - *201 + - *200 type: - 'null' - object @@ -58608,7 +58110,7 @@ paths: type: integer files: type: array - items: &492 + items: &490 title: Diff Entry description: Diff Entry type: object @@ -58702,7 +58204,7 @@ paths: - self protected: type: boolean - protection: *420 + protection: *418 protection_url: type: string format: uri @@ -58811,7 +58313,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *376 + '301': *374 '404': *6 x-github: githubCloudOnly: false @@ -58833,15 +58335,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *420 + schema: *418 examples: default: value: @@ -59035,9 +58537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -59297,7 +58799,7 @@ paths: url: type: string format: uri - required_status_checks: &428 + required_status_checks: &426 title: Status Check Policy description: Status Check Policy type: object @@ -59378,7 +58880,7 @@ paths: items: *4 teams: type: array - items: *277 + items: *275 apps: type: array items: *5 @@ -59396,7 +58898,7 @@ paths: items: *4 teams: type: array - items: *277 + items: *275 apps: type: array items: *5 @@ -59456,7 +58958,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *422 + restrictions: *420 required_conversation_resolution: type: object properties: @@ -59568,9 +59070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -59595,17 +59097,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: &424 + default: &422 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59627,17 +59129,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: *424 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59656,9 +59158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -59683,17 +59185,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *425 + schema: *423 examples: - default: &426 + default: &424 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59789,9 +59291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -59889,9 +59391,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *423 examples: - default: *426 + default: *424 '422': *15 x-github: githubCloudOnly: false @@ -59912,9 +59414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -59941,17 +59443,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: &427 + default: &425 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59974,17 +59476,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: *427 + default: *425 '404': *6 x-github: githubCloudOnly: false @@ -60004,9 +59506,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -60031,17 +59533,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: &429 + default: &427 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60067,9 +59569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60121,9 +59623,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: *429 + default: *427 '404': *6 '422': *15 x-github: @@ -60145,9 +59647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -60171,9 +59673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response @@ -60207,9 +59709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60276,9 +59778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60342,9 +59844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: content: application/json: @@ -60410,15 +59912,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response content: application/json: - schema: *422 + schema: *420 examples: default: value: @@ -60509,9 +60011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '204': description: Response @@ -60534,9 +60036,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: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response @@ -60546,7 +60048,7 @@ paths: type: array items: *5 examples: - default: &430 + default: &428 value: - id: 1 slug: octoapp @@ -60603,9 +60105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -60639,7 +60141,7 @@ paths: type: array items: *5 examples: - default: *430 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -60660,9 +60162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -60696,7 +60198,7 @@ paths: type: array items: *5 examples: - default: *430 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -60717,9 +60219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -60753,7 +60255,7 @@ paths: type: array items: *5 examples: - default: *430 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -60775,9 +60277,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: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response @@ -60785,9 +60287,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 '404': *6 x-github: githubCloudOnly: false @@ -60807,9 +60309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60845,9 +60347,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 '422': *15 x-github: githubCloudOnly: false @@ -60868,9 +60370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: false content: @@ -60906,9 +60408,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 '422': *15 x-github: githubCloudOnly: false @@ -60929,9 +60431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: content: application/json: @@ -60966,9 +60468,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 '422': *15 x-github: githubCloudOnly: false @@ -60990,9 +60492,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: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 responses: '200': description: Response @@ -61002,7 +60504,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '404': *6 x-github: githubCloudOnly: false @@ -61026,9 +60528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -61061,7 +60563,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '422': *15 x-github: githubCloudOnly: false @@ -61086,9 +60588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -61121,7 +60623,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '422': *15 x-github: githubCloudOnly: false @@ -61146,9 +60648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -61181,7 +60683,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '422': *15 x-github: githubCloudOnly: false @@ -61208,9 +60710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 requestBody: required: true content: @@ -61232,7 +60734,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *429 examples: default: value: @@ -61346,12 +60848,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *362 - - *363 + - *360 + - *361 + - *212 - *213 - *214 - *215 - - *216 - *17 - *19 responses: @@ -61361,9 +60863,9 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: - default: *218 + default: *217 '404': *6 '500': *95 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -61383,8 +60885,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *362 - - *363 + - *360 + - *361 - name: bypass_request_number in: path required: true @@ -61398,7 +60900,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *216 examples: default: value: @@ -61457,12 +60959,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *362 - - *363 + - *360 + - *361 + - *212 - *213 - *214 - *215 - - *216 - *17 - *19 responses: @@ -61472,9 +60974,9 @@ paths: application/json: schema: type: array - items: *432 + items: *430 examples: - default: *433 + default: *431 '404': *6 '403': *27 '500': *95 @@ -61498,8 +61000,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *362 - - *363 + - *360 + - *361 - name: bypass_request_number in: path required: true @@ -61511,7 +61013,7 @@ paths: description: A single bypass request. content: application/json: - schema: *432 + schema: *430 examples: default: value: @@ -61569,8 +61071,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *362 - - *363 + - *360 + - *361 - name: bypass_request_number in: path required: true @@ -61641,8 +61143,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *362 - - *363 + - *360 + - *361 - name: bypass_response_id in: path required: true @@ -61675,8 +61177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -61955,7 +61457,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &433 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62090,8 +61592,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *434 - deployment: &743 + items: *432 + deployment: &741 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62378,9 +61880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *362 - - *363 - - &436 + - *360 + - *361 + - &434 name: check_run_id description: The unique identifier of the check run. in: path @@ -62392,9 +61894,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: &437 + default: &435 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62494,9 +61996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *362 - - *363 - - *436 + - *360 + - *361 + - *434 requestBody: required: true content: @@ -62736,9 +62238,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *437 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62758,9 +62260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *362 - - *363 - - *436 + - *360 + - *361 + - *434 - *17 - *19 responses: @@ -62872,15 +62374,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *362 - - *363 - - *436 + - *360 + - *361 + - *434 responses: '201': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -62918,8 +62420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -62941,7 +62443,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &439 + schema: &437 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63023,12 +62525,12 @@ paths: type: - array - 'null' - items: *434 + items: *432 app: anyOf: - type: 'null' - *5 - repository: *190 + repository: *189 created_at: type: - string @@ -63039,7 +62541,7 @@ paths: - string - 'null' format: date-time - head_commit: *438 + head_commit: *436 latest_check_runs_count: type: integer check_runs_url: @@ -63067,7 +62569,7 @@ paths: - check_runs_url - pull_requests examples: - default: &440 + default: &438 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63358,9 +62860,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *439 + schema: *437 examples: - default: *440 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63379,8 +62881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -63441,7 +62943,7 @@ paths: required: - app_id - setting - repository: *190 + repository: *189 examples: default: value: @@ -63689,9 +63191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *362 - - *363 - - &441 + - *360 + - *361 + - &439 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63703,9 +63205,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *437 examples: - default: *440 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63728,17 +63230,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: - - *362 - - *363 - - *441 - - &487 + - *360 + - *361 + - *439 + - &485 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &488 + - &486 name: status description: Returns check runs with the specified `status`. in: query @@ -63777,9 +63279,9 @@ paths: type: integer check_runs: type: array - items: *435 + items: *433 examples: - default: &489 + default: &487 value: total_count: 1 check_runs: @@ -63881,15 +63383,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *362 - - *363 - - *441 + - *360 + - *361 + - *439 responses: '201': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -63916,21 +63418,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: - - *362 - - *363 + - *360 + - *361 + - *220 - *221 - - *222 - *19 - *17 - - &457 + - &455 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: *442 - - &458 + schema: *440 + - &456 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63955,13 +63457,13 @@ paths: be returned. in: query required: false - schema: *223 + schema: *222 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *443 + schema: *441 responses: '200': description: Response @@ -63977,7 +63479,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *444 + instances_url: *442 state: *87 fixed_at: *106 dismissed_by: @@ -63985,11 +63487,11 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *445 - dismissed_comment: *446 - rule: *447 - tool: *448 - most_recent_instance: *449 + dismissed_reason: *443 + dismissed_comment: *444 + rule: *445 + tool: *446 + most_recent_instance: *447 dismissal_approved_by: anyOf: - type: 'null' @@ -64109,7 +63611,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &450 + '403': &448 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -64136,9 +63638,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: - - *362 - - *363 - - &451 + - *360 + - *361 + - &449 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64152,7 +63654,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &450 type: object properties: number: *96 @@ -64160,7 +63662,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *444 + instances_url: *442 state: *87 fixed_at: *106 dismissed_by: @@ -64168,8 +63670,8 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *445 - dismissed_comment: *446 + dismissed_reason: *443 + dismissed_comment: *444 rule: type: object properties: @@ -64231,8 +63733,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *448 - most_recent_instance: *449 + tool: *446 + most_recent_instance: *447 dismissal_approved_by: anyOf: - type: 'null' @@ -64325,7 +63827,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -64345,9 +63847,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 requestBody: required: true content: @@ -64362,8 +63864,8 @@ paths: enum: - open - dismissed - dismissed_reason: *445 - dismissed_comment: *446 + dismissed_reason: *443 + dismissed_comment: *444 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64382,7 +63884,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *450 examples: default: value: @@ -64458,7 +63960,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &456 + '403': &454 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -64485,15 +63987,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 responses: '200': description: Response content: application/json: - schema: &453 + schema: &451 type: object properties: status: @@ -64520,13 +64022,13 @@ paths: - description - started_at examples: - default: &454 + default: &452 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &455 + '400': &453 description: Bad Request content: application/json: @@ -64537,7 +64039,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': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -64562,29 +64064,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 responses: '200': description: OK content: application/json: - schema: *453 + schema: *451 examples: - default: *454 + default: *452 '202': description: Accepted content: application/json: - schema: *453 + schema: *451 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *455 + '400': *453 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64616,9 +64118,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 requestBody: required: false content: @@ -64664,8 +64166,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *455 - '403': *456 + '400': *453 + '403': *454 '404': *6 '422': description: Unprocessable Entity @@ -64689,13 +64191,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 - *19 - *17 - - *457 - - *458 + - *455 + - *456 responses: '200': description: Response @@ -64703,7 +64205,7 @@ paths: application/json: schema: type: array - items: *449 + items: *447 examples: default: value: @@ -64742,7 +64244,7 @@ paths: end_column: 50 classifications: - source - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -64776,25 +64278,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: - - *362 - - *363 + - *360 + - *361 + - *220 - *221 - - *222 - *19 - *17 - - *458 + - *456 - 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: *442 + schema: *440 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &461 + schema: &459 type: string description: An identifier for the upload. examples: @@ -64816,23 +64318,23 @@ paths: application/json: schema: type: array - items: &462 + items: &460 type: object properties: - ref: *442 - commit_sha: &470 + ref: *440 + commit_sha: &468 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: *459 + analysis_key: *457 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *460 + category: *458 error: type: string examples: @@ -64857,8 +64359,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *461 - tool: *448 + sarif_id: *459 + tool: *446 deletable: type: boolean warning: @@ -64920,7 +64422,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -64956,8 +64458,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: - - *362 - - *363 + - *360 + - *361 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64970,7 +64472,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *460 examples: response: summary: application/json response @@ -65024,7 +64526,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -65106,8 +64608,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: - - *362 - - *363 + - *360 + - *361 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65163,7 +64665,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': *456 + '403': *454 '404': *6 '503': *128 x-github: @@ -65185,8 +64687,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -65194,7 +64696,7 @@ paths: application/json: schema: type: array - items: &463 + items: &461 title: CodeQL Database description: A CodeQL database. type: object @@ -65306,7 +64808,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': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -65335,8 +64837,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: - - *362 - - *363 + - *360 + - *361 - name: language in: path description: The language of the CodeQL database. @@ -65348,7 +64850,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *461 examples: default: value: @@ -65380,9 +64882,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': &494 + '302': &492 description: Found - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -65404,8 +64906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *362 - - *363 + - *360 + - *361 - name: language in: path description: The language of the CodeQL database. @@ -65415,7 +64917,7 @@ paths: responses: '204': description: Response - '403': *456 + '403': *454 '404': *6 '503': *128 x-github: @@ -65443,8 +64945,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -65453,7 +64955,7 @@ paths: type: object additionalProperties: false properties: - language: &464 + language: &462 type: string description: The language targeted by the CodeQL query enum: @@ -65531,7 +65033,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &468 + schema: &466 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65541,7 +65043,7 @@ paths: description: The ID of the variant analysis. controller_repo: *94 actor: *4 - query_language: *464 + query_language: *462 query_pack_url: type: string description: The download url for the query pack. @@ -65589,7 +65091,7 @@ paths: items: type: object properties: - repository: &465 + repository: &463 title: Repository Identifier description: Repository Identifier type: object @@ -65631,7 +65133,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &469 + analysis_status: &467 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65663,7 +65165,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &466 + access_mismatch_repos: &464 type: object properties: repository_count: @@ -65678,7 +65180,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: *465 + items: *463 required: - repository_count - repositories @@ -65701,8 +65203,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *466 - over_limit_repos: *466 + no_codeql_db_repos: *464 + over_limit_repos: *464 required: - access_mismatch_repos - not_found_repos @@ -65718,7 +65220,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &467 + value: &465 summary: Default response value: id: 1 @@ -65870,10 +65372,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *467 + value: *465 repository_lists: summary: Response for a successful variant analysis submission - value: *467 + value: *465 '404': *6 '422': description: Unable to process variant analysis submission @@ -65901,8 +65403,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: - - *362 - - *363 + - *360 + - *361 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65914,9 +65416,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *466 examples: - default: *467 + default: *465 '404': *6 '503': *128 x-github: @@ -65939,7 +65441,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: - - *362 + - *360 - name: repo in: path description: The name of the controller repository. @@ -65974,7 +65476,7 @@ paths: type: object properties: repository: *94 - analysis_status: *469 + analysis_status: *467 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66099,8 +65601,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -66182,7 +65684,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *450 + '403': *448 '404': *6 '503': *128 x-github: @@ -66203,8 +65705,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -66263,7 +65765,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -66288,7 +65790,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *456 + '403': *454 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66353,8 +65855,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -66362,7 +65864,7 @@ paths: schema: type: object properties: - commit_sha: *470 + commit_sha: *468 ref: type: string description: |- @@ -66422,7 +65924,7 @@ paths: schema: type: object properties: - id: *461 + id: *459 url: type: string description: The REST API URL for checking the status of the upload. @@ -66436,7 +65938,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': *456 + '403': *454 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -66459,8 +65961,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: - - *362 - - *363 + - *360 + - *361 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66508,7 +66010,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': *450 + '403': *448 '404': description: Not Found if the sarif id does not match any upload '503': *128 @@ -66533,8 +66035,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -66615,8 +66117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *362 - - *363 + - *360 + - *361 - 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 @@ -66744,8 +66246,8 @@ paths: parameters: - *17 - *19 - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -66761,7 +66263,7 @@ paths: type: integer codespaces: type: array - items: *284 + items: *282 examples: default: value: @@ -67059,8 +66561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -67124,17 +66626,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '400': *14 '401': *23 '403': *27 @@ -67163,8 +66665,8 @@ paths: parameters: - *17 - *19 - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -67228,8 +66730,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: - - *362 - - *363 + - *360 + - *361 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67266,9 +66768,9 @@ paths: type: integer machines: type: array - items: *472 + items: *470 examples: - default: &700 + default: &698 value: total_count: 2 machines: @@ -67308,8 +66810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *362 - - *363 + - *360 + - *361 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67396,8 +66898,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: - - *362 - - *363 + - *360 + - *361 - 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 @@ -67466,8 +66968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -67485,7 +66987,7 @@ paths: type: integer secrets: type: array - items: &476 + items: &474 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67506,7 +67008,7 @@ paths: - created_at - updated_at examples: - default: *473 + default: *471 headers: Link: *37 x-github: @@ -67529,16 +67031,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *474 + schema: *472 examples: - default: *475 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67558,17 +67060,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '200': description: Response content: application/json: - schema: *476 + schema: *474 examples: - default: *477 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67588,9 +67090,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: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 requestBody: required: true content: @@ -67618,7 +67120,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -67642,9 +67144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '204': description: Response @@ -67672,8 +67174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *362 - - *363 + - *360 + - *361 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67711,7 +67213,7 @@ paths: application/json: schema: type: array - items: &478 + items: &476 title: Collaborator description: Collaborator type: object @@ -67904,9 +67406,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: - - *362 - - *363 - - *212 + - *360 + - *361 + - *211 responses: '204': description: Response if user is a collaborator @@ -67948,9 +67450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *362 - - *363 - - *212 + - *360 + - *361 + - *211 requestBody: required: false content: @@ -67976,7 +67478,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &542 + schema: &540 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67988,7 +67490,7 @@ paths: format: int64 examples: - 42 - repository: *190 + repository: *189 invitee: anyOf: - type: 'null' @@ -68197,9 +67699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *362 - - *363 - - *212 + - *360 + - *361 + - *211 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68228,9 +67730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *362 - - *363 - - *212 + - *360 + - *361 + - *211 responses: '200': description: if user has admin permissions @@ -68250,7 +67752,7 @@ paths: user: anyOf: - type: 'null' - - *478 + - *476 required: - permission - role_name @@ -68304,8 +67806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -68315,7 +67817,7 @@ paths: application/json: schema: type: array - items: &479 + items: &477 title: Commit Comment description: Commit Comment type: object @@ -68356,8 +67858,8 @@ paths: updated_at: type: string format: date-time - author_association: *135 - reactions: *136 + author_association: *134 + reactions: *135 required: - url - html_url @@ -68373,7 +67875,7 @@ paths: - created_at - updated_at examples: - default: &482 + default: &480 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68432,17 +67934,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '200': description: Response content: application/json: - schema: *479 + schema: *477 examples: - default: &483 + default: &481 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68499,9 +68001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -68523,7 +68025,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *477 examples: default: value: @@ -68574,9 +68076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '204': description: Response @@ -68597,9 +68099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 - 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. @@ -68625,9 +68127,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 @@ -68648,9 +68150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -68682,16 +68184,16 @@ paths: description: Reaction exists content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Reaction created content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -68713,10 +68215,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *362 - - *363 - - *147 - - *354 + - *360 + - *361 + - *146 + - *352 responses: '204': description: Response @@ -68765,8 +68267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *362 - - *363 + - *360 + - *361 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68822,9 +68324,9 @@ paths: application/json: schema: type: array - items: *480 + items: *478 examples: - default: &590 + default: &588 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68918,9 +68420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *362 - - *363 - - &481 + - *360 + - *361 + - &479 name: commit_sha description: The SHA of the commit. in: path @@ -68992,9 +68494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *362 - - *363 - - *481 + - *360 + - *361 + - *479 - *17 - *19 responses: @@ -69004,9 +68506,9 @@ paths: application/json: schema: type: array - items: *479 + items: *477 examples: - default: *482 + default: *480 headers: Link: *37 x-github: @@ -69034,9 +68536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *362 - - *363 - - *481 + - *360 + - *361 + - *479 requestBody: required: true content: @@ -69071,9 +68573,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *477 examples: - default: *483 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69091,7 +68593,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: @@ -69101,9 +68603,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: - - *362 - - *363 - - *481 + - *360 + - *361 + - *479 - *17 - *19 responses: @@ -69113,7 +68615,7 @@ paths: application/json: schema: type: array - items: &581 + items: &579 title: Pull Request Simple description: Pull Request Simple type: object @@ -69233,7 +68735,7 @@ paths: milestone: anyOf: - type: 'null' - - *484 + - *482 active_lock_reason: type: - string @@ -69288,7 +68790,7 @@ paths: type: - array - 'null' - items: *277 + items: *275 head: type: object properties: @@ -69332,7 +68834,7 @@ paths: _links: type: object properties: - comments: &485 + comments: &483 title: Link description: Hypermedia Link type: object @@ -69341,13 +68843,13 @@ paths: type: string required: - href - commits: *485 - statuses: *485 - html: *485 - issue: *485 - review_comments: *485 - review_comment: *485 - self: *485 + commits: *483 + statuses: *483 + html: *483 + issue: *483 + review_comments: *483 + review_comment: *483 + self: *483 required: - comments - commits @@ -69357,8 +68859,8 @@ paths: - review_comments - review_comment - self - author_association: *135 - auto_merge: &583 + author_association: *134 + auto_merge: &581 title: Auto merge description: The status of auto merging a pull request. type: @@ -69423,7 +68925,7 @@ paths: - author_association - auto_merge examples: - default: &582 + default: &580 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69960,11 +69462,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *362 - - *363 + - *360 + - *361 - *19 - *17 - - &486 + - &484 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)" @@ -69979,9 +69481,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *478 examples: - default: &569 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70094,11 +69596,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: - - *362 - - *363 + - *360 + - *361 + - *484 + - *485 - *486 - - *487 - - *488 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70132,9 +69634,9 @@ paths: type: integer check_runs: type: array - items: *435 + items: *433 examples: - default: *489 + default: *487 headers: Link: *37 x-github: @@ -70159,9 +69661,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: - - *362 - - *363 - - *486 + - *360 + - *361 + - *484 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70169,7 +69671,7 @@ paths: schema: type: integer example: 1 - - *487 + - *485 - *17 - *19 responses: @@ -70187,7 +69689,7 @@ paths: type: integer check_suites: type: array - items: *439 + items: *437 examples: default: value: @@ -70387,9 +69889,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: - - *362 - - *363 - - *486 + - *360 + - *361 + - *484 - *17 - *19 responses: @@ -70460,7 +69962,7 @@ paths: type: string total_count: type: integer - repository: *190 + repository: *189 commit_url: type: string format: uri @@ -70591,9 +70093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *362 - - *363 - - *486 + - *360 + - *361 + - *484 - *17 - *19 responses: @@ -70603,7 +70105,7 @@ paths: application/json: schema: type: array - items: &648 + items: &646 title: Status description: The status of a commit. type: object @@ -70684,7 +70186,7 @@ paths: site_admin: false headers: Link: *37 - '301': *376 + '301': *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70712,8 +70214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -70746,11 +70248,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *490 + - *488 code_of_conduct_file: anyOf: - type: 'null' - - &491 + - &489 title: Community Health File type: object properties: @@ -70766,23 +70268,23 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 contributing: anyOf: - type: 'null' - - *491 + - *489 readme: anyOf: - type: 'null' - - *491 + - *489 issue_template: anyOf: - type: 'null' - - *491 + - *489 pull_request_template: anyOf: - type: 'null' - - *491 + - *489 required: - code_of_conduct - code_of_conduct_file @@ -70911,8 +70413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *362 - - *363 + - *360 + - *361 - *19 - *17 - name: basehead @@ -70960,8 +70462,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *480 - merge_base_commit: *480 + base_commit: *478 + merge_base_commit: *478 status: type: string enum: @@ -70985,10 +70487,10 @@ paths: - 6 commits: type: array - items: *480 + items: *478 files: type: array - items: *492 + items: *490 required: - url - html_url @@ -71274,8 +70776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *362 - - *363 + - *360 + - *361 - name: path description: path parameter in: path @@ -71426,7 +70928,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &493 + response-if-content-is-a-file: &491 summary: Response if content is a file value: type: file @@ -71563,7 +71065,7 @@ paths: - size - type - url - - &595 + - &593 title: Content File description: Content File type: object @@ -71781,7 +71283,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *493 + response-if-content-is-a-file: *491 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71850,7 +71352,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *494 + '302': *492 '304': *35 x-github: githubCloudOnly: false @@ -71873,8 +71375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *362 - - *363 + - *360 + - *361 - name: path description: path parameter in: path @@ -71969,7 +71471,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &493 title: File Commit description: File Commit type: object @@ -72125,7 +71627,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: example-for-creating-a-file: value: @@ -72179,7 +71681,7 @@ paths: schema: oneOf: - *3 - - &524 + - &522 description: Repository rule violation was detected type: object properties: @@ -72200,7 +71702,7 @@ paths: items: type: object properties: - placeholder_id: &640 + placeholder_id: &638 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72232,8 +71734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *362 - - *363 + - *360 + - *361 - name: path description: path parameter in: path @@ -72294,7 +71796,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *493 examples: default: value: @@ -72349,8 +71851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *362 - - *363 + - *360 + - *361 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72474,21 +71976,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 + - *238 + - *239 - *240 - *241 - - *242 - - *243 - 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 + - *242 + - *243 - *244 - - *245 - - *246 - *84 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -72508,8 +72010,8 @@ paths: default: 30 - *82 - *83 - - *247 - - *248 + - *245 + - *246 responses: '200': description: Response @@ -72517,7 +72019,7 @@ paths: application/json: schema: type: array - items: &498 + items: &496 type: object description: A Dependabot alert. properties: @@ -72567,7 +72069,7 @@ paths: - direct - transitive - - security_advisory: *496 + security_advisory: *494 security_vulnerability: *100 url: *101 html_url: *102 @@ -72598,7 +72100,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: *497 + auto_dismissed_at: *495 required: - number - state @@ -72828,9 +72330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *362 - - *363 - - &499 + - *360 + - *361 + - &497 name: alert_number in: path description: |- @@ -72845,7 +72347,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *496 examples: default: value: @@ -72958,9 +72460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *362 - - *363 - - *499 + - *360 + - *361 + - *497 requestBody: required: true content: @@ -73005,7 +72507,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *496 examples: default: value: @@ -73134,8 +72636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -73153,7 +72655,7 @@ paths: type: integer secrets: type: array - items: &502 + items: &500 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73207,16 +72709,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *500 + schema: *498 examples: - default: *501 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73236,15 +72738,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '200': description: Response content: application/json: - schema: *502 + schema: *500 examples: default: value: @@ -73270,9 +72772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 requestBody: required: true content: @@ -73300,7 +72802,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -73324,9 +72826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *362 - - *363 - - *200 + - *360 + - *361 + - *199 responses: '204': description: Response @@ -73348,8 +72850,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: - - *362 - - *363 + - *360 + - *361 - 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 @@ -73523,8 +73025,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -73784,8 +73286,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -73868,7 +73370,7 @@ paths: - version - url additionalProperties: false - metadata: &503 + metadata: &501 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73907,7 +73409,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *503 + metadata: *501 resolved: type: object description: A collection of resolved package dependencies. @@ -73921,7 +73423,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *503 + metadata: *501 relationship: type: string description: A notation of whether a dependency is requested @@ -74054,8 +73556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *362 - - *363 + - *360 + - *361 - name: sha description: The SHA recorded at creation time. in: query @@ -74096,9 +73598,9 @@ paths: application/json: schema: type: array - items: *504 + items: *502 examples: - default: *505 + default: *503 headers: Link: *37 x-github: @@ -74164,8 +73666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -74247,7 +73749,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: simple-example: summary: Simple example @@ -74320,9 +73822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *362 - - *363 - - &506 + - *360 + - *361 + - &504 name: deployment_id description: deployment_id parameter in: path @@ -74334,7 +73836,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: default: value: @@ -74399,9 +73901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *362 - - *363 - - *506 + - *360 + - *361 + - *504 responses: '204': description: Response @@ -74423,9 +73925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *362 - - *363 - - *506 + - *360 + - *361 + - *504 - *17 - *19 responses: @@ -74435,7 +73937,7 @@ paths: application/json: schema: type: array - items: &507 + items: &505 title: Deployment Status description: The status of a deployment. type: object @@ -74599,9 +74101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *362 - - *363 - - *506 + - *360 + - *361 + - *504 requestBody: required: true content: @@ -74676,9 +74178,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *505 examples: - default: &508 + default: &506 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74734,9 +74236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *362 - - *363 - - *506 + - *360 + - *361 + - *504 - name: status_id in: path required: true @@ -74747,9 +74249,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *505 examples: - default: *508 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -74774,8 +74276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -74832,8 +74334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -74851,7 +74353,7 @@ paths: - 5 environments: type: array - items: &510 + items: &508 title: Environment description: Details of a deployment environment type: object @@ -74913,7 +74415,7 @@ paths: type: string examples: - wait_timer - wait_timer: &512 + wait_timer: &510 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -74955,11 +74457,11 @@ paths: items: type: object properties: - type: *509 + type: *507 reviewer: anyOf: - *4 - - *277 + - *275 required: - id - node_id @@ -74982,7 +74484,7 @@ paths: - id - node_id - type - deployment_branch_policy: &513 + deployment_branch_policy: &511 type: - object - 'null' @@ -75099,9 +74601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *362 - - *363 - - &511 + - *360 + - *361 + - &509 name: environment_name in: path required: true @@ -75114,9 +74616,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: &514 + default: &512 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75200,9 +74702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 requestBody: required: false content: @@ -75212,7 +74714,7 @@ paths: - object - 'null' properties: - wait_timer: *512 + wait_timer: *510 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -75231,14 +74733,14 @@ paths: items: type: object properties: - type: *509 + type: *507 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *513 + deployment_branch_policy: *511 additionalProperties: false examples: default: @@ -75258,9 +74760,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *508 examples: - default: *514 + default: *512 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75284,9 +74786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 responses: '204': description: Default response @@ -75311,9 +74813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 - *17 - *19 responses: @@ -75332,7 +74834,7 @@ paths: - 2 branch_policies: type: array - items: &515 + items: &513 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75393,9 +74895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 requestBody: required: true content: @@ -75443,9 +74945,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *513 examples: - example-wildcard: &516 + example-wildcard: &514 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75487,10 +74989,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *362 - - *363 - - *511 - - &517 + - *360 + - *361 + - *509 + - &515 name: branch_policy_id in: path required: true @@ -75502,9 +75004,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *513 examples: - default: *516 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75523,10 +75025,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *362 - - *363 - - *511 - - *517 + - *360 + - *361 + - *509 + - *515 requestBody: required: true content: @@ -75555,9 +75057,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *513 examples: - default: *516 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75576,10 +75078,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *362 - - *363 - - *511 - - *517 + - *360 + - *361 + - *509 + - *515 responses: '204': description: Response @@ -75604,9 +75106,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: - - *511 - - *363 - - *362 + - *509 + - *361 + - *360 responses: '200': description: List of deployment protection rules @@ -75623,7 +75125,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &518 + items: &516 title: Deployment protection rule description: Deployment protection rule type: object @@ -75645,7 +75147,7 @@ paths: for the environment. examples: - true - app: &519 + app: &517 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75748,9 +75250,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: - - *511 - - *363 - - *362 + - *509 + - *361 + - *360 requestBody: content: application/json: @@ -75771,9 +75273,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *518 + schema: *516 examples: - default: &520 + default: &518 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75808,9 +75310,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: - - *511 - - *363 - - *362 + - *509 + - *361 + - *360 - *19 - *17 responses: @@ -75830,7 +75332,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *519 + items: *517 examples: default: value: @@ -75865,10 +75367,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: - - *362 - - *363 - - *511 - - &521 + - *360 + - *361 + - *509 + - &519 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75880,9 +75382,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *516 examples: - default: *520 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75903,10 +75405,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: - - *511 - - *363 - - *362 - - *521 + - *509 + - *361 + - *360 + - *519 responses: '204': description: Response @@ -75932,9 +75434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 - *17 - *19 responses: @@ -75952,9 +75454,9 @@ paths: type: integer secrets: type: array - items: *399 + items: *397 examples: - default: *400 + default: *398 headers: Link: *37 x-github: @@ -75979,17 +75481,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 responses: '200': description: Response content: application/json: - schema: *401 + schema: *399 examples: - default: *402 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76011,18 +75513,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *362 - - *363 - - *511 - - *200 + - *360 + - *361 + - *509 + - *199 responses: '200': description: Response content: application/json: - schema: *399 + schema: *397 examples: - default: *522 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76044,10 +75546,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *362 - - *363 - - *511 - - *200 + - *360 + - *361 + - *509 + - *199 requestBody: required: true content: @@ -76078,7 +75580,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -76104,10 +75606,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *362 - - *363 - - *511 - - *200 + - *360 + - *361 + - *509 + - *199 responses: '204': description: Default response @@ -76132,10 +75634,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *362 - - *363 - - *511 - - *386 + - *360 + - *361 + - *509 + - *384 - *19 responses: '200': @@ -76152,9 +75654,9 @@ paths: type: integer variables: type: array - items: *403 + items: *401 examples: - default: *404 + default: *402 headers: Link: *37 x-github: @@ -76177,9 +75679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *362 - - *363 - - *511 + - *360 + - *361 + - *509 requestBody: required: true content: @@ -76206,7 +75708,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -76231,18 +75733,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *362 - - *363 - - *511 - - *203 + - *360 + - *361 + - *509 + - *202 responses: '200': description: Response content: application/json: - schema: *403 + schema: *401 examples: - default: *523 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76263,10 +75765,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *362 - - *363 - - *203 - - *511 + - *360 + - *361 + - *202 + - *509 requestBody: required: true content: @@ -76308,10 +75810,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *362 - - *363 - - *203 - - *511 + - *360 + - *361 + - *202 + - *509 responses: '204': description: Response @@ -76333,8 +75835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -76344,7 +75846,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: 200-response: value: @@ -76411,8 +75913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *362 - - *363 + - *360 + - *361 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76434,7 +75936,7 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: default: value: @@ -76571,8 +76073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -76605,9 +76107,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 + default: *375 '400': *14 '422': *15 '403': *27 @@ -76628,8 +76130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -76688,8 +76190,8 @@ paths: application/json: schema: oneOf: - - *173 - - *524 + - *172 + - *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76714,8 +76216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *362 - - *363 + - *360 + - *361 - name: file_sha in: path required: true @@ -76815,8 +76317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -76925,7 +76427,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &523 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77152,15 +76654,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *362 - - *363 - - *481 + - *360 + - *361 + - *479 responses: '200': description: Response content: application/json: - schema: *525 + schema: *523 examples: default: value: @@ -77216,9 +76718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *362 - - *363 - - &526 + - *360 + - *361 + - &524 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. @@ -77235,7 +76737,7 @@ paths: application/json: schema: type: array - items: &527 + items: &525 title: Git Reference description: Git references within a repository type: object @@ -77311,17 +76813,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *362 - - *363 - - *526 + - *360 + - *361 + - *524 responses: '200': description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: &528 + default: &526 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77350,8 +76852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -77380,9 +76882,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: *528 + default: *526 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77408,9 +76910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *362 - - *363 - - *526 + - *360 + - *361 + - *524 requestBody: required: true content: @@ -77439,9 +76941,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: - default: *528 + default: *526 '422': *15 '409': *92 x-github: @@ -77459,9 +76961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *362 - - *363 - - *526 + - *360 + - *361 + - *524 responses: '204': description: Response @@ -77514,8 +77016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -77582,7 +77084,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &528 title: Git Tag description: Metadata for a Git tag type: object @@ -77638,7 +77140,7 @@ paths: - sha - type - url - verification: *529 + verification: *527 required: - sha - url @@ -77648,7 +77150,7 @@ paths: - tag - message examples: - default: &531 + default: &529 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77721,8 +77223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *362 - - *363 + - *360 + - *361 - name: tag_sha in: path required: true @@ -77733,9 +77235,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *528 examples: - default: *531 + default: *529 '404': *6 '409': *92 x-github: @@ -77759,8 +77261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -77834,7 +77336,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &530 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77952,8 +77454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *362 - - *363 + - *360 + - *361 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77976,7 +77478,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *530 examples: default-response: summary: Default response @@ -78035,8 +77537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -78046,7 +77548,7 @@ paths: application/json: schema: type: array - items: &533 + items: &531 title: Webhook description: Webhooks for repositories. type: object @@ -78109,7 +77611,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &774 + last_response: &772 title: Hook Response type: object properties: @@ -78186,8 +77688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -78240,9 +77742,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: &534 + default: &532 value: type: Repository id: 12345678 @@ -78290,17 +77792,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '200': description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: *534 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -78320,9 +77822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 requestBody: required: true content: @@ -78367,9 +77869,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: *534 + default: *532 '422': *15 '404': *6 x-github: @@ -78390,9 +77892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '204': description: Response @@ -78416,9 +77918,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: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '200': description: Response @@ -78445,9 +77947,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: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 requestBody: required: false content: @@ -78491,11 +77993,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 - *17 - - *255 + - *253 responses: '200': description: Response @@ -78503,9 +78005,9 @@ paths: application/json: schema: type: array - items: *256 + items: *254 examples: - default: *257 + default: *255 '400': *14 '422': *15 x-github: @@ -78524,18 +78026,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: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 - *16 responses: '200': description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *259 + default: *257 '400': *14 '422': *15 x-github: @@ -78554,9 +78056,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: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 - *16 responses: '202': *93 @@ -78579,9 +78081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '204': description: Response @@ -78606,9 +78108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *362 - - *363 - - *254 + - *360 + - *361 + - *252 responses: '204': description: Response @@ -78666,14 +78168,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: &535 + schema: &533 title: Import description: A repository import from an external source. type: object @@ -78780,7 +78282,7 @@ paths: - html_url - authors_url examples: - default: &538 + default: &536 value: vcs: subversion use_lfs: true @@ -78796,7 +78298,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': &536 + '503': &534 description: Unavailable due to service under maintenance. content: application/json: @@ -78825,8 +78327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -78874,7 +78376,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *533 examples: default: value: @@ -78899,7 +78401,7 @@ paths: type: string '422': *15 '404': *6 - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78927,8 +78429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -78980,7 +78482,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *533 examples: example-1: summary: Example 1 @@ -79028,7 +78530,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': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79051,12 +78553,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79082,9 +78584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *362 - - *363 - - &723 + - *360 + - *361 + - &721 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79098,7 +78600,7 @@ paths: application/json: schema: type: array - items: &537 + items: &535 title: Porter Author description: Porter Author type: object @@ -79152,7 +78654,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': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79177,8 +78679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *362 - - *363 + - *360 + - *361 - name: author_id in: path required: true @@ -79208,7 +78710,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *535 examples: default: value: @@ -79221,7 +78723,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79245,8 +78747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -79287,7 +78789,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79315,8 +78817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -79343,11 +78845,11 @@ paths: description: Response content: application/json: - schema: *535 + schema: *533 examples: - default: *538 + default: *536 '422': *15 - '503': *536 + '503': *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79370,8 +78872,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -79379,8 +78881,8 @@ paths: application/json: schema: *20 examples: - default: *539 - '301': *376 + default: *537 + '301': *374 '404': *6 x-github: githubCloudOnly: false @@ -79400,8 +78902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -79409,12 +78911,12 @@ paths: application/json: schema: anyOf: - - *272 + - *270 - type: object properties: {} additionalProperties: false examples: - default: &541 + default: &539 value: limit: collaborators_only origin: repository @@ -79439,13 +78941,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: application/json: - schema: *540 + schema: *538 examples: default: summary: Example request body @@ -79457,9 +78959,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *270 examples: - default: *541 + default: *539 '409': description: Response x-github: @@ -79481,8 +78983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -79505,8 +79007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -79516,9 +79018,9 @@ paths: application/json: schema: type: array - items: *542 + items: *540 examples: - default: &716 + default: &714 value: - id: 1 repository: @@ -79649,9 +79151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *362 - - *363 - - *276 + - *360 + - *361 + - *274 requestBody: required: false content: @@ -79680,7 +79182,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *540 examples: default: value: @@ -79811,9 +79313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *362 - - *363 - - *276 + - *360 + - *361 + - *274 responses: '204': description: Response @@ -79844,8 +79346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *362 - - *363 + - *360 + - *361 - 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 @@ -79893,7 +79395,7 @@ paths: required: false schema: type: string - - *281 + - *279 - name: sort description: What to sort results by. in: query @@ -79906,7 +79408,7 @@ paths: - comments default: created - *84 - - *138 + - *137 - *17 - *19 responses: @@ -79916,9 +79418,9 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: &551 + default: &549 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80066,7 +79568,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *376 + '301': *374 '422': *15 '404': *6 x-github: @@ -80095,8 +79597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -80186,9 +79688,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: &546 + default: &544 value: id: 1 node_id: MDU6SXNzdWUx @@ -80344,7 +79846,7 @@ paths: '422': *15 '503': *128 '404': *6 - '410': *373 + '410': *371 x-github: triggersNotification: true githubCloudOnly: false @@ -80372,9 +79874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *362 - - *363 - - *157 + - *360 + - *361 + - *156 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80384,7 +79886,7 @@ paths: enum: - asc - desc - - *138 + - *137 - *17 - *19 responses: @@ -80394,9 +79896,9 @@ paths: application/json: schema: type: array - items: *543 + items: *541 examples: - default: &548 + default: &546 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80454,17 +79956,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '200': description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: &544 + default: &542 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80518,9 +80020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -80542,9 +80044,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: *544 + default: *542 '422': *15 x-github: githubCloudOnly: false @@ -80562,9 +80064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '204': description: Response @@ -80584,9 +80086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 - 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. @@ -80612,9 +80114,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 @@ -80635,9 +80137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -80669,16 +80171,16 @@ paths: description: Reaction exists content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Reaction created content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -80700,10 +80202,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *362 - - *363 - - *147 - - *354 + - *360 + - *361 + - *146 + - *352 responses: '204': description: Response @@ -80723,8 +80225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -80734,7 +80236,7 @@ paths: application/json: schema: type: array - items: &545 + items: &543 title: Issue Event description: Issue Event type: object @@ -80781,7 +80283,7 @@ paths: issue: anyOf: - type: 'null' - - *148 + - *147 label: title: Issue Event Label description: Issue Event Label @@ -80814,7 +80316,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *277 + requested_team: *275 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80881,7 +80383,7 @@ paths: required: - from - to - author_association: *135 + author_association: *134 lock_reason: type: - string @@ -81073,8 +80575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *362 - - *363 + - *360 + - *361 - name: event_id in: path required: true @@ -81085,7 +80587,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *543 examples: default: value: @@ -81278,7 +80780,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *373 + '410': *371 '403': *27 x-github: githubCloudOnly: false @@ -81312,9 +80814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *362 - - *363 - - &547 + - *360 + - *361 + - &545 name: issue_number description: The number that identifies the issue. in: path @@ -81326,12 +80828,12 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 - '301': *376 + default: *544 + '301': *374 '404': *6 - '410': *373 + '410': *371 '304': *35 x-github: githubCloudOnly: false @@ -81356,9 +80858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -81476,15 +80978,15 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 '422': *15 '503': *128 '403': *27 - '301': *376 + '301': *374 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81502,9 +81004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -81530,9 +81032,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81548,9 +81050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: content: application/json: @@ -81575,9 +81077,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81599,9 +81101,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: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - name: assignee in: path required: true @@ -81641,10 +81143,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *362 - - *363 - - *547 - - *138 + - *360 + - *361 + - *545 + - *137 - *17 - *19 responses: @@ -81654,13 +81156,13 @@ paths: application/json: schema: type: array - items: *543 + items: *541 examples: - default: *548 + default: *546 headers: Link: *37 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81689,9 +81191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -81713,16 +81215,16 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: *544 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *373 + '410': *371 '422': *15 '404': *6 x-github: @@ -81742,9 +81244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - *17 - *19 responses: @@ -81758,7 +81260,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &552 + - &550 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81807,7 +81309,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &551 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81935,7 +81437,7 @@ paths: - performed_via_github_app - assignee - assigner - - &554 + - &552 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81981,7 +81483,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &553 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82027,7 +81529,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &554 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82076,7 +81578,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &555 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82105,7 +81607,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *277 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -82118,7 +81620,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &556 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82147,7 +81649,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *277 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -82160,7 +81662,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &557 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82216,7 +81718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &558 title: Locked Issue Event description: Locked Issue Event type: object @@ -82261,7 +81763,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &559 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82322,7 +81824,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &560 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82383,7 +81885,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &561 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82444,7 +81946,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &562 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82537,7 +82039,7 @@ paths: color: red headers: Link: *37 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82554,9 +82056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - *17 - *19 responses: @@ -82566,7 +82068,7 @@ paths: application/json: schema: type: array - items: &549 + items: &547 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82621,7 +82123,7 @@ paths: - color - default examples: - default: &550 + default: &548 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82639,9 +82141,9 @@ paths: default: false headers: Link: *37 - '301': *376 + '301': *374 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82658,9 +82160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -82719,12 +82221,12 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *550 - '301': *376 + default: *548 + '301': *374 '404': *6 - '410': *373 + '410': *371 '422': *15 x-github: githubCloudOnly: false @@ -82741,9 +82243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -82803,12 +82305,12 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *550 - '301': *376 + default: *548 + '301': *374 '404': *6 - '410': *373 + '410': *371 '422': *15 x-github: githubCloudOnly: false @@ -82825,15 +82327,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 responses: '204': description: Response - '301': *376 + '301': *374 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82852,9 +82354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - name: name in: path required: true @@ -82867,7 +82369,7 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: default: value: @@ -82878,9 +82380,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *376 + '301': *374 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82900,9 +82402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: false content: @@ -82931,7 +82433,7 @@ paths: '204': description: Response '403': *27 - '410': *373 + '410': *371 '404': *6 '422': *15 x-github: @@ -82949,9 +82451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 responses: '204': description: Response @@ -82973,9 +82475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - 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. @@ -83001,13 +82503,13 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83025,9 +82527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -83059,16 +82561,16 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -83090,10 +82592,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *362 - - *363 - - *547 - - *354 + - *360 + - *361 + - *545 + - *352 responses: '204': description: Response @@ -83122,9 +82624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -83146,9 +82648,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83181,9 +82683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - *17 - *19 responses: @@ -83193,13 +82695,13 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: *551 + default: *549 headers: Link: *37 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83227,9 +82729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -83256,16 +82758,16 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *373 + '410': *371 '422': *15 '404': *6 x-github: @@ -83285,9 +82787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 requestBody: required: true content: @@ -83318,9 +82820,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *147 examples: - default: *546 + default: *544 '403': *27 '404': *6 '422': *7 @@ -83342,9 +82844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *362 - - *363 - - *547 + - *360 + - *361 + - *545 - *17 - *19 responses: @@ -83359,6 +82861,8 @@ paths: description: Timeline Event type: object anyOf: + - *550 + - *551 - *552 - *553 - *554 @@ -83370,8 +82874,6 @@ paths: - *560 - *561 - *562 - - *563 - - *564 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83419,12 +82921,12 @@ paths: issue_url: type: string format: uri - author_association: *135 + author_association: *134 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *136 + reactions: *135 required: - event - actor @@ -83455,7 +82957,7 @@ paths: properties: type: type: string - issue: *148 + issue: *147 required: - event - created_at @@ -83672,7 +83174,7 @@ paths: type: string body_text: type: string - author_association: *135 + author_association: *134 required: - event - id @@ -83695,7 +83197,7 @@ paths: type: string comments: type: array - items: &584 + items: &582 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83800,7 +83302,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *135 + author_association: *134 _links: type: object properties: @@ -83895,7 +83397,7 @@ paths: enum: - line - file - reactions: *136 + reactions: *135 body_html: type: string examples: @@ -83933,7 +83435,7 @@ paths: type: string comments: type: array - items: *479 + items: *477 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84208,7 +83710,7 @@ paths: headers: Link: *37 '404': *6 - '410': *373 + '410': *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84225,8 +83727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -84236,7 +83738,7 @@ paths: application/json: schema: type: array - items: &565 + items: &563 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84303,8 +83805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -84340,9 +83842,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: - default: &566 + default: &564 value: id: 1 key: ssh-rsa AAA... @@ -84376,9 +83878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *362 - - *363 - - &567 + - *360 + - *361 + - &565 name: key_id description: The unique identifier of the key. in: path @@ -84390,9 +83892,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *563 examples: - default: *566 + default: *564 '404': *6 x-github: githubCloudOnly: false @@ -84410,9 +83912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *362 - - *363 - - *567 + - *360 + - *361 + - *565 responses: '204': description: Response @@ -84432,8 +83934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -84443,9 +83945,9 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *550 + default: *548 headers: Link: *37 '404': *6 @@ -84466,8 +83968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -84503,9 +84005,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: - default: &568 + default: &566 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84537,8 +84039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *362 - - *363 + - *360 + - *361 - name: name in: path required: true @@ -84549,9 +84051,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: - default: *568 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -84568,8 +84070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *362 - - *363 + - *360 + - *361 - name: name in: path required: true @@ -84608,7 +84110,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: default: value: @@ -84634,8 +84136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *362 - - *363 + - *360 + - *361 - name: name in: path required: true @@ -84661,8 +84163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -84698,8 +84200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '202': *93 '403': @@ -84727,8 +84229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -84754,9 +84256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *362 - - *363 - - *457 + - *360 + - *361 + - *455 responses: '200': description: Response @@ -84822,7 +84324,7 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 required: - _links - git_url @@ -84903,8 +84405,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -84969,8 +84471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -85004,9 +84506,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *480 + schema: *478 examples: - default: *569 + default: *567 '204': description: Response when already merged '404': @@ -85031,8 +84533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *362 - - *363 + - *360 + - *361 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85073,7 +84575,7 @@ paths: application/json: schema: type: array - items: *484 + items: *482 examples: default: value: @@ -85129,8 +84631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -85170,9 +84672,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: &570 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85231,9 +84733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *362 - - *363 - - &571 + - *360 + - *361 + - &569 name: milestone_number description: The number that identifies the milestone. in: path @@ -85245,9 +84747,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: *570 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -85264,9 +84766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *362 - - *363 - - *571 + - *360 + - *361 + - *569 requestBody: required: false content: @@ -85304,9 +84806,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: *570 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85322,9 +84824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *362 - - *363 - - *571 + - *360 + - *361 + - *569 responses: '204': description: Response @@ -85345,9 +84847,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: - - *362 - - *363 - - *571 + - *360 + - *361 + - *569 - *17 - *19 responses: @@ -85357,9 +84859,9 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *550 + default: *548 headers: Link: *37 x-github: @@ -85378,12 +84880,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: - - *362 - - *363 + - *360 + - *361 + - *570 + - *571 + - *137 - *572 - - *573 - - *138 - - *574 - *17 - *19 responses: @@ -85393,9 +84895,9 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: - default: *575 + default: *573 headers: Link: *37 x-github: @@ -85419,8 +84921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -85478,14 +84980,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: &576 + schema: &574 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85629,7 +85131,7 @@ paths: - custom_404 - public examples: - default: &577 + default: &575 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85670,8 +85172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -85726,9 +85228,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *574 examples: - default: *577 + default: *575 '422': *15 '409': *92 x-github: @@ -85751,8 +85253,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -85860,8 +85362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -85887,8 +85389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -85898,7 +85400,7 @@ paths: application/json: schema: type: array - items: &578 + items: &576 title: Page Build description: Page Build type: object @@ -85990,8 +85492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *362 - - *363 + - *360 + - *361 responses: '201': description: Response @@ -86038,16 +85540,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *578 + schema: *576 examples: - default: &579 + default: &577 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86095,8 +85597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *362 - - *363 + - *360 + - *361 - name: build_id in: path required: true @@ -86107,9 +85609,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *576 examples: - default: *579 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86129,8 +85631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -86238,9 +85740,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: - - *362 - - *363 - - &580 + - *360 + - *361 + - &578 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86298,9 +85800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *362 - - *363 - - *580 + - *360 + - *361 + - *578 responses: '204': *114 '404': *6 @@ -86327,8 +85829,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -86596,7 +86098,7 @@ paths: description: Empty response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -86623,8 +86125,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Private vulnerability reporting status @@ -86661,8 +86163,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: - - *362 - - *363 + - *360 + - *361 responses: '204': *114 '422': *14 @@ -86683,8 +86185,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: - - *362 - - *363 + - *360 + - *361 responses: '204': *114 '422': *14 @@ -86707,8 +86209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *362 - - *363 + - *360 + - *361 - name: state description: Indicates the state of the projects to return. in: query @@ -86729,7 +86231,7 @@ paths: application/json: schema: type: array - items: *311 + items: *309 examples: default: value: @@ -86769,7 +86271,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *373 + '410': *371 '422': *7 x-github: githubCloudOnly: false @@ -86792,8 +86294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -86819,13 +86321,13 @@ paths: description: Response content: application/json: - schema: *311 + schema: *309 examples: - default: *372 + default: *370 '401': *23 '403': *27 '404': *6 - '410': *373 + '410': *371 '422': *7 x-github: githubCloudOnly: false @@ -86848,8 +86350,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -86857,7 +86359,7 @@ paths: application/json: schema: type: array - items: *313 + items: *311 examples: default: value: @@ -86888,8 +86390,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -86901,7 +86403,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *313 + items: *311 required: - properties examples: @@ -86951,8 +86453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *362 - - *363 + - *360 + - *361 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87012,9 +86514,9 @@ paths: application/json: schema: type: array - items: *581 + items: *579 examples: - default: *582 + default: *580 headers: Link: *37 '304': *35 @@ -87046,8 +86548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -87114,7 +86616,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &584 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87243,7 +86745,7 @@ paths: milestone: anyOf: - type: 'null' - - *484 + - *482 active_lock_reason: type: - string @@ -87298,7 +86800,7 @@ paths: type: - array - 'null' - items: *293 + items: *291 head: type: object properties: @@ -87336,14 +86838,14 @@ paths: _links: type: object properties: - comments: *485 - commits: *485 - statuses: *485 - html: *485 - issue: *485 - review_comments: *485 - review_comment: *485 - self: *485 + comments: *483 + commits: *483 + statuses: *483 + html: *483 + issue: *483 + review_comments: *483 + review_comment: *483 + self: *483 required: - comments - commits @@ -87353,8 +86855,8 @@ paths: - review_comments - review_comment - self - author_association: *135 - auto_merge: *583 + author_association: *134 + auto_merge: *581 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -87456,7 +86958,7 @@ paths: - merged_by - review_comments examples: - default: &587 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87983,8 +87485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *362 - - *363 + - *360 + - *361 - name: sort in: query required: false @@ -88003,7 +87505,7 @@ paths: enum: - asc - desc - - *138 + - *137 - *17 - *19 responses: @@ -88013,9 +87515,9 @@ paths: application/json: schema: type: array - items: *584 + items: *582 examples: - default: &589 + default: &587 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88092,17 +87594,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '200': description: Response content: application/json: - schema: *584 + schema: *582 examples: - default: &585 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88177,9 +87679,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -88201,9 +87703,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: - default: *585 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88219,9 +87721,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 responses: '204': description: Response @@ -88242,9 +87744,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 - 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. @@ -88270,9 +87772,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 @@ -88293,9 +87795,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: - - *362 - - *363 - - *147 + - *360 + - *361 + - *146 requestBody: required: true content: @@ -88327,16 +87829,16 @@ paths: description: Reaction exists content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Reaction created content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -88358,10 +87860,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *362 - - *363 - - *147 - - *354 + - *360 + - *361 + - *146 + - *352 responses: '204': description: Response @@ -88404,9 +87906,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *362 - - *363 - - &588 + - *360 + - *361 + - &586 name: pull_number description: The number that identifies the pull request. in: path @@ -88419,9 +87921,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *586 + schema: *584 examples: - default: *587 + default: *585 '304': *35 '404': *6 '406': @@ -88456,9 +87958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -88500,9 +88002,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: - default: *587 + default: *585 '422': *15 '403': *27 x-github: @@ -88524,9 +88026,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: true content: @@ -88587,17 +88089,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '401': *23 '403': *27 '404': *6 @@ -88627,10 +88129,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: - - *362 - - *363 - - *588 - - *157 + - *360 + - *361 + - *586 + - *156 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -88640,7 +88142,7 @@ paths: enum: - asc - desc - - *138 + - *137 - *17 - *19 responses: @@ -88650,9 +88152,9 @@ paths: application/json: schema: type: array - items: *584 + items: *582 examples: - default: *589 + default: *587 headers: Link: *37 x-github: @@ -88685,9 +88187,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: true content: @@ -88793,7 +88295,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: example-for-a-multi-line-comment: value: @@ -88881,10 +88383,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: - - *362 - - *363 - - *588 - - *147 + - *360 + - *361 + - *586 + - *146 requestBody: required: true content: @@ -88906,7 +88408,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: default: value: @@ -88992,9 +88494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 - *17 - *19 responses: @@ -89004,9 +88506,9 @@ paths: application/json: schema: type: array - items: *480 + items: *478 examples: - default: *590 + default: *588 headers: Link: *37 x-github: @@ -89036,9 +88538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 - *17 - *19 responses: @@ -89048,7 +88550,7 @@ paths: application/json: schema: type: array - items: *492 + items: *490 examples: default: value: @@ -89086,9 +88588,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 responses: '204': description: Response if pull request has been merged @@ -89111,9 +88613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -89225,9 +88727,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 responses: '200': description: Response @@ -89243,7 +88745,7 @@ paths: items: *4 teams: type: array - items: *277 + items: *275 required: - users - teams @@ -89302,9 +88804,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -89341,7 +88843,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: default: value: @@ -89877,9 +89379,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: true content: @@ -89913,7 +89415,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: default: value: @@ -90418,9 +89920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 - *17 - *19 responses: @@ -90430,7 +89932,7 @@ paths: application/json: schema: type: array - items: &591 + items: &589 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90504,7 +90006,7 @@ paths: type: string body_text: type: string - author_association: *135 + author_association: *134 required: - id - node_id @@ -90586,9 +90088,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: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -90678,9 +90180,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &593 + default: &591 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90743,10 +90245,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: - - *362 - - *363 - - *588 - - &592 + - *360 + - *361 + - *586 + - &590 name: review_id description: The unique identifier of the review. in: path @@ -90758,9 +90260,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: &594 + default: &592 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90819,10 +90321,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 requestBody: required: true content: @@ -90845,7 +90347,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: default: value: @@ -90907,18 +90409,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 responses: '200': description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *593 + default: *591 '422': *7 '404': *6 x-github: @@ -90945,10 +90447,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 - *17 - *19 responses: @@ -91042,13 +90544,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *135 + author_association: *134 _links: type: object properties: - self: *485 - html: *485 - pull_request: *485 + self: *483 + html: *483 + pull_request: *483 required: - self - html @@ -91057,7 +90559,7 @@ paths: type: string body_html: type: string - reactions: *136 + reactions: *135 side: description: The side of the first line of the range for a multi-line comment. @@ -91199,10 +90701,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 requestBody: required: true content: @@ -91231,7 +90733,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: default: value: @@ -91294,10 +90796,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: - - *362 - - *363 - - *588 - - *592 + - *360 + - *361 + - *586 + - *590 requestBody: required: true content: @@ -91332,9 +90834,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *589 examples: - default: *594 + default: *592 '404': *6 '422': *7 '403': *27 @@ -91356,9 +90858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *362 - - *363 - - *588 + - *360 + - *361 + - *586 requestBody: required: false content: @@ -91422,8 +90924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *362 - - *363 + - *360 + - *361 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91436,9 +90938,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *593 examples: - default: &596 + default: &594 value: type: file encoding: base64 @@ -91480,8 +90982,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: - - *362 - - *363 + - *360 + - *361 - name: dir description: The alternate path to look for a README file in: path @@ -91501,9 +91003,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *593 examples: - default: *596 + default: *594 '404': *6 '422': *15 x-github: @@ -91525,8 +91027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -91536,7 +91038,7 @@ paths: application/json: schema: type: array - items: &597 + items: &595 title: Release description: A release. type: object @@ -91608,7 +91110,7 @@ paths: author: *4 assets: type: array - items: &598 + items: &596 title: Release Asset description: Data related to a release. type: object @@ -91678,7 +91180,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *136 + reactions: *135 required: - assets_url - upload_url @@ -91788,8 +91290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -91865,9 +91367,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: &601 + default: &599 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91970,9 +91472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *362 - - *363 - - &599 + - *360 + - *361 + - &597 name: asset_id description: The unique identifier of the asset. in: path @@ -91984,9 +91486,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *596 examples: - default: &600 + default: &598 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 @@ -92020,7 +91522,7 @@ paths: type: User site_admin: false '404': *6 - '302': *494 + '302': *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92036,9 +91538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *362 - - *363 - - *599 + - *360 + - *361 + - *597 requestBody: required: false content: @@ -92067,9 +91569,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *596 examples: - default: *600 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92085,9 +91587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *362 - - *363 - - *599 + - *360 + - *361 + - *597 responses: '204': description: Response @@ -92111,8 +91613,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -92198,16 +91700,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: *601 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92224,8 +91726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *362 - - *363 + - *360 + - *361 - name: tag description: tag parameter in: path @@ -92238,9 +91740,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: *601 + default: *599 '404': *6 x-github: githubCloudOnly: false @@ -92262,9 +91764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *362 - - *363 - - &602 + - *360 + - *361 + - &600 name: release_id description: The unique identifier of the release. in: path @@ -92278,9 +91780,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: *597 + schema: *595 examples: - default: *601 + default: *599 '401': description: Unauthorized x-github: @@ -92298,9 +91800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 requestBody: required: false content: @@ -92364,9 +91866,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *595 examples: - default: *601 + default: *599 '404': description: Not Found if the discussion category name is invalid content: @@ -92387,9 +91889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 responses: '204': description: Response @@ -92409,9 +91911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 - *17 - *19 responses: @@ -92421,7 +91923,7 @@ paths: application/json: schema: type: array - items: *598 + items: *596 examples: default: value: @@ -92502,9 +92004,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: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 - name: name in: query required: true @@ -92530,7 +92032,7 @@ paths: description: Response for successful upload content: application/json: - schema: *598 + schema: *596 examples: response-for-successful-upload: value: @@ -92584,9 +92086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 - 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. @@ -92610,9 +92112,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 '404': *6 @@ -92633,9 +92135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *362 - - *363 - - *602 + - *360 + - *361 + - *600 requestBody: required: true content: @@ -92665,16 +92167,16 @@ paths: description: Reaction exists content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '201': description: Reaction created content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -92696,10 +92198,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *362 - - *363 - - *602 - - *354 + - *360 + - *361 + - *600 + - *352 responses: '204': description: Response @@ -92723,9 +92225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *362 - - *363 - - *421 + - *360 + - *361 + - *419 - *17 - *19 responses: @@ -92741,8 +92243,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *603 - - &605 + - *601 + - &603 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92761,66 +92263,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *602 + - *603 - allOf: - *604 + - *603 + - allOf: - *605 + - *603 - allOf: - *606 - - *605 + - *603 - allOf: - *607 - - *605 + - *603 - allOf: - *608 - - *605 + - *603 - allOf: - *609 - - *605 + - *603 - allOf: - *610 - - *605 + - *603 - allOf: - *611 - - *605 + - *603 - allOf: - *612 - - *605 + - *603 - allOf: - *613 - - *605 + - *603 - allOf: - *614 - - *605 + - *603 - allOf: - *615 - - *605 + - *603 - allOf: - *616 - - *605 + - *603 - allOf: - *617 - - *605 + - *603 - allOf: - *618 - - *605 + - *603 - allOf: - *619 - - *605 + - *603 - allOf: - *620 - - *605 + - *603 - allOf: - *621 - - *605 + - *603 - allOf: - *622 - - *605 - - allOf: - - *623 - - *605 - - allOf: - - *624 - - *605 + - *603 examples: default: value: @@ -92859,8 +92361,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 - name: includes_parents @@ -92871,7 +92373,7 @@ paths: schema: type: boolean default: true - - *625 + - *623 responses: '200': description: Response @@ -92926,8 +92428,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 requestBody: description: Request body required: true @@ -92989,7 +92491,7 @@ paths: application/json: schema: *124 examples: - default: &634 + default: &632 value: id: 42 name: super cool ruleset @@ -93036,12 +92538,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *362 - - *363 + - *360 + - *361 + - *624 + - *214 + - *625 - *626 - - *215 - - *627 - - *628 - *17 - *19 responses: @@ -93049,9 +92551,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *627 examples: - default: *630 + default: *628 '404': *6 '500': *95 x-github: @@ -93072,17 +92574,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *362 - - *363 - - *631 + - *360 + - *361 + - *629 responses: '200': description: Response content: application/json: - schema: *632 + schema: *630 examples: - default: *633 + default: *631 '404': *6 '500': *95 x-github: @@ -93110,8 +92612,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93133,7 +92635,7 @@ paths: application/json: schema: *124 examples: - default: *634 + default: *632 '404': *6 '500': *95 put: @@ -93151,8 +92653,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93216,7 +92718,7 @@ paths: application/json: schema: *124 examples: - default: *634 + default: *632 '404': *6 '500': *95 delete: @@ -93234,8 +92736,8 @@ paths: category: repos subcategory: rules parameters: - - *362 - - *363 + - *360 + - *361 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93258,8 +92760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 - name: ruleset_id @@ -93277,7 +92779,7 @@ paths: type: array items: *127 examples: - default: *319 + default: *317 '404': *6 '500': *95 x-github: @@ -93296,8 +92798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *362 - - *363 + - *360 + - *361 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93315,7 +92817,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *318 examples: default: value: @@ -93370,20 +92872,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: - - *362 - - *363 + - *360 + - *361 + - *319 + - *320 - *321 - *322 - - *323 - - *324 - *84 - *19 - *17 - - *635 - - *636 + - *633 + - *634 + - *323 + - *324 - *325 - - *326 - - *327 responses: '200': description: Response @@ -93391,7 +92893,7 @@ paths: application/json: schema: type: array - items: &639 + items: &637 type: object properties: number: *96 @@ -93407,8 +92909,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *637 - resolution: *638 + state: *635 + resolution: *636 resolved_at: type: - string @@ -93627,15 +93129,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 responses: '200': description: Response content: application/json: - schema: *639 + schema: *637 examples: default: value: @@ -93687,9 +93189,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 requestBody: required: true content: @@ -93697,8 +93199,8 @@ paths: schema: type: object properties: - state: *637 - resolution: *638 + state: *635 + resolution: *636 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -93717,7 +93219,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: default: value: @@ -93792,9 +93294,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: - - *362 - - *363 - - *451 + - *360 + - *361 + - *449 - *19 - *17 responses: @@ -93805,7 +93307,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &795 + items: &793 type: object properties: type: @@ -94184,8 +93686,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -94193,14 +93695,14 @@ paths: schema: type: object properties: - reason: &641 + reason: &639 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *640 + placeholder_id: *638 required: - reason - placeholder_id @@ -94217,7 +93719,7 @@ paths: schema: type: object properties: - reason: *641 + reason: *639 expire_at: type: - string @@ -94261,8 +93763,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: - - *362 - - *363 + - *360 + - *361 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -94277,7 +93779,7 @@ paths: properties: incremental_scans: type: array - items: &642 + items: &640 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94305,15 +93807,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *642 + items: *640 backfill_scans: type: array - items: *642 + items: *640 custom_pattern_backfill_scans: type: array items: allOf: - - *642 + - *640 - type: object properties: pattern_name: @@ -94383,8 +93885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *362 - - *363 + - *360 + - *361 - *84 - name: sort description: The property to sort the results by. @@ -94428,9 +93930,9 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 + default: *642 '400': *14 '404': *6 x-github: @@ -94453,8 +93955,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -94534,7 +94036,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *328 required: - login - type @@ -94624,9 +94126,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: &646 + default: &644 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94859,8 +94361,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -94973,7 +94475,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: default: value: @@ -95120,17 +94622,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: - - *362 - - *363 - - *645 + - *360 + - *361 + - *643 responses: '200': description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: *646 + default: *644 '403': *27 '404': *6 x-github: @@ -95154,9 +94656,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: - - *362 - - *363 - - *645 + - *360 + - *361 + - *643 requestBody: required: true content: @@ -95236,7 +94738,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *328 required: - login - type @@ -95327,17 +94829,17 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: *646 - add_credit: *646 + default: *644 + add_credit: *644 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *173 + schema: *172 examples: invalid_state_transition: value: @@ -95368,9 +94870,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: - - *362 - - *363 - - *645 + - *360 + - *361 + - *643 responses: '202': *93 '400': *14 @@ -95397,17 +94899,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: - - *362 - - *363 - - *645 + - *360 + - *361 + - *643 responses: '202': description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 + default: *375 '400': *14 '422': *15 '403': *27 @@ -95433,8 +94935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -95530,8 +95032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95540,7 +95042,7 @@ paths: application/json: schema: type: array - items: &647 + items: &645 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95573,8 +95075,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -95652,8 +95154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -95747,8 +95249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95902,8 +95404,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95913,7 +95415,7 @@ paths: application/json: schema: type: array - items: *647 + items: *645 examples: default: value: @@ -95946,8 +95448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *362 - - *363 + - *360 + - *361 - name: sha in: path required: true @@ -96003,7 +95505,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *646 examples: default: value: @@ -96057,8 +95559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -96070,7 +95572,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -96090,14 +95592,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &649 + schema: &647 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -96170,8 +95672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: false content: @@ -96197,7 +95699,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *647 examples: default: value: @@ -96224,8 +95726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -96245,8 +95747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -96328,8 +95830,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: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -96337,7 +95839,7 @@ paths: application/json: schema: type: array - items: &650 + items: &648 title: Tag protection description: Tag protection type: object @@ -96394,8 +95896,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: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -96418,7 +95920,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *648 examples: default: value: @@ -96449,8 +95951,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: - - *362 - - *363 + - *360 + - *361 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -96487,8 +95989,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *362 - - *363 + - *360 + - *361 - name: ref in: path required: true @@ -96524,8 +96026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *362 - - *363 + - *360 + - *361 - *17 - *19 responses: @@ -96535,9 +96037,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - default: *294 + default: *292 headers: Link: *37 '404': *6 @@ -96557,8 +96059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *362 - - *363 + - *360 + - *361 - *19 - *17 responses: @@ -96566,7 +96068,7 @@ paths: description: Response content: application/json: - schema: &651 + schema: &649 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96578,7 +96080,7 @@ paths: required: - names examples: - default: &652 + default: &650 value: names: - octocat @@ -96601,8 +96103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -96633,9 +96135,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *652 + default: *650 '404': *6 '422': *7 x-github: @@ -96656,9 +96158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *362 - - *363 - - &653 + - *360 + - *361 + - &651 name: per description: The time frame to display results for. in: query @@ -96689,7 +96191,7 @@ paths: - 128 clones: type: array - items: &654 + items: &652 title: Traffic type: object properties: @@ -96776,8 +96278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -96871,8 +96373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *362 - - *363 + - *360 + - *361 responses: '200': description: Response @@ -96935,9 +96437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *362 - - *363 - - *653 + - *360 + - *361 + - *651 responses: '200': description: Response @@ -96958,7 +96460,7 @@ paths: - 3782 views: type: array - items: *654 + items: *652 required: - uniques - count @@ -97035,8 +96537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *362 - - *363 + - *360 + - *361 requestBody: required: true content: @@ -97072,7 +96574,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *189 examples: default: value: @@ -97310,8 +96812,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -97334,8 +96836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -97357,8 +96859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -97384,8 +96886,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *362 - - *363 + - *360 + - *361 - name: ref in: path required: true @@ -97477,9 +96979,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 + default: *375 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97520,7 +97022,7 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: default: value: @@ -97630,7 +97132,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &662 + - &660 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97640,7 +97142,7 @@ paths: type: string examples: - members - - &667 + - &665 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97652,7 +97154,7 @@ paths: format: int32 examples: - 1 - - &668 + - &666 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97696,7 +97198,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &656 + items: &654 allOf: - type: object required: @@ -97778,7 +97280,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: &669 + meta: &667 type: object description: The metadata associated with the creation/updates to the user. @@ -97843,31 +97345,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &657 + '400': &655 description: Bad request content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '401': &658 + schema: *653 + '401': &656 description: Authorization failure - '403': &659 + '403': &657 description: Permission denied - '429': &660 + '429': &658 description: Too many requests content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '500': &661 + schema: *653 + '500': &659 description: Internal server error content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 + schema: *653 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97891,7 +97393,7 @@ paths: required: true content: application/json: - schema: &665 + schema: &663 type: object required: - schemas @@ -97951,9 +97453,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *656 + schema: *654 examples: - group: &663 + group: &661 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97972,13 +97474,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': *657 - '401': *658 - '403': *659 - '409': &666 + '400': *655 + '401': *656 + '403': *657 + '409': &664 description: Duplicate record detected - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97995,7 +97497,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: - - &664 + - &662 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -98004,22 +97506,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *662 + - *660 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *656 + schema: *654 examples: - default: *663 - '400': *657 - '401': *658 - '403': *659 + default: *661 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98038,13 +97540,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: - - *664 + - *662 - *38 requestBody: required: true content: application/json: - schema: *665 + schema: *663 examples: group: summary: Group @@ -98070,17 +97572,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *656 + schema: *654 examples: - group: *663 - groupWithMembers: *663 - '400': *657 - '401': *658 - '403': *659 + group: *661 + groupWithMembers: *661 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '409': *666 - '429': *660 - '500': *661 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98104,13 +97606,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: - - *664 + - *662 - *38 requestBody: required: true content: application/json: - schema: &676 + schema: &674 type: object required: - Operations @@ -98170,17 +97672,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *656 + schema: *654 examples: - updateGroup: *663 - addMembers: *663 - '400': *657 - '401': *658 - '403': *659 + updateGroup: *661 + addMembers: *661 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '409': *666 - '429': *660 - '500': *661 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98196,17 +97698,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: - - *664 + - *662 - *38 responses: '204': description: Group was deleted, no content - '400': *657 - '401': *658 - '403': *659 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98240,8 +97742,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *667 - - *668 + - *665 + - *666 - *38 responses: '200': @@ -98275,7 +97777,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &671 + items: &669 allOf: - type: object required: @@ -98367,7 +97869,7 @@ paths: address. examples: - true - roles: &670 + roles: &668 type: array description: The roles assigned to the user. items: @@ -98426,7 +97928,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *669 + meta: *667 startIndex: type: integer description: A starting index for the returned page @@ -98465,11 +97967,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *657 - '401': *658 - '403': *659 - '429': *660 - '500': *661 + '400': *655 + '401': *656 + '403': *657 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98493,7 +97995,7 @@ paths: required: true content: application/json: - schema: &674 + schema: &672 type: object required: - schemas @@ -98586,9 +98088,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *670 + roles: *668 examples: - user: &675 + user: &673 summary: User value: schemas: @@ -98635,9 +98137,9 @@ paths: description: User has been created content: application/scim+json: - schema: *671 + schema: *669 examples: - user: &672 + user: &670 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98663,13 +98165,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: *672 - '400': *657 - '401': *658 - '403': *659 - '409': *666 - '429': *660 - '500': *661 + enterpriseOwner: *670 + '400': *655 + '401': *656 + '403': *657 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98686,7 +98188,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: - - &673 + - &671 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98699,15 +98201,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *671 + schema: *669 examples: - default: *672 - '400': *657 - '401': *658 - '403': *659 + default: *670 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98729,30 +98231,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: - - *673 + - *671 - *38 requestBody: required: true content: application/json: - schema: *674 + schema: *672 examples: - user: *675 + user: *673 responses: '200': description: User was updated content: application/scim+json: - schema: *671 + schema: *669 examples: - user: *672 - '400': *657 - '401': *658 - '403': *659 + user: *670 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '409': *666 - '429': *660 - '500': *661 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98787,13 +98289,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: - - *673 + - *671 - *38 requestBody: required: true content: application/json: - schema: *676 + schema: *674 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98833,18 +98335,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *671 - examples: - userMultiValuedProperties: *672 - userSingleValuedProperties: *672 - disableUser: *672 - '400': *657 - '401': *658 - '403': *659 + schema: *669 + examples: + userMultiValuedProperties: *670 + userSingleValuedProperties: *670 + disableUser: *670 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '409': *666 - '429': *660 - '500': *661 + '409': *664 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98864,17 +98366,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: - - *673 + - *671 - *38 responses: '204': description: User was deleted, no content - '400': *657 - '401': *658 - '403': *659 + '400': *655 + '401': *656 + '403': *657 '404': *6 - '429': *660 - '500': *661 + '429': *658 + '500': *659 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98907,7 +98409,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *164 + - *163 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -98965,7 +98467,7 @@ paths: - 1 Resources: type: array - items: &677 + items: &675 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -99212,22 +98714,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &678 + '404': &676 description: Resource not found content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '403': &679 + schema: *653 + '403': &677 description: Forbidden content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '400': *657 - '429': *660 + schema: *653 + '400': *655 + '429': *658 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -99247,15 +98749,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *164 + - *163 responses: '201': description: Response content: application/scim+json: - schema: *677 + schema: *675 examples: - default: &680 + default: &678 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99278,17 +98780,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *678 - '403': *679 - '500': *661 + '404': *676 + '403': *677 + '500': *659 '409': description: Conflict content: application/json: - schema: *655 + schema: *653 application/scim+json: - schema: *655 - '400': *657 + schema: *653 + '400': *655 requestBody: required: true content: @@ -99382,18 +98884,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: - - *164 - - *673 + - *163 + - *671 responses: '200': description: Response content: application/scim+json: - schema: *677 + schema: *675 examples: - default: *680 - '404': *678 - '403': *679 + default: *678 + '404': *676 + '403': *677 '304': *35 x-github: githubCloudOnly: true @@ -99416,19 +98918,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *164 - - *673 + - *163 + - *671 responses: '200': description: Response content: application/scim+json: - schema: *677 + schema: *675 examples: - default: *680 + default: *678 '304': *35 - '404': *678 - '403': *679 + '404': *676 + '403': *677 requestBody: required: true content: @@ -99538,20 +99040,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: - - *164 - - *673 + - *163 + - *671 responses: '200': description: Response content: application/scim+json: - schema: *677 + schema: *675 examples: - default: *680 + default: *678 '304': *35 - '404': *678 - '403': *679 - '400': *657 + '404': *676 + '403': *677 + '400': *655 '429': description: Response content: @@ -99646,13 +99148,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: - - *164 - - *673 + - *163 + - *671 responses: '204': description: Response - '404': *678 - '403': *679 + '404': *676 + '403': *677 '304': *35 x-github: githubCloudOnly: true @@ -99767,7 +99269,7 @@ paths: html_url: type: string format: uri - repository: *190 + repository: *189 score: type: number file_size: @@ -99786,7 +99288,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &681 + text_matches: &679 title: Search Result Text Matches type: array items: @@ -99950,7 +99452,7 @@ paths: enum: - author-date - committer-date - - &682 + - &680 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 @@ -100019,7 +99521,7 @@ paths: committer: anyOf: - type: 'null' - - *419 + - *417 comment_count: type: integer message: @@ -100038,7 +99540,7 @@ paths: url: type: string format: uri - verification: *529 + verification: *527 required: - author - committer @@ -100053,7 +99555,7 @@ paths: committer: anyOf: - type: 'null' - - *419 + - *417 parents: type: array items: @@ -100065,12 +99567,12 @@ paths: type: string sha: type: string - repository: *190 + repository: *189 score: type: number node_id: type: string - text_matches: *681 + text_matches: *679 required: - sha - node_id @@ -100253,7 +99755,7 @@ paths: - interactions - created - updated - - *682 + - *680 - *17 - *19 - name: advanced_search @@ -100377,7 +99879,7 @@ paths: milestone: anyOf: - type: 'null' - - *484 + - *482 comments: type: integer created_at: @@ -100391,7 +99893,7 @@ paths: - string - 'null' format: date-time - text_matches: *681 + text_matches: *679 pull_request: type: object properties: @@ -100429,7 +99931,7 @@ paths: type: string score: type: number - author_association: *135 + author_association: *134 draft: type: boolean repository: *61 @@ -100440,12 +99942,12 @@ paths: timeline_url: type: string format: uri - type: *278 + type: *276 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *136 + reactions: *135 required: - assignee - closed_at @@ -100617,7 +100119,7 @@ paths: enum: - created - updated - - *682 + - *680 - *17 - *19 responses: @@ -100662,7 +100164,7 @@ paths: - 'null' score: type: number - text_matches: *681 + text_matches: *679 required: - id - node_id @@ -100748,7 +100250,7 @@ paths: - forks - help-wanted-issues - updated - - *682 + - *680 - *17 - *19 responses: @@ -100967,7 +100469,7 @@ paths: license: anyOf: - type: 'null' - - *149 + - *148 permissions: type: object properties: @@ -100985,7 +100487,7 @@ paths: - admin - pull - push - text_matches: *681 + text_matches: *679 temp_clone_token: type: string allow_merge_commit: @@ -101294,7 +100796,7 @@ paths: - string - 'null' format: uri - text_matches: *681 + text_matches: *679 related: type: - array @@ -101489,7 +100991,7 @@ paths: - followers - repositories - joined - - *682 + - *680 - *17 - *19 responses: @@ -101599,7 +101101,7 @@ paths: type: - boolean - 'null' - text_matches: *681 + text_matches: *679 blog: type: - string @@ -101681,7 +101183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &683 + - &681 name: team_id description: The unique identifier of the team. in: path @@ -101693,9 +101195,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '404': *6 x-github: githubCloudOnly: false @@ -101722,7 +101224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *683 + - *681 requestBody: required: true content: @@ -101786,16 +101288,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '201': description: Response content: application/json: - schema: *343 + schema: *341 examples: - default: *344 + default: *342 '404': *6 '422': *15 '403': *27 @@ -101823,7 +101325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *683 + - *681 responses: '204': description: Response @@ -101854,7 +101356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *683 + - *681 - *84 - *17 - *19 @@ -101865,9 +101367,9 @@ paths: application/json: schema: type: array - items: *345 + items: *343 examples: - default: *684 + default: *682 headers: Link: *37 x-github: @@ -101896,7 +101398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *683 + - *681 requestBody: required: true content: @@ -101930,9 +101432,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *346 + default: *344 x-github: triggersNotification: true githubCloudOnly: false @@ -101959,16 +101461,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *683 - - *347 + - *681 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *346 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101993,8 +101495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *683 - - *347 + - *681 + - *345 requestBody: required: false content: @@ -102017,9 +101519,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *343 examples: - default: *685 + default: *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102044,8 +101546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *683 - - *347 + - *681 + - *345 responses: '204': description: Response @@ -102074,8 +101576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *683 - - *347 + - *681 + - *345 - *84 - *17 - *19 @@ -102086,9 +101588,9 @@ paths: application/json: schema: type: array - items: *348 + items: *346 examples: - default: *686 + default: *684 headers: Link: *37 x-github: @@ -102117,8 +101619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *683 - - *347 + - *681 + - *345 requestBody: required: true content: @@ -102140,9 +101642,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: triggersNotification: true githubCloudOnly: false @@ -102169,17 +101671,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 responses: '200': description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *349 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102204,9 +101706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 requestBody: required: true content: @@ -102228,9 +101730,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *346 examples: - default: *687 + default: *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102255,9 +101757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 responses: '204': description: Response @@ -102286,9 +101788,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: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 - 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. @@ -102314,9 +101816,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 x-github: @@ -102345,9 +101847,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: - - *683 - - *347 - - *350 + - *681 + - *345 + - *348 requestBody: required: true content: @@ -102379,9 +101881,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102407,8 +101909,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: - - *683 - - *347 + - *681 + - *345 - 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. @@ -102434,9 +101936,9 @@ paths: application/json: schema: type: array - items: *351 + items: *349 examples: - default: *353 + default: *351 headers: Link: *37 x-github: @@ -102465,8 +101967,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: - - *683 - - *347 + - *681 + - *345 requestBody: required: true content: @@ -102498,9 +102000,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *349 examples: - default: *352 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102524,7 +102026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *683 + - *681 - *17 - *19 responses: @@ -102534,9 +102036,9 @@ paths: application/json: schema: type: array - items: *274 + items: *272 examples: - default: *275 + default: *273 headers: Link: *37 x-github: @@ -102562,7 +102064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *683 + - *681 - name: role description: Filters members returned by their role in the team. in: query @@ -102585,7 +102087,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '404': *6 @@ -102613,8 +102115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *683 - - *212 + - *681 + - *211 responses: '204': description: if user is a member @@ -102650,8 +102152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *683 - - *212 + - *681 + - *211 responses: '204': description: Response @@ -102690,8 +102192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *683 - - *212 + - *681 + - *211 responses: '204': description: Response @@ -102727,16 +102229,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: - - *683 - - *212 + - *681 + - *211 responses: '200': description: Response content: application/json: - schema: *359 + schema: *357 examples: - response-if-user-is-a-team-maintainer: *688 + response-if-user-is-a-team-maintainer: *686 '404': *6 x-github: githubCloudOnly: false @@ -102769,8 +102271,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: - - *683 - - *212 + - *681 + - *211 requestBody: required: false content: @@ -102795,9 +102297,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *357 examples: - response-if-users-membership-with-team-is-now-pending: *689 + response-if-users-membership-with-team-is-now-pending: *687 '403': description: Forbidden if team synchronization is set up '422': @@ -102831,8 +102333,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: - - *683 - - *212 + - *681 + - *211 responses: '204': description: Response @@ -102860,7 +102362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *683 + - *681 - *17 - *19 responses: @@ -102870,9 +102372,9 @@ paths: application/json: schema: type: array - items: *360 + items: *358 examples: - default: *690 + default: *688 headers: Link: *37 '404': *6 @@ -102898,16 +102400,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: - - *683 - - *361 + - *681 + - *359 responses: '200': description: Response content: application/json: - schema: *360 + schema: *358 examples: - default: *691 + default: *689 '404': description: Not Found if project is not managed by this team x-github: @@ -102931,8 +102433,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: - - *683 - - *361 + - *681 + - *359 requestBody: required: false content: @@ -102999,8 +102501,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: - - *683 - - *361 + - *681 + - *359 responses: '204': description: Response @@ -103027,7 +102529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *683 + - *681 - *17 - *19 responses: @@ -103037,9 +102539,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 '404': *6 @@ -103069,15 +102571,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: - - *683 - - *362 - - *363 + - *681 + - *360 + - *361 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *692 + schema: *690 examples: alternative-response-with-extra-repository-information: value: @@ -103228,9 +102730,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: - - *683 - - *362 - - *363 + - *681 + - *360 + - *361 requestBody: required: false content: @@ -103280,9 +102782,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: - - *683 - - *362 - - *363 + - *681 + - *360 + - *361 responses: '204': description: Response @@ -103311,15 +102813,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: - - *683 + - *681 responses: '200': description: Response content: application/json: - schema: *364 + schema: *362 examples: - default: *365 + default: *363 '403': *27 '404': *6 x-github: @@ -103346,7 +102848,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: - - *683 + - *681 requestBody: required: true content: @@ -103407,7 +102909,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *362 examples: default: value: @@ -103438,7 +102940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *683 + - *681 - *17 - *19 responses: @@ -103448,9 +102950,9 @@ paths: application/json: schema: type: array - items: *277 + items: *275 examples: - response-if-child-teams-exist: *693 + response-if-child-teams-exist: *691 headers: Link: *37 '404': *6 @@ -103483,7 +102985,7 @@ paths: application/json: schema: oneOf: - - &695 + - &693 title: Private User description: Private User type: object @@ -103733,7 +103235,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *694 + - *692 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103893,7 +103395,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *693 examples: default: value: @@ -103972,7 +103474,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 '304': *35 '404': *6 '403': *27 @@ -103995,7 +103497,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: - - *212 + - *211 responses: '204': description: If the user is blocked @@ -104023,7 +103525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *212 + - *211 responses: '204': description: Response @@ -104047,7 +103549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *212 + - *211 responses: '204': description: Response @@ -104096,9 +103598,9 @@ paths: type: integer codespaces: type: array - items: *284 + items: *282 examples: - default: *285 + default: *283 '304': *35 '500': *95 '401': *23 @@ -104237,17 +103739,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '401': *23 '403': *27 '404': *6 @@ -104291,7 +103793,7 @@ paths: type: integer secrets: type: array - items: &696 + items: &694 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -104333,7 +103835,7 @@ paths: - visibility - selected_repositories_url examples: - default: *473 + default: *471 headers: Link: *37 x-github: @@ -104405,13 +103907,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: - - *200 + - *199 responses: '200': description: Response content: application/json: - schema: *696 + schema: *694 examples: default: value: @@ -104441,7 +103943,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: - - *200 + - *199 requestBody: required: true content: @@ -104486,7 +103988,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -104514,7 +104016,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: - - *200 + - *199 responses: '204': description: Response @@ -104539,7 +104041,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: - - *200 + - *199 responses: '200': description: Response @@ -104555,9 +104057,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *189 examples: - default: *697 + default: *695 '401': *23 '403': *27 '404': *6 @@ -104582,7 +104084,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: - - *200 + - *199 requestBody: required: true content: @@ -104636,7 +104138,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: - - *200 + - *199 - name: repository_id in: path required: true @@ -104669,7 +104171,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: - - *200 + - *199 - name: repository_id in: path required: true @@ -104701,15 +104203,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: - - *286 + - *284 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '304': *35 '500': *95 '401': *23 @@ -104735,7 +104237,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: - - *286 + - *284 requestBody: required: false content: @@ -104765,9 +104267,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '401': *23 '403': *27 '404': *6 @@ -104789,7 +104291,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: - - *286 + - *284 responses: '202': *93 '304': *35 @@ -104818,13 +104320,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: - - *286 + - *284 responses: '202': description: Response content: application/json: - schema: &698 + schema: &696 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104877,7 +104379,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &699 + default: &697 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104909,7 +104411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *286 + - *284 - name: export_id in: path required: true @@ -104922,9 +104424,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *696 examples: - default: *699 + default: *697 '404': *6 x-github: githubCloudOnly: false @@ -104945,7 +104447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *286 + - *284 responses: '200': description: Response @@ -104961,9 +104463,9 @@ paths: type: integer machines: type: array - items: *472 + items: *470 examples: - default: *700 + default: *698 '304': *35 '500': *95 '401': *23 @@ -104992,7 +104494,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: - - *286 + - *284 requestBody: required: true content: @@ -105048,11 +104550,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *375 + repository: *373 machine: anyOf: - type: 'null' - - *472 + - *470 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -105849,15 +105351,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: - - *286 + - *284 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '304': *35 '500': *95 '400': *14 @@ -105889,15 +105391,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: - - *286 + - *284 responses: '200': description: Response content: application/json: - schema: *284 + schema: *282 examples: - default: *471 + default: *469 '500': *95 '401': *23 '403': *27 @@ -105927,9 +105429,9 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: &713 + default: &711 value: - id: 197 name: hello_docker @@ -106030,7 +105532,7 @@ paths: application/json: schema: type: array - items: &701 + items: &699 title: Email description: Email type: object @@ -106100,9 +105602,9 @@ paths: application/json: schema: type: array - items: *701 + items: *699 examples: - default: &715 + default: &713 value: - email: octocat@github.com verified: true @@ -106179,7 +105681,7 @@ paths: application/json: schema: type: array - items: *701 + items: *699 examples: default: value: @@ -106291,7 +105793,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '304': *35 @@ -106324,7 +105826,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 '304': *35 @@ -106346,7 +105848,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: - - *212 + - *211 responses: '204': description: if the person is followed by the authenticated user @@ -106376,7 +105878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *212 + - *211 responses: '204': description: Response @@ -106401,7 +105903,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *212 + - *211 responses: '204': description: Response @@ -106437,7 +105939,7 @@ paths: application/json: schema: type: array - items: &702 + items: &700 title: GPG Key description: A unique encryption key type: object @@ -106582,7 +106084,7 @@ paths: - subkeys - revoked examples: - default: &726 + default: &724 value: - id: 3 name: Octocat's GPG Key @@ -106667,9 +106169,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *700 examples: - default: &703 + default: &701 value: id: 3 name: Octocat's GPG Key @@ -106726,7 +106228,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: - - &704 + - &702 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106738,9 +106240,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *700 examples: - default: *703 + default: *701 '404': *6 '304': *35 '403': *27 @@ -106763,7 +106265,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: - - *704 + - *702 responses: '204': description: Response @@ -106954,7 +106456,7 @@ paths: type: array items: *61 examples: - default: *705 + default: *703 headers: Link: *37 '404': *6 @@ -106979,7 +106481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *185 + - *184 responses: '204': description: Response @@ -107005,7 +106507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *185 + - *184 responses: '204': description: Response @@ -107039,12 +106541,12 @@ paths: application/json: schema: anyOf: - - *272 + - *270 - type: object properties: {} additionalProperties: false examples: - default: *273 + default: *271 '204': description: Response when there are no restrictions x-github: @@ -107068,7 +106570,7 @@ paths: required: true content: application/json: - schema: *540 + schema: *538 examples: default: value: @@ -107079,7 +106581,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *270 examples: default: value: @@ -107160,7 +106662,7 @@ paths: - closed - all default: open - - *281 + - *279 - name: sort description: What to sort results by. in: query @@ -107173,7 +106675,7 @@ paths: - comments default: created - *84 - - *138 + - *137 - *17 - *19 responses: @@ -107183,9 +106685,9 @@ paths: application/json: schema: type: array - items: *148 + items: *147 examples: - default: *282 + default: *280 headers: Link: *37 '404': *6 @@ -107218,7 +106720,7 @@ paths: application/json: schema: type: array - items: &706 + items: &704 title: Key description: Key type: object @@ -107316,9 +106818,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: &707 + default: &705 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107351,15 +106853,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: - - *567 + - *565 responses: '200': description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 '404': *6 '304': *35 '403': *27 @@ -107382,7 +106884,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: - - *567 + - *565 responses: '204': description: Response @@ -107415,7 +106917,7 @@ paths: application/json: schema: type: array - items: &708 + items: &706 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107483,7 +106985,7 @@ paths: - id - type - login - plan: *151 + plan: *150 required: - billing_cycle - next_billing_date @@ -107494,7 +106996,7 @@ paths: - account - plan examples: - default: &709 + default: &707 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107556,9 +107058,9 @@ paths: application/json: schema: type: array - items: *708 + items: *706 examples: - default: *709 + default: *707 headers: Link: *37 '304': *35 @@ -107598,7 +107100,7 @@ paths: application/json: schema: type: array - items: *287 + items: *285 examples: default: value: @@ -107700,13 +107202,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: - - *164 + - *163 responses: '200': description: Response content: application/json: - schema: *287 + schema: *285 examples: default: value: @@ -107764,7 +107266,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: - - *164 + - *163 requestBody: required: true content: @@ -107789,7 +107291,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *285 examples: default: value: @@ -107857,7 +107359,7 @@ paths: application/json: schema: type: array - items: *289 + items: *287 examples: default: value: @@ -108119,7 +107621,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: default: value: @@ -108299,7 +107801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *290 + - *288 - name: exclude in: query required: false @@ -108312,7 +107814,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *287 examples: default: value: @@ -108506,7 +108008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *290 + - *288 responses: '302': description: Response @@ -108532,7 +108034,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *290 + - *288 responses: '204': description: Response @@ -108561,8 +108063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *290 - - *710 + - *288 + - *708 responses: '204': description: Response @@ -108586,7 +108088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *290 + - *288 - *17 - *19 responses: @@ -108596,9 +108098,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 '404': *6 @@ -108635,7 +108137,7 @@ paths: type: array items: *56 examples: - default: *711 + default: *709 headers: Link: *37 '304': *35 @@ -108677,7 +108179,7 @@ paths: - docker - nuget - container - - *712 + - *710 - *19 - *17 responses: @@ -108687,10 +108189,10 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: *713 - '400': *714 + default: *711 + '400': *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108710,16 +108212,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: - - *297 - - *298 + - *295 + - *296 responses: '200': description: Response content: application/json: - schema: *295 + schema: *293 examples: - default: &727 + default: &725 value: id: 40201 name: octo-name @@ -108832,8 +108334,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: - - *297 - - *298 + - *295 + - *296 responses: '204': description: Response @@ -108863,8 +108365,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: - - *297 - - *298 + - *295 + - *296 - name: token description: package token schema: @@ -108896,8 +108398,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: - - *297 - - *298 + - *295 + - *296 - *19 - *17 - name: state @@ -108917,7 +108419,7 @@ paths: application/json: schema: type: array - items: *299 + items: *297 examples: default: value: @@ -108966,15 +108468,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: - - *297 + - *295 + - *296 - *298 - - *300 responses: '200': description: Response content: application/json: - schema: *299 + schema: *297 examples: default: value: @@ -109010,9 +108512,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: - - *297 + - *295 + - *296 - *298 - - *300 responses: '204': description: Response @@ -109042,9 +108544,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: - - *297 + - *295 + - *296 - *298 - - *300 responses: '204': description: Response @@ -109102,7 +108604,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *309 examples: default: value: @@ -109174,9 +108676,9 @@ paths: application/json: schema: type: array - items: *701 + items: *699 examples: - default: *715 + default: *713 headers: Link: *37 '304': *35 @@ -109289,7 +108791,7 @@ paths: type: array items: *61 examples: - default: &722 + default: &720 summary: Default response value: - id: 1296269 @@ -109605,9 +109107,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *377 + default: *375 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109645,9 +109147,9 @@ paths: application/json: schema: type: array - items: *542 + items: *540 examples: - default: *716 + default: *714 headers: Link: *37 '304': *35 @@ -109670,7 +109172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *276 + - *274 responses: '204': description: Response @@ -109693,7 +109195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *276 + - *274 responses: '204': description: Response @@ -109726,7 +109228,7 @@ paths: application/json: schema: type: array - items: &717 + items: &715 title: Social account description: Social media account type: object @@ -109743,7 +109245,7 @@ paths: - provider - url examples: - default: &718 + default: &716 value: - provider: twitter url: https://twitter.com/github @@ -109806,9 +109308,9 @@ paths: application/json: schema: type: array - items: *717 + items: *715 examples: - default: *718 + default: *716 '422': *15 '304': *35 '404': *6 @@ -109896,7 +109398,7 @@ paths: application/json: schema: type: array - items: &719 + items: &717 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109916,7 +109418,7 @@ paths: - title - created_at examples: - default: &728 + default: &726 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109983,9 +109485,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *717 examples: - default: &720 + default: &718 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110016,7 +109518,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: - - &721 + - &719 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110028,9 +109530,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *717 examples: - default: *720 + default: *718 '404': *6 '304': *35 '403': *27 @@ -110053,7 +109555,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: - - *721 + - *719 responses: '204': description: Response @@ -110082,7 +109584,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: - - &729 + - &727 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 @@ -110107,11 +109609,11 @@ paths: type: array items: *61 examples: - default-response: *722 + default-response: *720 application/vnd.github.v3.star+json: schema: type: array - items: &730 + items: &728 title: Starred Repository description: Starred Repository type: object @@ -110267,8 +109769,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response if this repository is starred by you @@ -110296,8 +109798,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -110321,8 +109823,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: - - *362 - - *363 + - *360 + - *361 responses: '204': description: Response @@ -110355,9 +109857,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 '304': *35 @@ -110394,7 +109896,7 @@ paths: application/json: schema: type: array - items: *343 + items: *341 examples: default: value: @@ -110472,7 +109974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *153 + - *152 responses: '200': description: Response @@ -110480,10 +109982,10 @@ paths: application/json: schema: oneOf: - - *695 - - *694 + - *693 + - *692 examples: - default-response: &724 + default-response: &722 summary: Default response value: login: octocat @@ -110518,7 +110020,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &725 + response-with-git-hub-plan-information: &723 summary: Response with GitHub plan information value: login: octocat @@ -110578,7 +110080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *723 + - *721 - *17 responses: '200': @@ -110589,7 +110091,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: example: ; rel="next" @@ -110619,7 +110121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *212 + - *211 responses: '200': description: Response @@ -110627,11 +110129,11 @@ paths: application/json: schema: oneOf: - - *695 - - *694 + - *693 + - *692 examples: - default-response: *724 - response-with-git-hub-plan-information: *725 + default-response: *722 + response-with-git-hub-plan-information: *723 '404': *6 x-github: githubCloudOnly: false @@ -110657,7 +110159,7 @@ paths: - *17 - *82 - *83 - - *212 + - *211 - name: subject_digest description: Subject Digest in: path @@ -110707,12 +110209,12 @@ paths: bundle_url: type: string examples: - default: *415 + default: *413 '201': description: Response content: application/json: - schema: *201 + schema: *200 examples: default: value: @@ -110738,7 +110240,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: - - *212 + - *211 responses: '200': description: Response @@ -110746,9 +110248,9 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: *713 + default: *711 '403': *27 '401': *23 x-github: @@ -110771,7 +110273,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -110781,7 +110283,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -110852,8 +110354,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: - - *212 - - *164 + - *211 + - *163 - *17 - *19 responses: @@ -110863,7 +110365,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -110942,7 +110444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -110952,7 +110454,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -111019,7 +110521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -111031,7 +110533,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -111050,7 +110552,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *212 + - *211 - *17 - *19 responses: @@ -111062,7 +110564,7 @@ paths: type: array items: *4 examples: - default: *283 + default: *281 headers: Link: *37 x-github: @@ -111081,7 +110583,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: - - *212 + - *211 - name: target_user in: path required: true @@ -111108,8 +110610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *212 - - *138 + - *211 + - *137 - *17 - *19 responses: @@ -111119,9 +110621,9 @@ paths: application/json: schema: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: Link: *37 '422': *15 @@ -111142,7 +110644,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: - - *212 + - *211 - *17 - *19 responses: @@ -111152,9 +110654,9 @@ paths: application/json: schema: type: array - items: *702 + items: *700 examples: - default: *726 + default: *724 headers: Link: *37 x-github: @@ -111178,7 +110680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *212 + - *211 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -111250,7 +110752,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: - - *212 + - *211 responses: '200': description: Response @@ -111258,7 +110760,7 @@ paths: application/json: schema: *20 examples: - default: *539 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111276,7 +110778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -111324,7 +110826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -111336,7 +110838,7 @@ paths: type: array items: *56 examples: - default: *711 + default: *709 headers: Link: *37 x-github: @@ -111375,8 +110877,8 @@ paths: - docker - nuget - container - - *712 - - *212 + - *710 + - *211 - *19 - *17 responses: @@ -111386,12 +110888,12 @@ paths: application/json: schema: type: array - items: *295 + items: *293 examples: - default: *713 + default: *711 '403': *27 '401': *23 - '400': *714 + '400': *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111411,17 +110913,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *297 - - *298 - - *212 + - *295 + - *296 + - *211 responses: '200': description: Response content: application/json: - schema: *295 + schema: *293 examples: - default: *727 + default: *725 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111442,9 +110944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *297 - - *298 - - *212 + - *295 + - *296 + - *211 responses: '204': description: Response @@ -111476,9 +110978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *297 - - *298 - - *212 + - *295 + - *296 + - *211 - name: token description: package token schema: @@ -111510,9 +111012,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: - - *297 - - *298 - - *212 + - *295 + - *296 + - *211 responses: '200': description: Response @@ -111520,7 +111022,7 @@ paths: application/json: schema: type: array - items: *299 + items: *297 examples: default: value: @@ -111578,16 +111080,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: - - *297 + - *295 + - *296 - *298 - - *300 - - *212 + - *211 responses: '200': description: Response content: application/json: - schema: *299 + schema: *297 examples: default: value: @@ -111622,10 +111124,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *297 + - *295 + - *296 + - *211 - *298 - - *212 - - *300 responses: '204': description: Response @@ -111657,10 +111159,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *297 + - *295 + - *296 + - *211 - *298 - - *212 - - *300 responses: '204': description: Response @@ -111686,7 +111188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *212 + - *211 - name: state description: Indicates the state of the projects to return. in: query @@ -111707,7 +111209,7 @@ paths: application/json: schema: type: array - items: *311 + items: *309 examples: default: value: @@ -111769,7 +111271,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: - - *212 + - *211 - *17 - *19 responses: @@ -111779,7 +111281,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -111858,7 +111360,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: - - *212 + - *211 - *17 - *19 responses: @@ -111868,7 +111370,7 @@ paths: application/json: schema: type: array - items: *159 + items: *158 examples: default: value: @@ -111945,7 +111447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *212 + - *211 - name: type description: Limit results to repositories of the specified type. in: query @@ -111988,9 +111490,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -112014,15 +111516,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: - - *212 + - *211 responses: '200': description: Response content: application/json: - schema: *331 + schema: *329 examples: - default: *332 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112044,15 +111546,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: - - *212 + - *211 responses: '200': description: Response content: application/json: - schema: *335 + schema: *333 examples: - default: *336 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112074,15 +111576,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: - - *212 + - *211 responses: '200': description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: *338 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112100,7 +111602,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: - - *212 + - *211 - *17 - *19 responses: @@ -112110,9 +111612,9 @@ paths: application/json: schema: type: array - items: *717 + items: *715 examples: - default: *718 + default: *716 headers: Link: *37 x-github: @@ -112132,7 +111634,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: - - *212 + - *211 - *17 - *19 responses: @@ -112142,9 +111644,9 @@ paths: application/json: schema: type: array - items: *719 + items: *717 examples: - default: *728 + default: *726 headers: Link: *37 x-github: @@ -112168,8 +111670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *212 - - *729 + - *211 + - *727 - *84 - *17 - *19 @@ -112181,11 +111683,11 @@ paths: schema: anyOf: - type: array - items: *730 + items: *728 - type: array items: *61 examples: - default-response: *722 + default-response: *720 headers: Link: *37 x-github: @@ -112204,7 +111706,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *212 + - *211 - *17 - *19 responses: @@ -112214,9 +111716,9 @@ paths: application/json: schema: type: array - items: *190 + items: *189 examples: - default: *301 + default: *299 headers: Link: *37 x-github: @@ -112345,7 +111847,7 @@ webhooks: type: string enum: - disabled - enterprise: &731 + enterprise: &729 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112414,7 +111916,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &732 + installation: &730 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112435,7 +111937,7 @@ webhooks: required: - id - node_id - organization: &733 + organization: &731 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112508,7 +112010,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &734 + repository: &732 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -112537,7 +112039,7 @@ webhooks: license: anyOf: - type: 'null' - - *149 + - *148 organization: anyOf: - type: 'null' @@ -113421,10 +112923,10 @@ webhooks: type: string enum: - enabled - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -113500,11 +113002,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: &735 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + rule: &733 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) @@ -113727,11 +113229,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: *735 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + rule: *733 sender: *4 required: - action @@ -113919,11 +113421,11 @@ webhooks: - everyone required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - rule: *735 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + rule: *733 sender: *4 required: - action @@ -113994,7 +113496,7 @@ webhooks: required: true content: application/json: - schema: &738 + schema: &736 title: Exemption request cancellation event type: object properties: @@ -114002,11 +113504,11 @@ webhooks: type: string enum: - cancelled - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: &736 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: &734 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -114236,7 +113738,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &737 + items: &735 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -114346,7 +113848,7 @@ webhooks: required: true content: application/json: - schema: &739 + schema: &737 title: Exemption request completed event type: object properties: @@ -114354,11 +113856,11 @@ webhooks: type: string enum: - completed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: *736 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: *734 sender: *4 required: - action @@ -114428,7 +113930,7 @@ webhooks: required: true content: application/json: - schema: &740 + schema: &738 title: Exemption request created event type: object properties: @@ -114436,11 +113938,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: *736 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: *734 sender: *4 required: - action @@ -114510,7 +114012,7 @@ webhooks: required: true content: application/json: - schema: &741 + schema: &739 title: Exemption response dismissed event type: object properties: @@ -114518,12 +114020,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: *736 - exemption_response: *737 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: *734 + exemption_response: *735 sender: *4 required: - action @@ -114595,7 +114097,7 @@ webhooks: required: true content: application/json: - schema: &742 + schema: &740 title: Exemption response submitted event type: object properties: @@ -114603,12 +114105,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - exemption_request: *736 - exemption_response: *737 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + exemption_request: *734 + exemption_response: *735 sender: *4 required: - action @@ -114681,7 +114183,7 @@ webhooks: required: true content: application/json: - schema: *738 + schema: *736 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114748,7 +114250,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *737 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114815,7 +114317,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *738 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114882,7 +114384,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *739 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114950,7 +114452,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115028,7 +114530,7 @@ webhooks: type: string enum: - completed - check_run: &744 + check_run: &742 title: CheckRun description: A check performed on the code of a given code change type: object @@ -115096,8 +114598,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *434 - repository: *190 + items: *432 + repository: *189 status: type: string enum: @@ -115141,7 +114643,7 @@ webhooks: - examples: - neutral - deployment: *743 + deployment: *741 details_url: type: string examples: @@ -115201,7 +114703,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *434 + items: *432 started_at: type: string format: date-time @@ -115239,9 +114741,9 @@ webhooks: - output - app - pull_requests - installation: *732 - organization: *733 - repository: *734 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - check_run @@ -115634,10 +115136,10 @@ webhooks: type: string enum: - created - check_run: *744 - installation: *732 - organization: *733 - repository: *734 + check_run: *742 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - check_run @@ -116033,10 +115535,10 @@ webhooks: type: string enum: - requested_action - check_run: *744 - installation: *732 - organization: *733 - repository: *734 + check_run: *742 + installation: *730 + organization: *731 + repository: *732 requested_action: description: The action requested by the user. type: object @@ -116441,10 +115943,10 @@ webhooks: type: string enum: - rerequested - check_run: *744 - installation: *732 - organization: *733 - repository: *734 + check_run: *742 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - check_run @@ -117436,10 +116938,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -118124,10 +117626,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -118806,10 +118308,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -118975,7 +118477,7 @@ webhooks: required: - login - id - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119127,20 +118629,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &745 + commit_oid: &743 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: *731 - installation: *732 - organization: *733 - ref: &746 + enterprise: *729 + installation: *730 + organization: *731 + ref: &744 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: *734 + repository: *732 sender: *4 required: - action @@ -119304,7 +118806,7 @@ webhooks: required: - login - id - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119545,12 +119047,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *745 - enterprise: *731 - installation: *732 - organization: *733 - ref: *746 - repository: *734 + commit_oid: *743 + enterprise: *729 + installation: *730 + organization: *731 + ref: *744 + repository: *732 sender: *4 required: - action @@ -119648,7 +119150,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119830,12 +119332,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *745 - enterprise: *731 - installation: *732 - organization: *733 - ref: *746 - repository: *734 + commit_oid: *743 + enterprise: *729 + installation: *730 + organization: *731 + ref: *744 + repository: *732 sender: *4 required: - action @@ -120001,7 +119503,7 @@ webhooks: required: - login - id - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -120178,12 +119680,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *745 - enterprise: *731 - installation: *732 - organization: *733 - ref: *746 - repository: *734 + commit_oid: *743 + enterprise: *729 + installation: *730 + organization: *731 + ref: *744 + repository: *732 sender: *4 required: - action @@ -120283,7 +119785,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120463,9 +119965,9 @@ webhooks: type: - string - 'null' - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -120473,7 +119975,7 @@ webhooks: type: - string - 'null' - repository: *734 + repository: *732 sender: *4 required: - action @@ -120569,7 +120071,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *446 + dismissed_comment: *444 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120716,12 +120218,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *745 - enterprise: *731 - installation: *732 - organization: *733 - ref: *746 - repository: *734 + commit_oid: *743 + enterprise: *729 + installation: *730 + organization: *731 + ref: *744 + repository: *732 sender: *4 required: - action @@ -120983,10 +120485,10 @@ webhooks: - updated_at - author_association - body - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -121067,18 +120569,18 @@ webhooks: type: - string - 'null' - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *733 - pusher_type: &747 + organization: *731 + pusher_type: &745 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &748 + ref: &746 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -121088,7 +120590,7 @@ webhooks: enum: - tag - branch - repository: *734 + repository: *732 sender: *4 required: - ref @@ -121171,9 +120673,9 @@ webhooks: enum: - created definition: *110 - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -121258,9 +120760,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -121338,9 +120840,9 @@ webhooks: enum: - promote_to_enterprise definition: *110 - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -121418,9 +120920,9 @@ webhooks: enum: - updated definition: *110 - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -121497,19 +120999,19 @@ webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - repository: *734 - organization: *733 + enterprise: *729 + installation: *730 + repository: *732 + organization: *731 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *313 + items: *311 old_property_values: type: array description: The old custom property values for the repository. - items: *313 + items: *311 required: - action - repository @@ -121585,18 +121087,18 @@ webhooks: title: delete event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - pusher_type: *747 - ref: *748 + enterprise: *729 + installation: *730 + organization: *731 + pusher_type: *745 + ref: *746 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *734 + repository: *732 sender: *4 required: - ref @@ -121680,11 +121182,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -121768,11 +121270,11 @@ webhooks: type: string enum: - auto_reopened - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -121856,11 +121358,11 @@ webhooks: type: string enum: - created - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -121942,11 +121444,11 @@ webhooks: type: string enum: - dismissed - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -122028,11 +121530,11 @@ webhooks: type: string enum: - fixed - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -122115,11 +121617,11 @@ webhooks: type: string enum: - reintroduced - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -122201,11 +121703,11 @@ webhooks: type: string enum: - reopened - alert: *498 - installation: *732 - organization: *733 - enterprise: *731 - repository: *734 + alert: *496 + installation: *730 + organization: *731 + enterprise: *729 + repository: *732 sender: *4 required: - action @@ -122282,9 +121784,9 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - key: &749 + enterprise: *729 + installation: *730 + key: &747 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -122322,8 +121824,8 @@ webhooks: - verified - created_at - read_only - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -122400,11 +121902,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - key: *749 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + key: *747 + organization: *731 + repository: *732 sender: *4 required: - action @@ -122976,12 +122478,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: &753 + workflow: &751 title: Workflow type: - object @@ -123719,13 +123221,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *504 + deployment: *502 pull_requests: type: array - items: *586 - repository: *734 - organization: *733 - installation: *732 + items: *584 + repository: *732 + organization: *731 + installation: *730 sender: *4 responses: '200': @@ -123796,7 +123298,7 @@ webhooks: type: string enum: - approved - approver: &750 + approver: &748 type: object properties: avatar_url: @@ -123839,11 +123341,11 @@ webhooks: type: string comment: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - reviewers: &751 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + reviewers: &749 type: array items: type: object @@ -123924,7 +123426,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &752 + workflow_job_run: &750 type: object properties: conclusion: @@ -124670,18 +124172,18 @@ webhooks: type: string enum: - rejected - approver: *750 + approver: *748 comment: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - reviewers: *751 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + reviewers: *749 sender: *4 since: type: string - workflow_job_run: *752 + workflow_job_run: *750 workflow_job_runs: type: array items: @@ -125398,13 +124900,13 @@ webhooks: type: string enum: - requested - enterprise: *731 + enterprise: *729 environment: type: string - installation: *732 - organization: *733 - repository: *734 - requestor: &758 + installation: *730 + organization: *731 + repository: *732 + requestor: &756 title: User type: - object @@ -127347,12 +126849,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: *753 + workflow: *751 workflow_run: title: Deployment Workflow Run type: @@ -128043,7 +127545,7 @@ webhooks: type: string enum: - answered - answer: &756 + answer: &754 type: object properties: author_association: @@ -128203,7 +127705,7 @@ webhooks: - created_at - updated_at - body - discussion: &754 + discussion: &752 title: Discussion description: A Discussion in a repository. type: object @@ -128499,7 +128001,7 @@ webhooks: - id labels: type: array - items: *549 + items: *547 required: - repository_url - category @@ -128521,10 +128023,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -128651,11 +128153,11 @@ webhooks: - from required: - category - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -128738,11 +128240,11 @@ webhooks: type: string enum: - closed - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -128824,7 +128326,7 @@ webhooks: type: string enum: - created - comment: &755 + comment: &753 type: object properties: author_association: @@ -128984,11 +128486,11 @@ webhooks: - updated_at - body - reactions - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129071,12 +128573,12 @@ webhooks: type: string enum: - deleted - comment: *755 - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + comment: *753 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129171,12 +128673,12 @@ webhooks: - from required: - body - comment: *755 - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + comment: *753 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129260,11 +128762,11 @@ webhooks: type: string enum: - created - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129346,11 +128848,11 @@ webhooks: type: string enum: - deleted - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129450,11 +128952,11 @@ webhooks: type: string required: - from - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129536,10 +129038,10 @@ webhooks: type: string enum: - labeled - discussion: *754 - enterprise: *731 - installation: *732 - label: &757 + discussion: *752 + enterprise: *729 + installation: *730 + label: &755 title: Label type: object properties: @@ -129572,8 +129074,8 @@ webhooks: - color - default - description - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129656,11 +129158,11 @@ webhooks: type: string enum: - locked - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129742,11 +129244,11 @@ webhooks: type: string enum: - pinned - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129828,11 +129330,11 @@ webhooks: type: string enum: - reopened - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -129917,16 +129419,16 @@ webhooks: changes: type: object properties: - new_discussion: *754 - new_repository: *734 + new_discussion: *752 + new_repository: *732 required: - new_discussion - new_repository - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130009,10 +129511,10 @@ webhooks: type: string enum: - unanswered - discussion: *754 - old_answer: *756 - organization: *733 - repository: *734 + discussion: *752 + old_answer: *754 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130094,12 +129596,12 @@ webhooks: type: string enum: - unlabeled - discussion: *754 - enterprise: *731 - installation: *732 - label: *757 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130182,11 +129684,11 @@ webhooks: type: string enum: - unlocked - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130268,11 +129770,11 @@ webhooks: type: string enum: - unpinned - discussion: *754 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + discussion: *752 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -130344,7 +129846,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *738 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130410,7 +129912,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130476,7 +129978,7 @@ webhooks: required: true content: application/json: - schema: *738 + schema: *736 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130542,7 +130044,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *737 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130608,7 +130110,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *738 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130674,7 +130176,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *739 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130740,7 +130242,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130807,7 +130309,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *731 + enterprise: *729 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -131485,9 +130987,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *732 - organization: *733 - repository: *734 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - forkee @@ -131633,9 +131135,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pages: description: The pages that were updated. type: array @@ -131673,7 +131175,7 @@ webhooks: - action - sha - html_url - repository: *734 + repository: *732 sender: *4 required: - pages @@ -131749,10 +131251,10 @@ webhooks: type: string enum: - created - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: &759 + organization: *731 + repositories: &757 description: An array of repository objects that the installation can access. type: array @@ -131778,8 +131280,8 @@ webhooks: - name - full_name - private - repository: *734 - requester: *758 + repository: *732 + requester: *756 sender: *4 required: - action @@ -131854,11 +131356,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: *759 - repository: *734 + organization: *731 + repositories: *757 + repository: *732 requester: type: - 'null' @@ -131935,11 +131437,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: *759 - repository: *734 + organization: *731 + repositories: *757 + repository: *732 requester: type: - 'null' @@ -132016,10 +131518,10 @@ webhooks: type: string enum: - added - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories_added: &760 + organization: *731 + repositories_added: &758 description: An array of repository objects, which were added to the installation. type: array @@ -132065,15 +131567,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *734 - repository_selection: &761 + repository: *732 + repository_selection: &759 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *758 + requester: *756 sender: *4 required: - action @@ -132152,10 +131654,10 @@ webhooks: type: string enum: - removed - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories_added: *760 + organization: *731 + repositories_added: *758 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -132182,9 +131684,9 @@ webhooks: - name - full_name - private - repository: *734 - repository_selection: *761 - requester: *758 + repository: *732 + repository_selection: *759 + requester: *756 sender: *4 required: - action @@ -132263,11 +131765,11 @@ webhooks: type: string enum: - suspend - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: *759 - repository: *734 + organization: *731 + repositories: *757 + repository: *732 requester: type: - 'null' @@ -132450,10 +131952,10 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 target_type: type: string @@ -132532,11 +132034,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *731 + enterprise: *729 installation: *20 - organization: *733 - repositories: *759 - repository: *734 + organization: *731 + repositories: *757 + repository: *732 requester: type: - 'null' @@ -132784,8 +132286,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133632,7 +133134,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -133976,8 +133478,8 @@ webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -134057,7 +133559,7 @@ webhooks: type: string enum: - deleted - comment: &762 + comment: &760 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -134224,8 +133726,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135068,7 +134570,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -135414,8 +134916,8 @@ webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -135495,7 +134997,7 @@ webhooks: type: string enum: - edited - changes: &787 + changes: &785 description: The changes to the comment. type: object properties: @@ -135507,9 +135009,9 @@ webhooks: type: string required: - from - comment: *762 - enterprise: *731 - installation: *732 + comment: *760 + enterprise: *729 + installation: *730 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -136355,7 +135857,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -136699,8 +136201,8 @@ webhooks: - state - locked - assignee - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -136782,10 +136284,10 @@ webhooks: type: string enum: - assigned - assignee: *758 - enterprise: *731 - installation: *732 - issue: &765 + assignee: *756 + enterprise: *729 + installation: *730 + issue: &763 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137627,7 +137129,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -137730,8 +137232,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -137811,8 +137313,8 @@ webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138659,7 +138161,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -138905,8 +138407,8 @@ webhooks: required: - state - closed_at - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -138985,8 +138487,8 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139822,7 +139324,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -139924,8 +139426,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -140004,8 +139506,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140866,7 +140368,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -140947,7 +140449,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &763 + milestone: &761 title: Milestone description: A collection of related issues and pull requests. type: object @@ -141090,8 +140592,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -141190,8 +140692,8 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142030,7 +141532,7 @@ webhooks: timeline_url: type: string format: uri - type: *278 + type: *276 title: description: Title of the issue type: string @@ -142136,9 +141638,9 @@ webhooks: - active_lock_reason - body - reactions - label: *757 - organization: *733 - repository: *734 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -142218,8 +141720,8 @@ webhooks: type: string enum: - labeled - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143057,7 +142559,7 @@ webhooks: timeline_url: type: string format: uri - type: *278 + type: *276 title: description: Title of the issue type: string @@ -143163,9 +142665,9 @@ webhooks: - active_lock_reason - body - reactions - label: *757 - organization: *733 - repository: *734 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -143245,8 +142747,8 @@ webhooks: type: string enum: - locked - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144109,7 +143611,7 @@ webhooks: timeline_url: type: string format: uri - type: *278 + type: *276 title: description: Title of the issue type: string @@ -144192,8 +143694,8 @@ webhooks: format: uri user_view_type: type: string - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -144272,8 +143774,8 @@ webhooks: type: string enum: - milestoned - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145133,7 +144635,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -145213,9 +144715,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *763 - organization: *733 - repository: *734 + milestone: *761 + organization: *731 + repository: *732 sender: *4 required: - action @@ -146715,8 +146217,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147558,7 +147060,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -147660,8 +147162,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -147741,9 +147243,9 @@ webhooks: type: string enum: - pinned - enterprise: *731 - installation: *732 - issue: &764 + enterprise: *729 + installation: *730 + issue: &762 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148579,7 +148081,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -148681,8 +148183,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -148761,8 +148263,8 @@ webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149706,9 +149208,9 @@ webhooks: format: uri user_view_type: type: string - type: *278 - organization: *733 - repository: *734 + type: *276 + organization: *731 + repository: *732 sender: *4 required: - action @@ -150627,7 +150129,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -151209,11 +150711,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *731 - installation: *732 - issue: *764 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + issue: *762 + organization: *731 + repository: *732 sender: *4 required: - action @@ -151233,6 +150735,91 @@ 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: *729 + installation: *730 + issue: *763 + type: *276 + organization: *731 + repository: *732 + 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: |- @@ -151294,7 +150881,7 @@ webhooks: type: string enum: - unassigned - assignee: &790 + assignee: &788 title: User type: - object @@ -151366,11 +150953,11 @@ webhooks: required: - login - id - enterprise: *731 - installation: *732 - issue: *765 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + issue: *763 + organization: *731 + repository: *732 sender: *4 required: - action @@ -151449,12 +151036,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *731 - installation: *732 - issue: *765 - label: *757 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + issue: *763 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -151534,8 +151121,8 @@ webhooks: type: string enum: - unlocked - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152399,7 +151986,7 @@ webhooks: title: description: Title of the issue type: string - type: *278 + type: *276 updated_at: type: string format: date-time @@ -152479,8 +152066,8 @@ webhooks: format: uri user_view_type: type: string - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -152560,15 +152147,100 @@ webhooks: type: string enum: - unpinned - enterprise: *731 - installation: *732 - issue: *764 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + issue: *762 + organization: *731 + repository: *732 + 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: *729 + installation: *730 + issue: *763 + type: *276 + organization: *731 + repository: *732 sender: *4 required: - action - issue + - type - repository - sender responses: @@ -152643,11 +152315,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - label: *757 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -152725,11 +152397,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - label: *757 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -152839,11 +152511,11 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - label: *757 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + label: *755 + organization: *731 + repository: *732 sender: *4 required: - action @@ -152925,9 +152597,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: &766 + enterprise: *729 + installation: *730 + marketplace_purchase: &764 title: Marketplace Purchase type: object required: @@ -153015,8 +152687,8 @@ webhooks: type: integer unit_count: type: integer - organization: *733 - previous_marketplace_purchase: &767 + organization: *731 + previous_marketplace_purchase: &765 title: Marketplace Purchase type: object properties: @@ -153100,7 +152772,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *732 sender: *4 required: - action @@ -153180,10 +152852,10 @@ webhooks: - changed effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *766 - organization: *733 + enterprise: *729 + installation: *730 + marketplace_purchase: *764 + organization: *731 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153271,7 +152943,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *732 sender: *4 required: - action @@ -153353,10 +153025,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *766 - organization: *733 + enterprise: *729 + installation: *730 + marketplace_purchase: *764 + organization: *731 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153442,7 +153114,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *734 + repository: *732 sender: *4 required: - action @@ -153523,8 +153195,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 marketplace_purchase: title: Marketplace Purchase type: object @@ -153610,9 +153282,9 @@ webhooks: type: integer unit_count: type: integer - organization: *733 - previous_marketplace_purchase: *767 - repository: *734 + organization: *731 + previous_marketplace_purchase: *765 + repository: *732 sender: *4 required: - action @@ -153692,12 +153364,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *731 - installation: *732 - marketplace_purchase: *766 - organization: *733 - previous_marketplace_purchase: *767 - repository: *734 + enterprise: *729 + installation: *730 + marketplace_purchase: *764 + organization: *731 + previous_marketplace_purchase: *765 + repository: *732 sender: *4 required: - action @@ -153799,11 +153471,11 @@ webhooks: type: string required: - to - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 sender: *4 required: - action @@ -153905,11 +153577,11 @@ webhooks: type: - string - 'null' - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 sender: *4 required: - action @@ -153988,11 +153660,11 @@ webhooks: type: string enum: - removed - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 sender: *4 required: - action @@ -154070,11 +153742,11 @@ webhooks: type: string enum: - added - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154152,7 +153824,7 @@ webhooks: required: - login - id - team: &768 + team: &766 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -154345,11 +154017,11 @@ webhooks: type: string enum: - removed - enterprise: *731 - installation: *732 - member: *758 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + member: *756 + organization: *731 + repository: *732 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154428,7 +154100,7 @@ webhooks: required: - login - id - team: *768 + team: *766 required: - action - scope @@ -154510,8 +154182,8 @@ webhooks: type: string enum: - checks_requested - installation: *732 - merge_group: &769 + installation: *730 + merge_group: &767 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -154530,15 +154202,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *438 + head_commit: *436 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -154624,10 +154296,10 @@ webhooks: - merged - invalidated - dequeued - installation: *732 - merge_group: *769 - organization: *733 - repository: *734 + installation: *730 + merge_group: *767 + organization: *731 + repository: *732 sender: *4 required: - action @@ -154700,7 +154372,7 @@ webhooks: type: string enum: - deleted - enterprise: *731 + enterprise: *729 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -154808,12 +154480,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *732 - organization: *733 + installation: *730 + organization: *731 repository: anyOf: - type: 'null' - - *734 + - *732 sender: *4 required: - action @@ -154893,11 +154565,11 @@ webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - milestone: *763 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + milestone: *761 + organization: *731 + repository: *732 sender: *4 required: - action @@ -154976,9 +154648,9 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - milestone: &770 + enterprise: *729 + installation: *730 + milestone: &768 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155120,8 +154792,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155200,11 +154872,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - milestone: *763 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + milestone: *761 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155314,11 +154986,11 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - milestone: *763 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + milestone: *761 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155398,11 +155070,11 @@ webhooks: type: string enum: - opened - enterprise: *731 - installation: *732 - milestone: *770 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + milestone: *768 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155481,11 +155153,11 @@ webhooks: type: string enum: - blocked - blocked_user: *758 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + blocked_user: *756 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155564,11 +155236,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *758 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + blocked_user: *756 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155647,9 +155319,9 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - membership: &771 + enterprise: *729 + installation: *730 + membership: &769 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -155743,8 +155415,8 @@ webhooks: - role - organization_url - user - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155822,11 +155494,11 @@ webhooks: type: string enum: - member_added - enterprise: *731 - installation: *732 - membership: *771 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + membership: *769 + organization: *731 + repository: *732 sender: *4 required: - action @@ -155905,8 +155577,8 @@ webhooks: type: string enum: - member_invited - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -156028,10 +155700,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 - user: *758 + user: *756 required: - action - invitation @@ -156109,11 +155781,11 @@ webhooks: type: string enum: - member_removed - enterprise: *731 - installation: *732 - membership: *771 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + membership: *769 + organization: *731 + repository: *732 sender: *4 required: - action @@ -156200,11 +155872,11 @@ webhooks: properties: from: type: string - enterprise: *731 - installation: *732 - membership: *771 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + membership: *769 + organization: *731 + repository: *732 sender: *4 required: - action @@ -156280,9 +155952,9 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 package: description: Information about the package. type: object @@ -156805,7 +156477,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &772 + items: &770 title: Ruby Gems metadata type: object properties: @@ -156902,7 +156574,7 @@ webhooks: - owner - package_version - registry - repository: *734 + repository: *732 sender: *4 required: - action @@ -156978,9 +156650,9 @@ webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 package: description: Information about the package. type: object @@ -157342,7 +157014,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *772 + items: *770 source_url: type: string format: uri @@ -157413,7 +157085,7 @@ webhooks: - owner - package_version - registry - repository: *734 + repository: *732 sender: *4 required: - action @@ -157594,12 +157266,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *731 + enterprise: *729 id: type: integer - installation: *732 - organization: *733 - repository: *734 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - id @@ -157676,7 +157348,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &773 + personal_access_token_request: &771 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -157826,10 +157498,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *731 - organization: *733 + enterprise: *729 + organization: *731 sender: *4 - installation: *732 + installation: *730 required: - action - personal_access_token_request @@ -157906,11 +157578,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *773 - enterprise: *731 - organization: *733 + personal_access_token_request: *771 + enterprise: *729 + organization: *731 sender: *4 - installation: *732 + installation: *730 required: - action - personal_access_token_request @@ -157986,11 +157658,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *773 - enterprise: *731 - organization: *733 + personal_access_token_request: *771 + enterprise: *729 + organization: *731 sender: *4 - installation: *732 + installation: *730 required: - action - personal_access_token_request @@ -158065,11 +157737,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *773 - organization: *733 - enterprise: *731 + personal_access_token_request: *771 + organization: *731 + enterprise: *729 sender: *4 - installation: *732 + installation: *730 required: - action - personal_access_token_request @@ -158174,7 +157846,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *774 + last_response: *772 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -158206,8 +157878,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 zen: description: Random string of GitHub zen. @@ -158452,10 +158124,10 @@ webhooks: - from required: - note - enterprise: *731 - installation: *732 - organization: *733 - project_card: &775 + enterprise: *729 + installation: *730 + organization: *731 + project_card: &773 title: Project Card type: object properties: @@ -158578,7 +158250,7 @@ webhooks: - creator - created_at - updated_at - repository: *734 + repository: *732 sender: *4 required: - action @@ -158659,11 +158331,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project_card: *775 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project_card: *773 + repository: *732 sender: *4 required: - action @@ -158743,9 +158415,9 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 project_card: title: Project Card type: object @@ -158875,7 +158547,7 @@ webhooks: repository: anyOf: - type: 'null' - - *734 + - *732 sender: *4 required: - action @@ -158969,11 +158641,11 @@ webhooks: - from required: - note - enterprise: *731 - installation: *732 - organization: *733 - project_card: *775 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project_card: *773 + repository: *732 sender: *4 required: - action @@ -159067,9 +158739,9 @@ webhooks: - from required: - column_id - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 project_card: allOf: - title: Project Card @@ -159266,7 +158938,7 @@ webhooks: type: string required: - after_id - repository: *734 + repository: *732 sender: *4 required: - action @@ -159346,10 +159018,10 @@ webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - organization: *733 - project: &777 + enterprise: *729 + installation: *730 + organization: *731 + project: &775 title: Project type: object properties: @@ -159476,7 +159148,7 @@ webhooks: - creator - created_at - updated_at - repository: *734 + repository: *732 sender: *4 required: - action @@ -159556,10 +159228,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project_column: &776 + enterprise: *729 + installation: *730 + organization: *731 + project_column: &774 title: Project Column type: object properties: @@ -159599,7 +159271,7 @@ webhooks: - name - created_at - updated_at - repository: *734 + repository: *732 sender: *4 required: - action @@ -159678,14 +159350,14 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - project_column: *776 + enterprise: *729 + installation: *730 + organization: *731 + project_column: *774 repository: anyOf: - type: 'null' - - *734 + - *732 sender: *4 required: - action @@ -159774,11 +159446,11 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - project_column: *776 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project_column: *774 + repository: *732 sender: *4 required: - action @@ -159858,11 +159530,11 @@ webhooks: type: string enum: - moved - enterprise: *731 - installation: *732 - organization: *733 - project_column: *776 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project_column: *774 + repository: *732 sender: *4 required: - action @@ -159942,11 +159614,11 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - project: *777 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project: *775 + repository: *732 sender: *4 required: - action @@ -160026,14 +159698,14 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - project: *777 + enterprise: *729 + installation: *730 + organization: *731 + project: *775 repository: anyOf: - type: 'null' - - *734 + - *732 sender: *4 required: - action @@ -160134,11 +159806,11 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - project: *777 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project: *775 + repository: *732 sender: *4 required: - action @@ -160217,11 +159889,11 @@ webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 - organization: *733 - project: *777 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + project: *775 + repository: *732 sender: *4 required: - action @@ -160302,9 +159974,9 @@ webhooks: type: string enum: - closed - installation: *732 - organization: *733 - projects_v2: &778 + installation: *730 + organization: *731 + projects_v2: &776 title: Projects v2 Project description: A projects v2 project type: object @@ -160452,9 +160124,9 @@ webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2: *778 + installation: *730 + organization: *731 + projects_v2: *776 sender: *4 required: - action @@ -160535,9 +160207,9 @@ webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2: *778 + installation: *730 + organization: *731 + projects_v2: *776 sender: *4 required: - action @@ -160658,9 +160330,9 @@ webhooks: type: string to: type: string - installation: *732 - organization: *733 - projects_v2: *778 + installation: *730 + organization: *731 + projects_v2: *776 sender: *4 required: - action @@ -160743,7 +160415,7 @@ webhooks: type: string enum: - archived - changes: &782 + changes: &780 type: object properties: archived_at: @@ -160759,9 +160431,9 @@ webhooks: - string - 'null' format: date-time - installation: *732 - organization: *733 - projects_v2_item: &779 + installation: *730 + organization: *731 + projects_v2_item: &777 title: Projects v2 Item description: An item belonging to a project type: object @@ -160900,9 +160572,9 @@ webhooks: - 'null' to: type: string - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -160984,9 +160656,9 @@ webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161067,9 +160739,9 @@ webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161174,7 +160846,7 @@ webhooks: oneOf: - type: string - type: integer - - &780 + - &778 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -161194,7 +160866,7 @@ webhooks: required: - id - name - - &781 + - &779 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -161223,8 +160895,8 @@ webhooks: oneOf: - type: string - type: integer - - *780 - - *781 + - *778 + - *779 type: - 'null' - string @@ -161247,9 +160919,9 @@ webhooks: - 'null' required: - body - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161346,9 +161018,9 @@ webhooks: type: - string - 'null' - installation: *732 - organization: *733 - projects_v2_item: *779 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161431,10 +161103,10 @@ webhooks: type: string enum: - restored - changes: *782 - installation: *732 - organization: *733 - projects_v2_item: *779 + changes: *780 + installation: *730 + organization: *731 + projects_v2_item: *777 sender: *4 required: - action @@ -161516,9 +161188,9 @@ webhooks: type: string enum: - reopened - installation: *732 - organization: *733 - projects_v2: *778 + installation: *730 + organization: *731 + projects_v2: *776 sender: *4 required: - action @@ -161599,9 +161271,9 @@ webhooks: type: string enum: - created - installation: *732 - organization: *733 - projects_v2_status_update: &783 + installation: *730 + organization: *731 + projects_v2_status_update: &781 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -161736,9 +161408,9 @@ webhooks: type: string enum: - deleted - installation: *732 - organization: *733 - projects_v2_status_update: *783 + installation: *730 + organization: *731 + projects_v2_status_update: *781 sender: *4 required: - action @@ -161884,9 +161556,9 @@ webhooks: - string - 'null' format: date - installation: *732 - organization: *733 - projects_v2_status_update: *783 + installation: *730 + organization: *731 + projects_v2_status_update: *781 sender: *4 required: - action @@ -161957,10 +161629,10 @@ webhooks: title: public event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - repository @@ -162037,13 +161709,13 @@ webhooks: type: string enum: - assigned - assignee: *758 - enterprise: *731 - installation: *732 - number: &784 + assignee: *756 + enterprise: *729 + installation: *730 + number: &782 description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -164392,7 +164064,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -164474,11 +164146,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -166820,7 +166492,7 @@ webhooks: - draft reason: type: string - repository: *734 + repository: *732 sender: *4 required: - action @@ -166902,11 +166574,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -169248,7 +168920,7 @@ webhooks: - draft reason: type: string - repository: *734 + repository: *732 sender: *4 required: - action @@ -169330,13 +169002,13 @@ webhooks: type: string enum: - closed - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: &785 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: &783 allOf: - - *586 + - *584 - type: object properties: allow_auto_merge: @@ -169398,7 +169070,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *734 + repository: *732 sender: *4 required: - action @@ -169479,12 +169151,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -169564,11 +169236,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *731 - milestone: *484 - number: *784 - organization: *733 - pull_request: &786 + enterprise: *729 + milestone: *482 + number: *782 + organization: *731 + pull_request: &784 title: Pull Request type: object properties: @@ -171895,7 +171567,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -171974,11 +171646,11 @@ webhooks: type: string enum: - dequeued - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -174324,7 +173996,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *734 + repository: *732 sender: *4 required: - action @@ -174448,12 +174120,12 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -174533,11 +174205,11 @@ webhooks: type: string enum: - enqueued - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -176868,7 +176540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -176948,11 +176620,11 @@ webhooks: type: string enum: - labeled - enterprise: *731 - installation: *732 - label: *757 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + label: *755 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -179300,7 +178972,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -179381,10 +179053,10 @@ webhooks: type: string enum: - locked - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -181730,7 +181402,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -181810,12 +181482,12 @@ webhooks: type: string enum: - milestoned - enterprise: *731 - milestone: *484 - number: *784 - organization: *733 - pull_request: *786 - repository: *734 + enterprise: *729 + milestone: *482 + number: *782 + organization: *731 + pull_request: *784 + repository: *732 sender: *4 required: - action @@ -181894,12 +181566,12 @@ webhooks: type: string enum: - opened - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -181980,12 +181652,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -182065,12 +181737,12 @@ webhooks: type: string enum: - reopened - enterprise: *731 - installation: *732 - number: *784 - organization: *733 - pull_request: *785 - repository: *734 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 + pull_request: *783 + repository: *732 sender: *4 required: - action @@ -182445,9 +182117,9 @@ webhooks: - start_side - side - reactions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: type: object properties: @@ -184677,7 +184349,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *732 sender: *4 required: - action @@ -184757,7 +184429,7 @@ webhooks: type: string enum: - deleted - comment: &788 + comment: &786 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. @@ -185050,9 +184722,9 @@ webhooks: - start_side - side - reactions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: type: object properties: @@ -187270,7 +186942,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *732 sender: *4 required: - action @@ -187350,11 +187022,11 @@ webhooks: type: string enum: - edited - changes: *787 - comment: *788 - enterprise: *731 - installation: *732 - organization: *733 + changes: *785 + comment: *786 + enterprise: *729 + installation: *730 + organization: *731 pull_request: type: object properties: @@ -189575,7 +189247,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *734 + repository: *732 sender: *4 required: - action @@ -189656,9 +189328,9 @@ webhooks: type: string enum: - dismissed - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -191891,7 +191563,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *732 review: description: The review that was affected. type: object @@ -192137,9 +191809,9 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -194253,8 +193925,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 - review: &789 + repository: *732 + review: &787 description: The review that was affected. type: object properties: @@ -194487,12 +194159,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -196839,7 +196511,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 requested_reviewer: title: User type: @@ -196925,12 +196597,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -199284,7 +198956,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199479,12 +199151,12 @@ webhooks: type: string enum: - review_requested - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -201833,7 +201505,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 requested_reviewer: title: User type: @@ -201920,12 +201592,12 @@ webhooks: type: string enum: - review_requested - enterprise: *731 - installation: *732 + enterprise: *729 + installation: *730 number: description: The pull request number. type: integer - organization: *733 + organization: *731 pull_request: title: Pull Request type: object @@ -204265,7 +203937,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204449,9 +204121,9 @@ webhooks: type: string enum: - submitted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -206687,8 +206359,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 - review: *789 + repository: *732 + review: *787 sender: *4 required: - action @@ -206768,9 +206440,9 @@ webhooks: type: string enum: - resolved - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -208901,7 +208573,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *732 sender: *4 thread: type: object @@ -209293,9 +208965,9 @@ webhooks: type: string enum: - unresolved - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 pull_request: title: Simple Pull Request type: object @@ -211409,7 +211081,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *734 + repository: *732 sender: *4 thread: type: object @@ -211803,10 +211475,10 @@ webhooks: type: string before: type: string - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -214141,7 +213813,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -214223,11 +213895,11 @@ webhooks: type: string enum: - unassigned - assignee: *790 - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + assignee: *788 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -216577,7 +216249,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -216656,11 +216328,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *731 - installation: *732 - label: *757 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + label: *755 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -218999,7 +218671,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -219080,10 +218752,10 @@ webhooks: type: string enum: - unlocked - enterprise: *731 - installation: *732 - number: *784 - organization: *733 + enterprise: *729 + installation: *730 + number: *782 + organization: *731 pull_request: title: Pull Request type: object @@ -221412,7 +221084,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *734 + repository: *732 sender: *4 required: - action @@ -221615,7 +221287,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *731 + enterprise: *729 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -221710,8 +221382,8 @@ webhooks: - url - author - committer - installation: *732 - organization: *733 + installation: *730 + organization: *731 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -222299,9 +221971,9 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 registry_package: type: object properties: @@ -222778,7 +222450,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *772 + items: *770 summary: type: string tag_name: @@ -222834,7 +222506,7 @@ webhooks: - owner - package_version - registry - repository: *734 + repository: *732 sender: *4 required: - action @@ -222912,9 +222584,9 @@ webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 registry_package: type: object properties: @@ -223226,7 +222898,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *772 + items: *770 summary: type: string tag_name: @@ -223276,7 +222948,7 @@ webhooks: - owner - package_version - registry - repository: *734 + repository: *732 sender: *4 required: - action @@ -223353,10 +223025,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - release: &791 + enterprise: *729 + installation: *730 + organization: *731 + release: &789 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -223672,7 +223344,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *734 + repository: *732 sender: *4 required: - action @@ -223749,11 +223421,11 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + release: *789 + repository: *732 sender: *4 required: - action @@ -223870,11 +223542,11 @@ webhooks: type: boolean required: - to - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + release: *789 + repository: *732 sender: *4 required: - action @@ -223952,9 +223624,9 @@ webhooks: type: string enum: - prereleased - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -224275,7 +223947,7 @@ webhooks: - string - 'null' format: uri - repository: *734 + repository: *732 sender: *4 required: - action @@ -224351,10 +224023,10 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - release: &792 + enterprise: *729 + installation: *730 + organization: *731 + release: &790 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224672,7 +224344,7 @@ webhooks: - string - 'null' format: uri - repository: *734 + repository: *732 sender: *4 required: - action @@ -224748,11 +224420,11 @@ webhooks: type: string enum: - released - enterprise: *731 - installation: *732 - organization: *733 - release: *791 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + release: *789 + repository: *732 sender: *4 required: - action @@ -224828,11 +224500,11 @@ webhooks: type: string enum: - unpublished - enterprise: *731 - installation: *732 - organization: *733 - release: *792 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + release: *790 + repository: *732 sender: *4 required: - action @@ -224908,11 +224580,11 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_advisory: *643 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + repository_advisory: *641 sender: *4 required: - action @@ -224988,11 +224660,11 @@ webhooks: type: string enum: - reported - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - repository_advisory: *643 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + repository_advisory: *641 sender: *4 required: - action @@ -225068,10 +224740,10 @@ webhooks: type: string enum: - archived - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225148,10 +224820,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225229,10 +224901,10 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225317,10 +224989,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225435,10 +225107,10 @@ webhooks: - 'null' items: type: string - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225510,10 +225182,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 status: type: string @@ -225594,10 +225266,10 @@ webhooks: type: string enum: - privatized - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225674,10 +225346,10 @@ webhooks: type: string enum: - publicized - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225771,10 +225443,10 @@ webhooks: - name required: - repository - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -225854,10 +225526,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 repository_ruleset: *124 sender: *4 required: @@ -225936,10 +225608,10 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 repository_ruleset: *124 sender: *4 required: @@ -226018,10 +225690,10 @@ webhooks: type: string enum: - edited - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 repository_ruleset: *124 changes: type: object @@ -226329,10 +226001,10 @@ webhooks: - from required: - owner - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -226410,10 +226082,10 @@ webhooks: type: string enum: - unarchived - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -226491,7 +226163,7 @@ webhooks: type: string enum: - create - alert: &793 + alert: &791 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -226615,10 +226287,10 @@ webhooks: type: string enum: - open - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -226828,10 +226500,10 @@ webhooks: type: string enum: - dismissed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -226909,11 +226581,11 @@ webhooks: type: string enum: - reopen - alert: *793 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *791 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227115,10 +226787,10 @@ webhooks: enum: - fixed - open - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227196,7 +226868,7 @@ webhooks: type: string enum: - created - alert: &794 + alert: &792 type: object properties: number: *96 @@ -227306,10 +226978,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227390,11 +227062,11 @@ webhooks: type: string enum: - created - alert: *794 - installation: *732 - location: *795 - organization: *733 - repository: *734 + alert: *792 + installation: *730 + location: *793 + organization: *731 + repository: *732 sender: *4 required: - location @@ -227632,11 +227304,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *792 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227714,11 +227386,11 @@ webhooks: type: string enum: - reopened - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *792 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227796,11 +227468,11 @@ webhooks: type: string enum: - resolved - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *792 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -227878,11 +227550,11 @@ webhooks: type: string enum: - validated - alert: *794 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + alert: *792 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -228012,10 +227684,10 @@ webhooks: - organization - enterprise - - repository: *734 - enterprise: *731 - installation: *732 - organization: *733 + repository: *732 + enterprise: *729 + installation: *730 + organization: *731 sender: *4 required: - action @@ -228093,11 +227765,11 @@ webhooks: type: string enum: - published - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - security_advisory: &796 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + security_advisory: &794 description: The details of the security advisory, including summary, description, and severity. type: object @@ -228283,11 +227955,11 @@ webhooks: type: string enum: - updated - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 - security_advisory: *796 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 + security_advisory: *794 sender: *4 required: - action @@ -228360,10 +228032,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -228549,11 +228221,11 @@ webhooks: from: type: object properties: - security_and_analysis: *314 - enterprise: *731 - installation: *732 - organization: *733 - repository: *375 + security_and_analysis: *312 + enterprise: *729 + installation: *730 + organization: *731 + repository: *373 sender: *4 required: - changes @@ -228631,12 +228303,12 @@ webhooks: type: string enum: - cancelled - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: &797 + sponsorship: &795 type: object properties: created_at: @@ -228941,12 +228613,12 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - sponsorship @@ -229034,12 +228706,12 @@ webhooks: type: string required: - from - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - changes @@ -229116,17 +228788,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &798 + effective_date: &796 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: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - sponsorship @@ -229200,7 +228872,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &799 + changes: &797 type: object properties: tier: @@ -229244,13 +228916,13 @@ webhooks: - from required: - tier - effective_date: *798 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + effective_date: *796 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - changes @@ -229327,13 +228999,13 @@ webhooks: type: string enum: - tier_changed - changes: *799 - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + changes: *797 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - sponsorship: *797 + sponsorship: *795 required: - action - changes @@ -229407,10 +229079,10 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229494,10 +229166,10 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229931,15 +229603,15 @@ webhooks: type: - string - 'null' - enterprise: *731 + enterprise: *729 id: description: The unique identifier of the status. type: integer - installation: *732 + installation: *730 name: type: string - organization: *733 - repository: *734 + organization: *731 + repository: *732 sender: *4 sha: description: The Commit SHA. @@ -230049,15 +229721,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *148 + parent_issue: *147 parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *148 - installation: *732 - organization: *733 - repository: *734 + sub_issue: *147 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -230141,15 +229813,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *148 + parent_issue: *147 parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *148 - installation: *732 - organization: *733 - repository: *734 + sub_issue: *147 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -230233,15 +229905,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *148 + sub_issue: *147 sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *148 - installation: *732 - organization: *733 - repository: *734 + parent_issue: *147 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -230325,15 +229997,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *148 + sub_issue: *147 sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *148 - installation: *732 - organization: *733 - repository: *734 + parent_issue: *147 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -230410,12 +230082,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - team: &800 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -230608,9 +230280,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -231080,7 +230752,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - team @@ -231156,9 +230828,9 @@ webhooks: type: string enum: - created - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -231628,7 +231300,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - team @@ -231705,9 +231377,9 @@ webhooks: type: string enum: - deleted - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -232177,7 +231849,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - team @@ -232321,9 +231993,9 @@ webhooks: - from required: - permissions - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -232793,7 +232465,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - changes @@ -232871,9 +232543,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *731 - installation: *732 - organization: *733 + enterprise: *729 + installation: *730 + organization: *731 repository: title: Repository description: A git repository @@ -233343,7 +233015,7 @@ webhooks: - topics - visibility sender: *4 - team: *800 + team: *798 required: - action - team @@ -233419,10 +233091,10 @@ webhooks: type: string enum: - started - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 required: - action @@ -233495,17 +233167,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *731 + enterprise: *729 inputs: type: - object - 'null' additionalProperties: true - installation: *732 - organization: *733 + installation: *730 + organization: *731 ref: type: string - repository: *734 + repository: *732 sender: *4 workflow: type: string @@ -233587,10 +233259,10 @@ webhooks: type: string enum: - completed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 workflow_job: allOf: @@ -233846,7 +233518,7 @@ webhooks: type: string required: - conclusion - deployment: *504 + deployment: *502 required: - action - repository @@ -233925,10 +233597,10 @@ webhooks: type: string enum: - in_progress - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 workflow_job: allOf: @@ -234210,7 +233882,7 @@ webhooks: required: - status - steps - deployment: *504 + deployment: *502 required: - action - repository @@ -234289,10 +233961,10 @@ webhooks: type: string enum: - queued - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 workflow_job: type: object @@ -234438,7 +234110,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *504 + deployment: *502 required: - action - repository @@ -234517,10 +234189,10 @@ webhooks: type: string enum: - waiting - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 workflow_job: type: object @@ -234667,7 +234339,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *504 + deployment: *502 required: - action - repository @@ -234747,12 +234419,12 @@ webhooks: type: string enum: - completed - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: *753 + workflow: *751 workflow_run: title: Workflow Run type: object @@ -235771,12 +235443,12 @@ webhooks: type: string enum: - in_progress - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: *753 + workflow: *751 workflow_run: title: Workflow Run type: object @@ -236780,12 +236452,12 @@ webhooks: type: string enum: - requested - enterprise: *731 - installation: *732 - organization: *733 - repository: *734 + enterprise: *729 + installation: *730 + organization: *731 + repository: *732 sender: *4 - workflow: *753 + workflow: *751 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 27949c9017..b585292eb5 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -6827,93 +6827,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", @@ -8909,96 +8822,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", @@ -19644,93 +19467,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", @@ -29833,96 +29569,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", @@ -47674,7 +47320,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" ], @@ -89946,11 +89592,197 @@ } } }, - "issues-labeled": { + "issues-labeled": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/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 added to an issue.", + "operationId": "issues/labeled", + "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-labeled" + } + } + } + }, + "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-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": "A label was added to an issue.", - "operationId": "issues/labeled", + "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" }, @@ -90017,7 +89849,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -90039,11 +89871,11 @@ } } }, - "issues-locked": { + "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" }, @@ -90110,7 +89942,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -90132,11 +89964,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" }, @@ -90203,7 +90035,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -90225,11 +90057,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" }, @@ -90296,7 +90128,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -90318,11 +90150,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" }, @@ -90389,7 +90221,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -90411,11 +90243,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" }, @@ -90482,7 +90314,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -90504,11 +90336,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" }, @@ -90575,7 +90407,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -90597,11 +90429,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" }, @@ -90668,7 +90500,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -90690,11 +90522,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" }, @@ -90761,7 +90593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -90783,11 +90615,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" }, @@ -90854,7 +90686,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -90876,11 +90708,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" }, @@ -90947,7 +90779,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-untyped" } } } @@ -113989,97 +113821,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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.", @@ -197393,6 +197134,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", @@ -198810,6 +198591,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", @@ -296276,90 +296097,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": [ { @@ -297318,90 +297055,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": [ { @@ -325297,15 +324950,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", @@ -325752,6 +325396,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 4e655d7e60..5b1141608b 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -4875,83 +4875,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 @@ -6310,85 +6233,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 @@ -14248,81 +14092,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 @@ -21605,85 +21374,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 @@ -34651,7 +34341,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: @@ -65565,6 +65255,72 @@ 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: |- @@ -65831,6 +65587,72 @@ 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: |- @@ -82657,90 +82479,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 - - 'null' - description: Breakdown of Copilot code completions usage by language and - editor - 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. @@ -143627,6 +143365,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 @@ -144673,6 +144439,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 @@ -218219,70 +218013,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 @@ -219040,70 +218770,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' @@ -243171,13 +242837,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 @@ -243551,6 +243210,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 27949c9017..b585292eb5 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -6827,93 +6827,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", @@ -8909,96 +8822,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", @@ -19644,93 +19467,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", @@ -29833,96 +29569,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", @@ -47674,7 +47320,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" ], @@ -89946,11 +89592,197 @@ } } }, - "issues-labeled": { + "issues-labeled": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/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 added to an issue.", + "operationId": "issues/labeled", + "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-labeled" + } + } + } + }, + "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-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": "A label was added to an issue.", - "operationId": "issues/labeled", + "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" }, @@ -90017,7 +89849,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -90039,11 +89871,11 @@ } } }, - "issues-locked": { + "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" }, @@ -90110,7 +89942,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -90132,11 +89964,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" }, @@ -90203,7 +90035,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -90225,11 +90057,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" }, @@ -90296,7 +90128,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -90318,11 +90150,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" }, @@ -90389,7 +90221,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -90411,11 +90243,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" }, @@ -90482,7 +90314,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -90504,11 +90336,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" }, @@ -90575,7 +90407,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -90597,11 +90429,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" }, @@ -90668,7 +90500,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -90690,11 +90522,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" }, @@ -90761,7 +90593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -90783,11 +90615,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" }, @@ -90854,7 +90686,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -90876,11 +90708,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" }, @@ -90947,7 +90779,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-untyped" } } } @@ -113989,97 +113821,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", - "null" - ], - "description": "Breakdown of Copilot code completions usage by language and editor", - "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.", @@ -197393,6 +197134,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", @@ -198810,6 +198591,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", @@ -296276,90 +296097,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": [ { @@ -297318,90 +297055,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": [ { @@ -325297,15 +324950,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", @@ -325752,6 +325396,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 4e655d7e60..5b1141608b 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -4875,83 +4875,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 @@ -6310,85 +6233,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 @@ -14248,81 +14092,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 @@ -21605,85 +21374,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 @@ -34651,7 +34341,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: @@ -65565,6 +65255,72 @@ 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: |- @@ -65831,6 +65587,72 @@ 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: |- @@ -82657,90 +82479,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 - - 'null' - description: Breakdown of Copilot code completions usage by language and - editor - 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. @@ -143627,6 +143365,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 @@ -144673,6 +144439,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 @@ -218219,70 +218013,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 @@ -219040,70 +218770,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' @@ -243171,13 +242837,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 @@ -243551,6 +243210,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-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index 1fc7a3db4d..32f6183176 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -251704,7 +251704,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-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index b9ff41ddd3..3d5580c907 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -53981,7 +53981,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-next/ghes-3.12/dereferenced/ghes-3.12.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json index 1fc7a3db4d..32f6183176 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json @@ -251704,7 +251704,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-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml index b9ff41ddd3..3d5580c907 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml @@ -53981,7 +53981,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-next/ghes-3.12/ghes-3.12.2022-11-28.json b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json index dcbdf09360..bc28bfa269 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json +++ b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json @@ -36636,7 +36636,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-next/ghes-3.12/ghes-3.12.2022-11-28.yaml b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml index cc790ce1a8..3c01de3712 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml +++ b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml @@ -26425,7 +26425,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-next/ghes-3.12/ghes-3.12.json b/descriptions-next/ghes-3.12/ghes-3.12.json index dcbdf09360..bc28bfa269 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.json +++ b/descriptions-next/ghes-3.12/ghes-3.12.json @@ -36636,7 +36636,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-next/ghes-3.12/ghes-3.12.yaml b/descriptions-next/ghes-3.12/ghes-3.12.yaml index cc790ce1a8..3c01de3712 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.yaml +++ b/descriptions-next/ghes-3.12/ghes-3.12.yaml @@ -26425,7 +26425,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-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json index f2e35a39a6..037c52b8d7 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json @@ -254271,7 +254271,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 {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}